Searched refs:clut_id (Results 1 – 4 of 4) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | dvbsubenc.c | 276 int page_id, region_id, clut_id, object_id, i, bpp_index, page_state; in dvbsub_encode() local 327 for (clut_id = 0; clut_id < h->num_rects; clut_id++) { in dvbsub_encode() 328 if (buf_size < 6 + h->rects[clut_id]->nb_colors * 6) in dvbsub_encode() 333 if (h->rects[clut_id]->nb_colors <= 4) { in dvbsub_encode() 336 } else if (h->rects[clut_id]->nb_colors <= 16) { in dvbsub_encode() 339 } else if (h->rects[clut_id]->nb_colors <= 256) { in dvbsub_encode() 353 *q++ = clut_id; in dvbsub_encode() 356 for(i = 0; i < h->rects[clut_id]->nb_colors; i++) { in dvbsub_encode() 361 uint32_t x= ((uint32_t*)h->rects[clut_id]->data[1])[i]; in dvbsub_encode() 375 buf_size -= 6 + h->rects[clut_id]->nb_colors * 6; in dvbsub_encode()
|
D | dvbsubdec.c | 153 static DVBSubCLUT* get_clut(DVBSubContext *ctx, int clut_id) in get_clut() argument 157 while (ptr && ptr->id != clut_id) { in get_clut() 1055 int i, clut_id; in dvbsub_parse_clut_segment() local 1073 clut_id = *buf++; in dvbsub_parse_clut_segment() 1077 clut = get_clut(ctx, clut_id); in dvbsub_parse_clut_segment() 1086 clut->id = clut_id; in dvbsub_parse_clut_segment()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/ |
D | dvb-sub.c | 200 get_clut (DvbSub * dvb_sub, gint clut_id) in get_clut() argument 204 while (ptr && ptr->id != clut_id) { in get_clut() 569 guint8 clut_id; in _dvb_sub_parse_clut_segment() local 576 clut_id = *buf++; in _dvb_sub_parse_clut_segment() 579 clut = get_clut (dvb_sub, clut_id); in _dvb_sub_parse_clut_segment() 586 clut->id = clut_id; in _dvb_sub_parse_clut_segment()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/ |
D | gstdvbsubenc-util.c | 625 int clut_id, SubpictureRect * s) in dvbenc_write_clut() argument 643 gst_byte_writer_put_uint8 (b, clut_id); in dvbenc_write_clut()
|