JACOsub subtitle demuxer.  
More...
Go to the source code of this file.
 | 
| static int  | timed_line (const char *ptr) | 
|   | 
| static int  | jacosub_probe (AVProbeData *p) | 
|   | 
| static int  | get_jss_cmd (char k) | 
|   | 
| static int  | jacosub_read_close (AVFormatContext *s) | 
|   | 
| static const char *  | read_ts (JACOsubContext *jacosub, const char *buf, int64_t *start, int64_t *duration) | 
|   | 
| static int  | get_shift (int timeres, const char *buf) | 
|   | 
| static int  | jacosub_read_header (AVFormatContext *s) | 
|   | 
| static int  | jacosub_read_packet (AVFormatContext *s, AVPacket *pkt) | 
|   | 
| static int  | jacosub_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | 
|   | 
JACOsub subtitle demuxer. 
- See Also
 - http://unicorn.us.com/jacosub/jscripts.html 
 
- Todo:
 - Support P[ALETTE] directive. 
 
Definition in file jacosubdec.c.
 
  
  
      
        
          | static int timed_line  | 
          ( | 
          const char *  | 
          ptr | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static int get_jss_cmd  | 
          ( | 
          char  | 
          k | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static const char* read_ts  | 
          ( | 
          JACOsubContext *  | 
          jacosub,  | 
         
        
           | 
           | 
          const char *  | 
          buf,  | 
         
        
           | 
           | 
          int64_t *  | 
          start,  | 
         
        
           | 
           | 
          int64_t *  | 
          duration  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static int get_shift  | 
          ( | 
          int  | 
          timeres,  | 
         
        
           | 
           | 
          const char *  | 
          buf  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static int jacosub_read_seek  | 
          ( | 
          AVFormatContext *  | 
          s,  | 
         
        
           | 
           | 
          int  | 
          stream_index,  | 
         
        
           | 
           | 
          int64_t  | 
          min_ts,  | 
         
        
           | 
           | 
          int64_t  | 
          ts,  | 
         
        
           | 
           | 
          int64_t  | 
          max_ts,  | 
         
        
           | 
           | 
          int  | 
          flags  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
Initial value:= {
    "CLOCKPAUSE",
    "DIRECTIVE",
    "FONT",
    "HRES",
    "INCLUDE",
    "PALETTE",
    "QUANTIZE",
    "RAMP",
    "SHIFT",
    "TIMERES",
}
 
Definition at line 72 of file jacosubdec.c.
Referenced by decode_byterun2(), get_jss_cmd(), and jacosub_read_header().
 
 
Initial value:= {
    .name           = "jacosub",
}
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 read_header(FFV1Context *f)
 
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
 
 
Definition at line 265 of file jacosubdec.c.