Go to the source code of this file.
|  | 
| static void | mov_text_cleanup (MovTextContext *m) | 
|  | 
| static void | mov_text_cleanup_ftab (MovTextContext *m) | 
|  | 
| static void | mov_text_parse_style_record (StyleBox *style, const uint8_t **ptr) | 
|  | 
| static int | mov_text_tx3g (AVCodecContext *avctx, MovTextContext *m) | 
|  | 
| static int | decode_twrp (const uint8_t *tsmb, MovTextContext *m, uint64_t size) | 
|  | 
| static int | decode_hlit (const uint8_t *tsmb, MovTextContext *m, uint64_t size) | 
|  | 
| static int | decode_hclr (const uint8_t *tsmb, MovTextContext *m, uint64_t size) | 
|  | 
| static int | styles_equivalent (const StyleBox *a, const StyleBox *b) | 
|  | 
| static int | decode_styl (const uint8_t *tsmb, MovTextContext *m, uint64_t size) | 
|  | 
| static int | get_utf8_length_at (const char *text, const char *text_end) | 
|  | 
| static int | text_to_ass (AVBPrint *buf, const char *text, const char *text_end, AVCodecContext *avctx) | 
|  | 
| static int | mov_text_init (AVCodecContext *avctx) | 
|  | 
| static int | mov_text_decode_frame (AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt) | 
|  | 
| static int | mov_text_decode_close (AVCodecContext *avctx) | 
|  | 
| static void | mov_text_flush (AVCodecContext *avctx) | 
|  | 
◆ STYLE_FLAG_BOLD
      
        
          | #define STYLE_FLAG_BOLD   (1<<0) | 
      
 
 
◆ STYLE_FLAG_ITALIC
      
        
          | #define STYLE_FLAG_ITALIC   (1<<1) | 
      
 
 
◆ STYLE_FLAG_UNDERLINE
      
        
          | #define STYLE_FLAG_UNDERLINE   (1<<2) | 
      
 
 
◆ BOX_SIZE_INITIAL
      
        
          | #define BOX_SIZE_INITIAL   40 | 
      
 
 
◆ STYL_BOX
◆ HLIT_BOX
◆ HCLR_BOX
◆ TWRP_BOX
◆ BOTTOM_LEFT
◆ BOTTOM_CENTER
◆ BOTTOM_RIGHT
◆ MIDDLE_LEFT
◆ MIDDLE_CENTER
◆ MIDDLE_RIGHT
◆ TOP_LEFT
◆ TOP_CENTER
◆ TOP_RIGHT
◆ RGB_TO_BGR
      
        
          | #define RGB_TO_BGR | ( |  | c | ) | (((c) & 0xff) << 16 | ((c) & 0xff00) | (((c) >> 16) & 0xff)) | 
      
 
 
◆ CMP
◆ OFFSET
◆ FLAGS
◆ mov_text_cleanup()
◆ mov_text_cleanup_ftab()
◆ mov_text_parse_style_record()
  
  | 
        
          | static void mov_text_parse_style_record | ( | StyleBox * | style, |  
          |  |  | const uint8_t ** | ptr |  
          |  | ) |  |  |  | static | 
 
 
◆ mov_text_tx3g()
◆ decode_twrp()
  
  | 
        
          | static int decode_twrp | ( | const uint8_t * | tsmb, |  
          |  |  | MovTextContext * | m, |  
          |  |  | uint64_t | size |  
          |  | ) |  |  |  | static | 
 
 
◆ decode_hlit()
  
  | 
        
          | static int decode_hlit | ( | const uint8_t * | tsmb, |  
          |  |  | MovTextContext * | m, |  
          |  |  | uint64_t | size |  
          |  | ) |  |  |  | static | 
 
 
◆ decode_hclr()
  
  | 
        
          | static int decode_hclr | ( | const uint8_t * | tsmb, |  
          |  |  | MovTextContext * | m, |  
          |  |  | uint64_t | size |  
          |  | ) |  |  |  | static | 
 
 
◆ styles_equivalent()
◆ decode_styl()
  
  | 
        
          | static int decode_styl | ( | const uint8_t * | tsmb, |  
          |  |  | MovTextContext * | m, |  
          |  |  | uint64_t | size |  
          |  | ) |  |  |  | static | 
 
 
◆ get_utf8_length_at()
  
  | 
        
          | static int get_utf8_length_at | ( | const char * | text, |  
          |  |  | const char * | text_end |  
          |  | ) |  |  |  | static | 
 
 
◆ text_to_ass()
  
  | 
        
          | static int text_to_ass | ( | AVBPrint * | buf, |  
          |  |  | const char * | text, |  
          |  |  | const char * | text_end, |  
          |  |  | AVCodecContext * | avctx |  
          |  | ) |  |  |  | static | 
 
 
◆ mov_text_init()
◆ mov_text_decode_frame()
◆ mov_text_decode_close()
◆ mov_text_flush()
◆ box_types
◆ box_count
◆ options
◆ mov_text_decoder_class
  
  | 
        
          | const AVClass mov_text_decoder_class |  | static | 
 
Initial value:= {
    .class_name = "MOV text decoder",
}
Definition at line 587 of file movtextdec.c.
 
 
◆ ff_movtext_decoder
Initial value:= {
    .p.name       = "mov_text",
}
Definition at line 594 of file movtextdec.c.
 
 
 
static const AVOption options[]
static int mov_text_init(AVCodecContext *avctx)
static void mov_text_flush(AVCodecContext *avctx)
static const AVClass mov_text_decoder_class
static int decode_hclr(const uint8_t *tsmb, MovTextContext *m, uint64_t size)
static int decode_styl(const uint8_t *tsmb, MovTextContext *m, uint64_t size)
static int decode_hlit(const uint8_t *tsmb, MovTextContext *m, uint64_t size)
static int decode_twrp(const uint8_t *tsmb, MovTextContext *m, uint64_t size)
static int mov_text_decode_close(AVCodecContext *avctx)
static int mov_text_decode_frame(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const AVPacket *avpkt)