Go to the source code of this file.
 | 
| static void  | av_bprint_utf8 (AVBPrint *bp, unsigned c) | 
|   | 
| static void  | next_byte (AVIOContext *pb, int *cur_byte) | 
|   | 
| static void  | skip_spaces (AVIOContext *pb, int *cur_byte) | 
|   | 
| static int  | expect_byte (AVIOContext *pb, int *cur_byte, uint8_t c) | 
|   | 
| static int  | parse_string (AVIOContext *pb, int *cur_byte, AVBPrint *bp, int full) | 
|   | 
| static int  | parse_label (AVIOContext *pb, int *cur_byte, AVBPrint *bp) | 
|   | 
| static int  | parse_boolean (AVIOContext *pb, int *cur_byte, int *result) | 
|   | 
| static int  | parse_int (AVIOContext *pb, int *cur_byte, int64_t *result) | 
|   | 
| static int  | parse_file (AVIOContext *pb, FFDemuxSubtitlesQueue *subs) | 
|   | 
| static av_cold int  | tedcaptions_read_header (AVFormatContext *avf) | 
|   | 
| static int  | tedcaptions_read_packet (AVFormatContext *avf, AVPacket *packet) | 
|   | 
| static int  | tedcaptions_read_close (AVFormatContext *avf) | 
|   | 
| static av_cold int  | tedcaptions_read_probe (AVProbeData *p) | 
|   | 
| static int  | tedcaptions_read_seek (AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
|   | 
      
        
          | #define BETWEEN | 
          ( | 
            | 
          a,  | 
        
        
           | 
           | 
            | 
          amin,  | 
        
        
           | 
           | 
            | 
          amax  | 
        
        
           | 
          ) | 
           |    ((unsigned)((a) - (amin)) <= (amax) - (amin)) | 
        
      
 
 
      
        
          | #define HEX_DIGIT_VAL | 
          ( | 
            | 
          c | ) | 
             ((c) <= '9' ? (c) - '0' : ((c) | 32) - 'a' + 10) | 
        
      
 
 
  
  
      
        
          | static void av_bprint_utf8  | 
          ( | 
          AVBPrint *  | 
          bp,  | 
         
        
           | 
           | 
          unsigned  | 
          c  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static int tedcaptions_read_seek  | 
          ( | 
          AVFormatContext *  | 
          avf,  | 
         
        
           | 
           | 
          int  | 
          stream_index,  | 
         
        
           | 
           | 
          int64_t  | 
          min_ts,  | 
         
        
           | 
           | 
          int64_t  | 
          ts,  | 
         
        
           | 
           | 
          int64_t  | 
          max_ts,  | 
         
        
           | 
           | 
          int  | 
          flags  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
Initial value:= {
    { "start_time", "set the start time (offset) of the subtitles, in ms",
      { .i64 = 15000 }, INT64_MIN, INT64_MAX,
}
#define AV_OPT_FLAG_SUBTITLE_PARAM
 
#define AV_OPT_FLAG_DECODING_PARAM
a generic parameter which can be set by the user for demuxing or decoding 
 
 
Definition at line 35 of file tedcaptionsdec.c.
 
 
  
  
      
        
          | const AVClass tedcaptions_demuxer_class | 
         
       
   | 
  
static   | 
  
 
Initial value:= {
    .class_name = "tedcaptions_demuxer",
}
#define LIBAVUTIL_VERSION_INT
 
static const AVOption tedcaptions_options[]
 
 
Definition at line 43 of file tedcaptionsdec.c.
 
 
Initial value:= {
    .name           = "tedcaptions",
}
static int tedcaptions_read_seek(AVFormatContext *avf, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
 
static const AVClass tedcaptions_demuxer_class
 
static int tedcaptions_read_packet(AVFormatContext *avf, AVPacket *packet)
 
static av_cold int read_close(AVFormatContext *ctx)
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
static int tedcaptions_read_close(AVFormatContext *avf)
 
static av_cold int tedcaptions_read_header(AVFormatContext *avf)
 
static int read_header(FFV1Context *f)
 
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
 
static av_cold int tedcaptions_read_probe(AVProbeData *p)
 
 
Definition at line 356 of file tedcaptionsdec.c.