Home
last modified time | relevance | path

Searched refs:output_state (Results 1 – 25 of 65) sorted by relevance

123

/third_party/gstreamer/gstplugins_bad/ext/rsvg/
Dgstrsvgdec.c163 GstVideoCodecState *output_state; in gst_rsvg_decode_image() local
180 output_state = gst_video_decoder_get_output_state (decoder); in gst_rsvg_decode_image()
181 if ((output_state == NULL) in gst_rsvg_decode_image()
182 || GST_VIDEO_INFO_WIDTH (&output_state->info) != dimension.width in gst_rsvg_decode_image()
183 || GST_VIDEO_INFO_HEIGHT (&output_state->info) != dimension.height) { in gst_rsvg_decode_image()
186 if (output_state) in gst_rsvg_decode_image()
187 gst_video_codec_state_unref (output_state); in gst_rsvg_decode_image()
188 output_state = in gst_rsvg_decode_image()
197 gst_video_codec_state_unref (output_state); in gst_rsvg_decode_image()
204 GST_VIDEO_INFO_HEIGHT (&output_state->info), in gst_rsvg_decode_image()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/aom/
Dgstav1dec.c176 av1dec->output_state = NULL; in gst_av1_dec_start()
187 if (av1dec->output_state) { in gst_av1_dec_stop()
188 gst_video_codec_state_unref (av1dec->output_state); in gst_av1_dec_stop()
189 av1dec->output_state = NULL; in gst_av1_dec_stop()
215 if (av1dec->output_state) { in gst_av1_dec_set_format()
216 gst_video_codec_state_unref (av1dec->output_state); in gst_av1_dec_set_format()
217 av1dec->output_state = NULL; in gst_av1_dec_set_format()
234 if (av1dec->output_state) { in gst_av1_dec_flush()
235 gst_video_codec_state_unref (av1dec->output_state); in gst_av1_dec_flush()
236 av1dec->output_state = NULL; in gst_av1_dec_flush()
[all …]
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvp8dec.c127 g_assert (dec->output_state == NULL); in gst_vp8_dec_set_default_format()
128 dec->output_state = in gst_vp8_dec_set_default_format()
142 info = &dec->output_state->info; in gst_vp8_dec_handle_resolution_change()
152 GST_VIDEO_FORMAT_I420, img->d_w, img->d_h, dec->output_state); in gst_vp8_dec_handle_resolution_change()
153 if (dec->output_state) { in gst_vp8_dec_handle_resolution_change()
154 gst_video_codec_state_unref (dec->output_state); in gst_vp8_dec_handle_resolution_change()
156 dec->output_state = new_output_state; in gst_vp8_dec_handle_resolution_change()
Dgstvp9dec.c214 if (!dec->output_state || dec->output_state->info.finfo->format != fmt || in gst_vp9_dec_handle_resolution_change()
215 dec->output_state->info.width != img->d_w || in gst_vp9_dec_handle_resolution_change()
216 dec->output_state->info.height != img->d_h) { in gst_vp9_dec_handle_resolution_change()
217 gboolean send_tags = !dec->output_state; in gst_vp9_dec_handle_resolution_change()
219 if (dec->output_state) in gst_vp9_dec_handle_resolution_change()
220 gst_video_codec_state_unref (dec->output_state); in gst_vp9_dec_handle_resolution_change()
222 dec->output_state = in gst_vp9_dec_handle_resolution_change()
Dgstvpxdec.c301 if (gst_vpx_dec->output_state) { in gst_vpx_dec_stop()
302 gst_video_codec_state_unref (gst_vpx_dec->output_state); in gst_vpx_dec_stop()
303 gst_vpx_dec->output_state = NULL; in gst_vpx_dec_stop()
336 if (gst_vpx_dec->output_state) { in gst_vpx_dec_set_format()
337 gst_video_codec_state_unref (gst_vpx_dec->output_state); in gst_vpx_dec_set_format()
338 gst_vpx_dec->output_state = NULL; in gst_vpx_dec_set_format()
359 if (decoder->output_state) { in gst_vpx_dec_flush()
360 gst_video_codec_state_unref (decoder->output_state); in gst_vpx_dec_flush()
361 decoder->output_state = NULL; in gst_vpx_dec_flush()
401 GstVideoInfo *info = &dec->output_state->info; in gst_vpx_dec_prepare_image()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openexr/
Dgstopenexrdec.cpp177 if (self->output_state) { in gst_openexr_dec_stop()
178 gst_video_codec_state_unref (self->output_state); in gst_openexr_dec_stop()
179 self->output_state = NULL; in gst_openexr_dec_stop()
291 if (!self->output_state || in gst_openexr_dec_negotiate()
292 self->output_state->info.finfo->format != format || in gst_openexr_dec_negotiate()
293 self->output_state->info.width != width || in gst_openexr_dec_negotiate()
294 self->output_state->info.height != height) { in gst_openexr_dec_negotiate()
295 if (self->output_state) in gst_openexr_dec_negotiate()
296 gst_video_codec_state_unref (self->output_state); in gst_openexr_dec_negotiate()
297 self->output_state = in gst_openexr_dec_negotiate()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkdec.c219 GstVideoCodecState *output_state = NULL; in get_surface() local
246 output_state = in get_surface()
249 gst_video_frame_map (&i->data, &output_state->info, buffer, in get_surface()
251 gst_video_codec_state_unref (output_state); in get_surface()
527 GstVideoCodecState *output_state; in gst_msdkdec_set_src_caps() local
554 output_state = in gst_msdkdec_set_src_caps()
557 if (!output_state) in gst_msdkdec_set_src_caps()
570 vinfo = &output_state->info; in gst_msdkdec_set_src_caps()
573 output_state->caps = gst_video_info_to_caps (vinfo); in gst_msdkdec_set_src_caps()
575 gst_caps_set_features (output_state->caps, 0, in gst_msdkdec_set_src_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpdec.c233 if (webpdec->output_state) { in gst_webp_dec_stop()
234 gst_video_codec_state_unref (webpdec->output_state); in gst_webp_dec_stop()
235 webpdec->output_state = NULL; in gst_webp_dec_stop()
399 if (dec->output_state) { in gst_webp_dec_update_src_caps()
400 GstVideoInfo *info = &dec->output_state->info; in gst_webp_dec_update_src_caps()
407 gst_video_codec_state_unref (dec->output_state); in gst_webp_dec_update_src_caps()
410 dec->output_state = in gst_webp_dec_update_src_caps()
449 if (!gst_video_frame_map (&vframe, &webpdec->output_state->info, in gst_webp_dec_handle_frame()
Dgstwebpenc.c184 GstVideoCodecState *output_state; in gst_webp_enc_set_format() local
211 output_state = in gst_webp_enc_set_format()
214 gst_video_codec_state_unref (output_state); in gst_webp_enc_set_format()
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtdec.c263 GstVideoCodecState *output_state; in setup_texture_cache() local
266 output_state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (vtdec)); in setup_texture_cache()
268 output_state->caps); in setup_texture_cache()
269 gst_video_codec_state_unref (output_state); in setup_texture_cache()
316 GstVideoCodecState *output_state = NULL; in gst_vtdec_negotiate() local
331 output_state = gst_video_decoder_get_output_state (GST_VIDEO_DECODER (vtdec)); in gst_vtdec_negotiate()
332 if (output_state) { in gst_vtdec_negotiate()
333 prevcaps = gst_caps_ref (output_state->caps); in gst_vtdec_negotiate()
334 gst_video_codec_state_unref (output_state); in gst_vtdec_negotiate()
385 output_state = gst_video_decoder_set_output_state (GST_VIDEO_DECODER (vtdec), in gst_vtdec_negotiate()
[all …]
/third_party/gstreamer/gstplugins_good/ext/libpng/
Dgstpngdec.c194 if (!gst_video_frame_map (&frame, &pngdec->output_state->info, buffer, in user_endrow_callback()
337 if (pngdec->output_state) { in gst_pngdec_caps_create_and_set()
338 GstVideoInfo *info = &pngdec->output_state->info; in gst_pngdec_caps_create_and_set()
345 gst_video_codec_state_unref (pngdec->output_state); in gst_pngdec_caps_create_and_set()
394 pngdec->output_state = in gst_pngdec_caps_create_and_set()
398 GST_DEBUG ("Final %d %d", GST_VIDEO_INFO_WIDTH (&pngdec->output_state->info), in gst_pngdec_caps_create_and_set()
399 GST_VIDEO_INFO_HEIGHT (&pngdec->output_state->info)); in gst_pngdec_caps_create_and_set()
695 if (pngdec->output_state) { in gst_pngdec_stop()
696 gst_video_codec_state_unref (pngdec->output_state); in gst_pngdec_stop()
697 pngdec->output_state = NULL; in gst_pngdec_stop()
Dgstpngenc.c158 GstVideoCodecState *output_state; in gst_pngenc_set_format() local
192 output_state = in gst_pngenc_set_format()
195 gst_video_codec_state_unref (output_state); in gst_pngenc_set_format()
/third_party/gstreamer/gstplugins_bad/ext/libde265/
Dlibde265-dec.c140 dec->output_state = NULL; in _gst_libde265_dec_reset_decoder()
166 if (dec->output_state != NULL) { in _gst_libde265_dec_free_decoder()
167 gst_video_codec_state_unref (dec->output_state); in _gst_libde265_dec_free_decoder()
295 info = &dec->output_state->info; in gst_libde265_dec_get_buffer()
512 if (G_UNLIKELY (dec->output_state == NULL in _gst_libde265_image_available()
513 || width != dec->output_state->info.width in _gst_libde265_image_available()
514 || height != dec->output_state->info.height)) { in _gst_libde265_image_available()
527 if (dec->output_state != NULL) { in _gst_libde265_image_available()
528 gst_video_codec_state_unref (dec->output_state); in _gst_libde265_image_available()
530 dec->output_state = state; in _gst_libde265_image_available()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvampeg2dec.c113 if (base->output_state) in gst_va_mpeg2_dec_negotiate()
114 gst_video_codec_state_unref (base->output_state); in gst_va_mpeg2_dec_negotiate()
119 base->output_state = in gst_va_mpeg2_dec_negotiate()
124 base->output_state->info.interlace_mode = GST_VIDEO_INTERLACE_MODE_MIXED; in gst_va_mpeg2_dec_negotiate()
126 base->output_state->caps = gst_video_info_to_caps (&base->output_state->info); in gst_va_mpeg2_dec_negotiate()
128 gst_caps_set_features_simple (base->output_state->caps, capsfeatures); in gst_va_mpeg2_dec_negotiate()
131 base->output_state->caps); in gst_va_mpeg2_dec_negotiate()
Dgstvavp8dec.c112 if (base->output_state) in gst_va_vp8_dec_negotiate()
113 gst_video_codec_state_unref (base->output_state); in gst_va_vp8_dec_negotiate()
118 base->output_state = in gst_va_vp8_dec_negotiate()
122 base->output_state->caps = gst_video_info_to_caps (&base->output_state->info); in gst_va_vp8_dec_negotiate()
124 gst_caps_set_features_simple (base->output_state->caps, capsfeatures); in gst_va_vp8_dec_negotiate()
127 base->output_state->caps); in gst_va_vp8_dec_negotiate()
Dgstvavp9dec.c599 if (base->output_state) in gst_va_vp9_dec_negotiate()
600 gst_video_codec_state_unref (base->output_state); in gst_va_vp9_dec_negotiate()
605 base->output_state = in gst_va_vp9_dec_negotiate()
609 base->output_state->caps = gst_video_info_to_caps (&base->output_state->info); in gst_va_vp9_dec_negotiate()
611 gst_caps_set_features_simple (base->output_state->caps, capsfeatures); in gst_va_vp9_dec_negotiate()
614 base->output_state->caps); in gst_va_vp9_dec_negotiate()
Dgstvah264dec.c843 if (base->output_state) in gst_va_h264_dec_negotiate()
844 gst_video_codec_state_unref (base->output_state); in gst_va_h264_dec_negotiate()
849 base->output_state = in gst_va_h264_dec_negotiate()
853 base->output_state->info.interlace_mode = GST_VIDEO_INTERLACE_MODE_MIXED; in gst_va_h264_dec_negotiate()
855 base->output_state->caps = gst_video_info_to_caps (&base->output_state->info); in gst_va_h264_dec_negotiate()
857 gst_caps_set_features_simple (base->output_state->caps, capsfeatures); in gst_va_h264_dec_negotiate()
860 base->output_state->caps); in gst_va_h264_dec_negotiate()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2codecmpeg2dec.c66 GstVideoCodecState *output_state; member
177 if (self->output_state) in gst_v4l2_codec_mpeg2_dec_stop()
178 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_mpeg2_dec_stop()
179 self->output_state = NULL; in gst_v4l2_codec_mpeg2_dec_stop()
288 if (self->output_state) in gst_v4l2_codec_mpeg2_dec_negotiate()
289 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_mpeg2_dec_negotiate()
291 self->output_state = in gst_v4l2_codec_mpeg2_dec_negotiate()
297 self->output_state->info.interlace_mode = in gst_v4l2_codec_mpeg2_dec_negotiate()
300 self->output_state->caps = gst_video_info_to_caps (&self->output_state->info); in gst_v4l2_codec_mpeg2_dec_negotiate()
Dgstv4l2codecvp8dec.c66 GstVideoCodecState *output_state; member
164 if (self->output_state) in gst_v4l2_codec_vp8_dec_stop()
165 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_vp8_dec_stop()
166 self->output_state = NULL; in gst_v4l2_codec_vp8_dec_stop()
237 if (self->output_state) in gst_v4l2_codec_vp8_dec_negotiate()
238 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_vp8_dec_negotiate()
240 self->output_state = in gst_v4l2_codec_vp8_dec_negotiate()
245 self->output_state->caps = gst_video_info_to_caps (&self->output_state->info); in gst_v4l2_codec_vp8_dec_negotiate()
Dgstv4l2codecvp9dec.c67 GstVideoCodecState *output_state; member
425 if (self->output_state) in gst_v4l2_codec_vp9_dec_stop()
426 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_vp9_dec_stop()
427 self->output_state = NULL; in gst_v4l2_codec_vp9_dec_stop()
498 if (self->output_state) in gst_v4l2_codec_vp9_dec_negotiate()
499 gst_video_codec_state_unref (self->output_state); in gst_v4l2_codec_vp9_dec_negotiate()
501 self->output_state = in gst_v4l2_codec_vp9_dec_negotiate()
506 self->output_state->caps = gst_video_info_to_caps (&self->output_state->info); in gst_v4l2_codec_vp9_dec_negotiate()
/third_party/gstreamer/gstplugins_good/gst/y4m/
Dgsty4mencode.c133 GstVideoCodecState *output_state; in gst_y4m_encode_set_format() local
157 output_state = in gst_y4m_encode_set_format()
160 gst_video_codec_state_unref (output_state); in gst_y4m_encode_set_format()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c1300 GstVideoCodecState *output_state; in gst_ffmpegviddec_negotiate() local
1342 output_state = in gst_ffmpegviddec_negotiate()
1347 output_state = in gst_ffmpegviddec_negotiate()
1351 if (ffmpegdec->output_state) in gst_ffmpegviddec_negotiate()
1352 gst_video_codec_state_unref (ffmpegdec->output_state); in gst_ffmpegviddec_negotiate()
1353 ffmpegdec->output_state = output_state; in gst_ffmpegviddec_negotiate()
1356 out_info = &ffmpegdec->output_state->info; in gst_ffmpegviddec_negotiate()
1451 if (output_state->caps == NULL) { in gst_ffmpegviddec_negotiate()
1452 output_state->caps = gst_video_info_to_caps (out_info); in gst_ffmpegviddec_negotiate()
1454 output_state->caps = gst_caps_make_writable (output_state->caps); in gst_ffmpegviddec_negotiate()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideodec.c741 GstVideoCodecState *output_state; in gst_amc_video_dec_set_src_caps() local
795 output_state = gst_video_decoder_set_output_state (GST_VIDEO_DECODER (self), in gst_amc_video_dec_set_src_caps()
800 gst_video_multiview_video_info_change_mode (&output_state->info, in gst_amc_video_dec_set_src_caps()
806 if (output_state->caps) in gst_amc_video_dec_set_src_caps()
807 gst_caps_unref (output_state->caps); in gst_amc_video_dec_set_src_caps()
808 output_state->caps = gst_video_info_to_caps (&output_state->info); in gst_amc_video_dec_set_src_caps()
809 gst_caps_set_features (output_state->caps, 0, in gst_amc_video_dec_set_src_caps()
811 gst_caps_set_simple (output_state->caps, "texture-target", G_TYPE_STRING, in gst_amc_video_dec_set_src_caps()
862 gst_video_codec_state_unref (output_state); in gst_amc_video_dec_set_src_caps()
1940 GstVideoCodecState *output_state = NULL; in gst_amc_video_dec_set_format() local
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideodecoder.c442 GstVideoCodecState *output_state; /* OBJECT_LOCK and STREAM_LOCK */ member
1007 if (decoder->priv->output_state) in gst_video_decoder_finalize()
1008 gst_video_codec_state_unref (decoder->priv->output_state); in gst_video_decoder_finalize()
1535 if (!decoder->priv->output_state) { in gst_video_decoder_sink_event_default()
2049 if (dec->priv->output_state != NULL) in gst_video_decoder_src_query_default()
2050 res = __gst_video_rawvideo_convert (dec->priv->output_state, in gst_video_decoder_src_query_default()
2449 if (priv->output_state) in gst_video_decoder_reset()
2450 gst_video_codec_state_unref (priv->output_state); in gst_video_decoder_reset()
2451 priv->output_state = NULL; in gst_video_decoder_reset()
3111 if (dropping || !decoder->priv->output_state) { in gst_video_decoder_prepare_finish_frame()
[all …]
Dgstvideoencoder.c152 GstVideoCodecState *output_state; member
491 if (priv->output_state) in gst_video_encoder_reset()
492 gst_video_codec_state_unref (priv->output_state); in gst_video_encoder_reset()
493 priv->output_state = NULL; in gst_video_encoder_reset()
1831 GstVideoCodecState *state = encoder->priv->output_state; in gst_video_encoder_negotiate_default()
2031 g_return_val_if_fail (encoder->priv->output_state, FALSE); in gst_video_encoder_negotiate()
2070 || (encoder->priv->output_state && needs_reconfigure))) { in gst_video_encoder_allocate_output_buffer()
2124 || (encoder->priv->output_state && needs_reconfigure))) { in gst_video_encoder_allocate_output_frame()
2268 if (G_UNLIKELY (priv->output_state_changed || (priv->output_state in gst_video_encoder_can_push_unlocked()
2279 if (G_UNLIKELY (priv->output_state == NULL)) { in gst_video_encoder_can_push_unlocked()
[all …]

123