Searched refs:cc_meta (Results 1 – 7 of 7) sorted by relevance
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/ |
D | gstline21enc.c | 434 GstVideoCaptionMeta *cc_meta; in gst_line_21_encoder_transform_ip() local 452 while ((cc_meta = (GstVideoCaptionMeta *) in gst_line_21_encoder_transform_ip() 455 guint n = cc_meta->size; in gst_line_21_encoder_transform_ip() 458 if (cc_meta->caption_type == GST_VIDEO_CAPTION_TYPE_CEA708_CDP) { in gst_line_21_encoder_transform_ip() 467 convert_cea708_cdp_cea708_cc_data_internal (self, cc_meta->data, in gst_line_21_encoder_transform_ip() 468 cc_meta->size, cc_data); in gst_line_21_encoder_transform_ip() 486 } else if (cc_meta->caption_type == GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A) { in gst_line_21_encoder_transform_ip() 500 if (cc_meta->data[i * 3] & 0x80) { in gst_line_21_encoder_transform_ip() 501 sliced[0].data[0] = cc_meta->data[i * 3 + 1]; in gst_line_21_encoder_transform_ip() 502 sliced[0].data[1] = cc_meta->data[i * 3 + 2]; in gst_line_21_encoder_transform_ip() [all …]
|
D | gstccextractor.c | 426 GstVideoCaptionMeta *cc_meta; in gst_cc_extractor_chain() local 433 while ((cc_meta = in gst_cc_extractor_chain() 437 flow = gst_cc_extractor_handle_meta (filter, buf, cc_meta, tc_meta); in gst_cc_extractor_chain()
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkh264enc.c | 157 GstVideoCaptionMeta *cc_meta; in gst_msdkh264enc_add_cc() local 165 while ((cc_meta = in gst_msdkh264enc_add_cc() 172 if (cc_meta->caption_type != GST_VIDEO_CAPTION_TYPE_CEA708_RAW) in gst_msdkh264enc_add_cc() 180 rud->size = cc_meta->size + 10; in gst_msdkh264enc_add_cc() 183 memcpy (data + 9, cc_meta->data, cc_meta->size); in gst_msdkh264enc_add_cc() 198 data[7] = ((cc_meta->size / 3) & 0x1f) | 0x40; in gst_msdkh264enc_add_cc() 200 data[cc_meta->size + 9] = 255; /* 8 marker bits */ in gst_msdkh264enc_add_cc()
|
D | gstmsdkh265enc.c | 176 GstVideoCaptionMeta *cc_meta; in gst_msdkh265enc_add_cc() local 184 while ((cc_meta = in gst_msdkh265enc_add_cc() 191 if (cc_meta->caption_type != GST_VIDEO_CAPTION_TYPE_CEA708_RAW) in gst_msdkh265enc_add_cc() 199 rud->size = cc_meta->size + 10; in gst_msdkh265enc_add_cc() 202 memcpy (data + 9, cc_meta->data, cc_meta->size); in gst_msdkh265enc_add_cc() 217 data[7] = ((cc_meta->size / 3) & 0x1f) | 0x40; in gst_msdkh265enc_add_cc() 219 data[cc_meta->size + 9] = 255; /* 8 marker bits */ in gst_msdkh265enc_add_cc()
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkvideosink.cpp | 934 GstVideoCaptionMeta *cc_meta; in write_vbi() local 948 while ((cc_meta = in write_vbi() 951 switch (cc_meta->caption_type) { in write_vbi() 956 n = cc_meta->size / 2; in write_vbi() 957 if (cc_meta->size > 46) { in write_vbi() 971 data[3 * i + 1] = cc_meta->data[2 * i]; in write_vbi() 972 data[3 * i + 2] = cc_meta->data[2 * i + 1]; in write_vbi() 989 GST_VIDEO_ANCILLARY_DID16_S334_EIA_608 & 0xff, cc_meta->data, in write_vbi() 990 cc_meta->size)) in write_vbi() 1001 n = cc_meta->size / 3; in write_vbi() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/ |
D | gstdeinterlace.c | 1201 GstVideoCaptionMeta *cc_meta = gst_buffer_get_video_caption_meta (buffer); in gst_deinterlace_push_history() local 1219 if (cc_meta) { in gst_deinterlace_push_history() 1221 self->field_history[0].caption->data = g_malloc (cc_meta->size); in gst_deinterlace_push_history() 1222 self->field_history[0].caption->caption_type = cc_meta->caption_type; in gst_deinterlace_push_history() 1223 self->field_history[0].caption->size = cc_meta->size; in gst_deinterlace_push_history() 1224 memcpy (self->field_history[0].caption->data, cc_meta->data, in gst_deinterlace_push_history() 1225 cc_meta->size); in gst_deinterlace_push_history() 1227 self->field_history[1].caption->data = g_malloc (cc_meta->size); in gst_deinterlace_push_history() 1228 self->field_history[1].caption->caption_type = cc_meta->caption_type; in gst_deinterlace_push_history() 1229 self->field_history[1].caption->size = cc_meta->size; in gst_deinterlace_push_history() [all …]
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavvidenc.c | 535 GstVideoCaptionMeta *cc_meta; in gst_ffmpegvidenc_add_cc() local 538 while ((cc_meta = in gst_ffmpegvidenc_add_cc() 543 if (cc_meta->caption_type != GST_VIDEO_CAPTION_TYPE_CEA708_RAW) in gst_ffmpegvidenc_add_cc() 546 sd = av_frame_new_side_data (picture, AV_FRAME_DATA_A53_CC, cc_meta->size); in gst_ffmpegvidenc_add_cc() 547 memcpy (sd->data, cc_meta->data, cc_meta->size); in gst_ffmpegvidenc_add_cc()
|