Home
last modified time | relevance | path

Searched refs:cmeta (Results 1 – 9 of 9) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstbasetsmuxopus.c86 GstAudioClippingMeta *cmeta = gst_buffer_get_audio_clipping_meta (buf); in gst_base_ts_mux_prepare_opus() local
88 g_assert (!cmeta || cmeta->format == GST_FORMAT_DEFAULT); in gst_base_ts_mux_prepare_opus()
91 if (cmeta && cmeta->start) in gst_base_ts_mux_prepare_opus()
93 if (cmeta && cmeta->end) in gst_base_ts_mux_prepare_opus()
103 if (cmeta && cmeta->start) in gst_base_ts_mux_prepare_opus()
105 if (cmeta && cmeta->end) in gst_base_ts_mux_prepare_opus()
120 if (cmeta && cmeta->start) { in gst_base_ts_mux_prepare_opus()
121 GST_WRITE_UINT16_BE (&map.data[n], cmeta->start); in gst_base_ts_mux_prepare_opus()
125 if (cmeta && cmeta->end) in gst_base_ts_mux_prepare_opus()
126 GST_WRITE_UINT16_BE (&map.data[n], cmeta->end); in gst_base_ts_mux_prepare_opus()
/third_party/gstreamer/gstreamer/gst/
Dgstmeta.c154 GstCustomMetaImpl *cmeta = (GstCustomMetaImpl *) meta; in custom_init_func() local
156 cmeta->structure = gst_structure_new_empty (g_type_name (meta->info->type)); in custom_init_func()
158 gst_structure_set_parent_refcount (cmeta->structure, in custom_init_func()
167 GstCustomMetaImpl *cmeta = (GstCustomMetaImpl *) meta; in custom_free_func() local
169 gst_structure_set_parent_refcount (cmeta->structure, NULL); in custom_free_func()
170 gst_structure_free (cmeta->structure); in custom_free_func()
177 GstCustomMetaImpl *custom, *cmeta = (GstCustomMetaImpl *) meta; in custom_transform_func() local
189 gst_structure_copy (cmeta->structure)); in custom_transform_func()
/third_party/gstreamer/gstplugins_bad/ext/opus/
Dgstopusparse.c333 GstAudioClippingMeta *cmeta = in gst_opus_parse_parse_frame() local
338 g_assert (!cmeta || cmeta->format == GST_FORMAT_DEFAULT); in gst_opus_parse_parse_frame()
360 if (cmeta && cmeta->start) { in gst_opus_parse_parse_frame()
361 parse->pre_skip += cmeta->start; in gst_opus_parse_parse_frame()
368 if (duration == cmeta->start) { in gst_opus_parse_parse_frame()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dconvertframe.c116 GstVideoCropMeta * cmeta, const GstCaps * to_caps, GError ** err) in build_convert_frame_pipeline() argument
123 if (cmeta) { in build_convert_frame_pipeline()
158 g_object_set (vcrop, "left", cmeta->x, NULL); in build_convert_frame_pipeline()
159 g_object_set (vcrop, "top", cmeta->y, NULL); in build_convert_frame_pipeline()
160 g_object_set (vcrop, "right", GST_VIDEO_INFO_WIDTH (&info) - cmeta->width, in build_convert_frame_pipeline()
163 GST_VIDEO_INFO_HEIGHT (&info) - cmeta->height, NULL); in build_convert_frame_pipeline()
164 GST_DEBUG ("crop meta [x,y,width,height]: %d %d %d %d", cmeta->x, cmeta->y, in build_convert_frame_pipeline()
165 cmeta->width, cmeta->height); in build_convert_frame_pipeline()
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusdec.c508 GstAudioClippingMeta *cmeta = NULL; in opus_dec_chain_parse_data() local
739 cmeta = gst_buffer_get_audio_clipping_meta (buf); in opus_dec_chain_parse_data()
741 g_assert (!cmeta || cmeta->format == GST_FORMAT_DEFAULT); in opus_dec_chain_parse_data()
744 if (cmeta && cmeta->start) { in opus_dec_chain_parse_data()
745 guint pre_skip = cmeta->start; in opus_dec_chain_parse_data()
757 if (cmeta && cmeta->end) { in opus_dec_chain_parse_data()
758 guint post_skip = cmeta->end; in opus_dec_chain_parse_data()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiometa.c212 GstAudioClippingMeta *cmeta = (GstAudioClippingMeta *) meta; in gst_audio_clipping_meta_init() local
214 cmeta->format = GST_FORMAT_UNDEFINED; in gst_audio_clipping_meta_init()
215 cmeta->start = cmeta->end = 0; in gst_audio_clipping_meta_init()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoradec.c696 GstVideoCropMeta *cmeta; in theora_handle_image() local
714 cmeta = gst_buffer_add_video_crop_meta (frame->output_buffer); in theora_handle_image()
718 cmeta->x = dec->info.pic_x; in theora_handle_image()
719 cmeta->y = dec->info.pic_y; in theora_handle_image()
720 cmeta->width = dec->info.pic_width; in theora_handle_image()
721 cmeta->height = dec->info.pic_height; in theora_handle_image()
/third_party/gstreamer/gstplugins_base/ext/ogg/
Dgstoggmux.c867 GstAudioClippingMeta *cmeta = gst_buffer_get_audio_clipping_meta (buf); in gst_ogg_mux_decorate_buffer() local
869 g_assert (!cmeta || cmeta->format == GST_FORMAT_DEFAULT); in gst_ogg_mux_decorate_buffer()
870 if (cmeta && cmeta->end && cmeta->end < duration) { in gst_ogg_mux_decorate_buffer()
872 "Clipping %" G_GUINT64_FORMAT " samples at the end", cmeta->end); in gst_ogg_mux_decorate_buffer()
873 duration -= cmeta->end; in gst_ogg_mux_decorate_buffer()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c3987 GstAudioClippingMeta *cmeta = NULL; in gst_matroska_mux_write_data() local
4211 cmeta = gst_buffer_get_audio_clipping_meta (buf); in gst_matroska_mux_write_data()
4212 g_assert (!cmeta || cmeta->format == GST_FORMAT_DEFAULT); in gst_matroska_mux_write_data()
4215 if (cmeta && !cmeta->end) in gst_matroska_mux_write_data()
4216 cmeta = NULL; in gst_matroska_mux_write_data()
4219 if (mux->doctype_version > 1 && !write_duration && !cmeta) { in gst_matroska_mux_write_data()
4246 && cmeta) { in gst_matroska_mux_write_data()
4248 if (cmeta->end) { in gst_matroska_mux_write_data()
4250 gst_util_uint64_scale_round (cmeta->end, GST_SECOND, 48000); in gst_matroska_mux_write_data()