Lines Matching defs:ptr
132 static void mov_text_parse_style_record(StyleBox *style, const uint8_t **ptr)
135 style->font_id = bytestream_get_be16(ptr);
137 style->flags = bytestream_get_byte(ptr);
142 style->fontsize = bytestream_get_byte(ptr);
144 style->color = bytestream_get_be24(ptr);
146 style->alpha = bytestream_get_byte(ptr);
481 const char *ptr = avpkt->data, *end;
485 if (!ptr || avpkt->size < 2)
496 return AV_RB16(ptr) == 0 ? 0 : AVERROR_INVALIDDATA;
503 text_length = AV_RB16(ptr);
504 end = ptr + FFMIN(2 + text_length, avpkt->size);
505 ptr += 2;
551 text_to_ass(&buf, ptr, end, avctx);
554 text_to_ass(&buf, ptr, end, avctx);