|
FFmpegfs Fuse Multi Media Filesystem 2.16
|
The FFmpeg_Subtitle class. More...
#include <ffmpeg_subtitle.h>


Public Member Functions | |
| FFmpeg_Subtitle (int stream_index=INVALID_STREAM) | |
| Construct FFmpeg_Subtitle object. More... | |
| virtual | ~FFmpeg_Subtitle ()=default |
| Destruct FFmpeg_Subtitle object. | |
| int | res () const |
| Get result of last operation. More... | |
| void | unref () noexcept |
| Unreference underlying frame. Synonym for shared_ptr::reset(). More... | |
| operator AVSubtitle * () | |
| operator AVSubtitle *: Do as if we were a pointer to AVSubtitle More... | |
| operator const AVSubtitle * () const | |
| operator const AVSubtitle *: Do as if we were a const pointer to AVSubtitle More... | |
| AVSubtitle * | operator-> () |
| operator ->: Do as if we were a pointer to AVSubtitle More... | |
Public Attributes | |
| int | m_stream_idx |
| Stream index frame belongs to, or -1 (INVALID_STREAM) More... | |
Protected Member Functions | |
| AVSubtitle * | alloc_subtitle () |
| Allocate a subtitle. More... | |
Static Protected Member Functions | |
| static void | delete_subtitle (AVSubtitle *subtitle) |
| Delete a subtitle. More... | |
Protected Attributes | |
| int | m_res |
| 0 if last operation was successful, or negative AVERROR value More... | |
The FFmpeg_Subtitle class.
Definition at line 46 of file ffmpeg_subtitle.h.
|
explicit |
Construct FFmpeg_Subtitle object.
| [in] | stream_index | - Index of stream |
Definition at line 47 of file ffmpeg_subtitle.cc.
References m_res.
|
protected |
Allocate a subtitle.
Definition at line 80 of file ffmpeg_subtitle.cc.
|
staticprotected |
Delete a subtitle.
| [in] | subtitle | - AVSubtitle structure to delete/free. |
Definition at line 85 of file ffmpeg_subtitle.cc.
| FFmpeg_Subtitle::operator AVSubtitle * | ( | ) |
operator AVSubtitle *: Do as if we were a pointer to AVSubtitle
Definition at line 65 of file ffmpeg_subtitle.cc.
| FFmpeg_Subtitle::operator const AVSubtitle * | ( | ) | const |
operator const AVSubtitle *: Do as if we were a const pointer to AVSubtitle
Definition at line 70 of file ffmpeg_subtitle.cc.
| AVSubtitle * FFmpeg_Subtitle::operator-> | ( | ) |
operator ->: Do as if we were a pointer to AVSubtitle
Definition at line 75 of file ffmpeg_subtitle.cc.
| int FFmpeg_Subtitle::res | ( | ) | const |
Get result of last operation.
Definition at line 60 of file ffmpeg_subtitle.cc.
References m_res.
Referenced by FFmpeg_Transcoder::decode_subtitle().
|
noexcept |
Unreference underlying frame. Synonym for shared_ptr::reset().
Definition at line 55 of file ffmpeg_subtitle.cc.
|
protected |
0 if last operation was successful, or negative AVERROR value
Definition at line 95 of file ffmpeg_subtitle.h.
Referenced by FFmpeg_Subtitle(), and res().
| int FFmpeg_Subtitle::m_stream_idx |
Stream index frame belongs to, or -1 (INVALID_STREAM)
Definition at line 98 of file ffmpeg_subtitle.h.
Referenced by FFmpeg_Transcoder::process_single_fr().