Lines Matching refs:tsmb
120 int (*decode)(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt);
243 static int decode_twrp(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt) in decode_twrp() argument
246 m->w.wrap_flag = bytestream_get_byte(&tsmb); in decode_twrp()
250 static int decode_hlit(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt) in decode_hlit() argument
253 m->h.hlit_start = bytestream_get_be16(&tsmb); in decode_hlit()
254 m->h.hlit_end = bytestream_get_be16(&tsmb); in decode_hlit()
258 static int decode_hclr(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt) in decode_hclr() argument
261 bytestream_get_buffer(&tsmb, m->c.hlit_color, 4); in decode_hclr()
265 static int decode_styl(const uint8_t *tsmb, MovTextContext *m, const AVPacket *avpkt) in decode_styl() argument
268 int style_entries = bytestream_get_be16(&tsmb); in decode_styl()
285 style->style_start = bytestream_get_be16(&tsmb); in decode_styl()
286 style->style_end = bytestream_get_be16(&tsmb); in decode_styl()
294 tsmb += 8; in decode_styl()
300 style->style_fontID = bytestream_get_be16(&tsmb); in decode_styl()
301 style->style_flag = bytestream_get_byte(&tsmb); in decode_styl()
305 style->fontsize = bytestream_get_byte(&tsmb); in decode_styl()
306 style->color = bytestream_get_be24(&tsmb); in decode_styl()
307 style->alpha = bytestream_get_byte(&tsmb); in decode_styl()
471 const uint8_t *tsmb; in mov_text_decode_frame() local
507 tsmb = ptr + m->tracksize - 2; in mov_text_decode_frame()
508 tsmb_size = AV_RB32(tsmb); in mov_text_decode_frame()
509 tsmb += 4; in mov_text_decode_frame()
510 tsmb_type = AV_RB32(tsmb); in mov_text_decode_frame()
511 tsmb += 4; in mov_text_decode_frame()
516 tsmb_size = AV_RB64(tsmb); in mov_text_decode_frame()
517 tsmb += 8; in mov_text_decode_frame()
535 ret_tsmb = box_types[i].decode(tsmb, m, avpkt); in mov_text_decode_frame()