Home
last modified time | relevance | path

Searched refs:input_state (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/ffmpeg/libavfilter/
Daf_amix.c172 uint8_t *input_state; /**< current state of each input */ member
216 if (s->input_state[i] & INPUT_ON) in calculate_scales()
220 if (s->input_state[i] & INPUT_ON) { in calculate_scales()
230 if (s->input_state[i] & INPUT_ON) in calculate_scales()
264 s->input_state = av_malloc(s->nb_inputs); in config_output()
265 if (!s->input_state) in config_output()
267 memset(s->input_state, INPUT_ON, s->nb_inputs); in config_output()
297 if (s->input_state[0] & INPUT_ON) { in output_frame()
301 if (s->input_state[i] & INPUT_ON) { in output_frame()
304 if (!(s->input_state[i] & INPUT_EOF)) in output_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpenc.c203 if (enc->input_state) in gst_webp_enc_set_format()
204 gst_video_codec_state_unref (enc->input_state); in gst_webp_enc_set_format()
205 enc->input_state = gst_video_codec_state_ref (state); in gst_webp_enc_set_format()
209 gst_caps_new_empty_simple ("image/webp"), enc->input_state); in gst_webp_enc_set_format()
221 info = &enc->input_state->info; in gst_webp_set_picture_params()
260 if (!gst_video_frame_map (&vframe, &enc->input_state->info, in gst_webp_enc_handle_frame()
395 if (enc->input_state) in gst_webp_enc_stop()
396 gst_video_codec_state_unref (enc->input_state); in gst_webp_enc_stop()
Dgstwebpdec.c227 if (webpdec->input_state) { in gst_webp_dec_stop()
228 gst_video_codec_state_unref (webpdec->input_state); in gst_webp_dec_stop()
229 webpdec->input_state = NULL; in gst_webp_dec_stop()
243 if (webpdec->input_state) in gst_webp_dec_set_format()
244 gst_video_codec_state_unref (webpdec->input_state); in gst_webp_dec_set_format()
245 webpdec->input_state = gst_video_codec_state_ref (state); in gst_webp_dec_set_format()
410 features.width, features.height, dec->input_state); in gst_webp_dec_update_src_caps()
/third_party/gstreamer/gstplugins_bad/ext/rsvg/
Dgstrsvgdec.c188 dimension.width, dimension.height, rsvg->input_state); in gst_rsvg_decode_image()
262 if (rsvg->input_state) in gst_rsvg_dec_set_format()
263 gst_video_codec_state_unref (rsvg->input_state); in gst_rsvg_dec_set_format()
264 rsvg->input_state = gst_video_codec_state_ref (state); in gst_rsvg_dec_set_format()
269 rsvg->input_state); in gst_rsvg_dec_set_format()
366 if (rsvg->input_state) { in gst_rsvg_dec_stop()
367 gst_video_codec_state_unref (rsvg->input_state); in gst_rsvg_dec_stop()
368 rsvg->input_state = NULL; in gst_rsvg_dec_stop()
/third_party/gstreamer/gstplugins_good/ext/libpng/
Dgstpngenc.c185 if (pngenc->input_state) in gst_pngenc_set_format()
186 gst_video_codec_state_unref (pngenc->input_state); in gst_pngenc_set_format()
187 pngenc->input_state = gst_video_codec_state_ref (state); in gst_pngenc_set_format()
217 if (pngenc->input_state) in gst_pngenc_finalize()
218 gst_video_codec_state_unref (pngenc->input_state); in gst_pngenc_finalize()
273 info = &pngenc->input_state->info; in gst_pngenc_handle_frame()
307 if (!gst_video_frame_map (&vframe, &pngenc->input_state->info, in gst_pngenc_handle_frame()
Dgstpngdec.c166 if (pngdec->input_state) in gst_pngdec_set_format()
167 gst_video_codec_state_unref (pngdec->input_state); in gst_pngdec_set_format()
168 pngdec->input_state = gst_video_codec_state_ref (state); in gst_pngdec_set_format()
393 width, height, pngdec->input_state); in gst_pngdec_caps_create_and_set()
688 if (pngdec->input_state) { in gst_pngdec_stop()
689 gst_video_codec_state_unref (pngdec->input_state); in gst_pngdec_stop()
690 pngdec->input_state = NULL; in gst_pngdec_stop()
/third_party/gstreamer/gstplugins_bad/ext/openh264/
Dgstopenh264dec.cpp204 if (openh264dec->input_state) { in gst_openh264dec_stop()
205 gst_video_codec_state_unref (openh264dec->input_state); in gst_openh264dec_stop()
206 openh264dec->input_state = NULL; in gst_openh264dec_stop()
221 if (openh264dec->input_state) { in gst_openh264dec_set_format()
222 gst_video_codec_state_unref (openh264dec->input_state); in gst_openh264dec_set_format()
223 openh264dec->input_state = NULL; in gst_openh264dec_set_format()
225 openh264dec->input_state = gst_video_codec_state_ref (state); in gst_openh264dec_set_format()
352 actual_width, actual_height, openh264dec->input_state); in gst_openh264dec_handle_frame()
Dgstopenh264enc.cpp383 openh264enc->input_state = NULL; in gst_openh264enc_init()
634 if (openh264enc->input_state) { in gst_openh264enc_finalize()
635 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_finalize()
637 openh264enc->input_state = NULL; in gst_openh264enc_finalize()
665 if (openh264enc->input_state) { in gst_openh264enc_stop()
666 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_stop()
668 openh264enc->input_state = NULL; in gst_openh264enc_stop()
699 if (openh264enc->input_state) { in gst_openh264enc_set_format()
700 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_set_format()
702 openh264enc->input_state = gst_video_codec_state_ref (state); in gst_openh264enc_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkvc1dec.c77 caps = decoder->input_state->caps; in gst_msdkvc1dec_configure()
98 if (decoder->input_state->codec_data) { in gst_msdkvc1dec_configure()
99 buffer = gst_buffer_copy_region (decoder->input_state->codec_data, in gst_msdkvc1dec_configure()
101 gst_buffer_get_size (decoder->input_state->codec_data) - 1); in gst_msdkvc1dec_configure()
Dgstmsdkenc.c260 if (!thiz->input_state) { in gst_msdkenc_init_encoder()
264 info = &thiz->input_state->info; in gst_msdkenc_init_encoder()
810 GstVideoInfo *info = &thiz->input_state->info; in gst_msdkenc_set_latency()
889 outcaps, thiz->input_state); in gst_msdkenc_set_src_caps()
1044 if (thiz->input_state) in gst_msdkenc_set_format()
1045 gst_video_codec_state_unref (thiz->input_state); in gst_msdkenc_set_format()
1046 thiz->input_state = gst_video_codec_state_ref (state); in gst_msdkenc_set_format()
1071 thiz->input_state->caps = gst_caps_make_writable (thiz->input_state->caps); in gst_msdkenc_set_format()
1072 gst_caps_set_features (thiz->input_state->caps, 0, in gst_msdkenc_set_format()
1088 gst_msdkenc_create_buffer_pool (thiz, thiz->input_state->caps, in gst_msdkenc_set_format()
[all …]
Dgstmsdkdec.c280 if (!thiz->input_state) { in gst_msdkdec_init_decoder()
284 info = &thiz->input_state->info; in gst_msdkdec_init_decoder()
482 FrameInfo.CropW : GST_VIDEO_INFO_WIDTH (&thiz->input_state->info); in gst_msdkdec_set_src_caps()
485 FrameInfo.CropH : GST_VIDEO_INFO_HEIGHT (&thiz->input_state->info); in gst_msdkdec_set_src_caps()
498 format, width, height, thiz->input_state); in gst_msdkdec_set_src_caps()
551 GstVideoInfo *info = &thiz->input_state->info; in gst_msdkdec_set_latency()
708 if (thiz->input_state) { in gst_msdkdec_stop()
709 gst_video_codec_state_unref (thiz->input_state); in gst_msdkdec_stop()
710 thiz->input_state = NULL; in gst_msdkdec_stop()
728 if (thiz->input_state) { in gst_msdkdec_set_format()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/aom/
Dgstav1dec.c176 av1dec->input_state = NULL; in gst_av1_dec_start()
191 if (av1dec->input_state) { in gst_av1_dec_stop()
192 gst_video_codec_state_unref (av1dec->input_state); in gst_av1_dec_stop()
193 av1dec->input_state = NULL; in gst_av1_dec_stop()
219 if (av1dec->input_state) { in gst_av1_dec_set_format()
220 gst_video_codec_state_unref (av1dec->input_state); in gst_av1_dec_set_format()
223 av1dec->input_state = gst_video_codec_state_ref (state); in gst_av1_dec_set_format()
277 fmt, img->d_w, img->d_h, av1dec->input_state); in gst_av1_dec_handle_resolution_change()
Dgstav1enc.c418 if (av1enc->input_state) { in gst_av1_enc_finalize()
419 gst_video_codec_state_unref (av1enc->input_state); in gst_av1_enc_finalize()
421 av1enc->input_state = NULL; in gst_av1_enc_finalize()
435 if (av1enc->input_state->info.fps_n && av1enc->input_state->info.fps_d) { in gst_av1_enc_set_latency()
436 fps_n = av1enc->input_state->info.fps_n; in gst_av1_enc_set_latency()
437 fps_d = av1enc->input_state->info.fps_d; in gst_av1_enc_set_latency()
618 if (av1enc->input_state) { in gst_av1_enc_set_format()
619 gst_video_codec_state_unref (av1enc->input_state); in gst_av1_enc_set_format()
621 av1enc->input_state = gst_video_codec_state_ref (state); in gst_av1_enc_set_format()
742 gst_video_frame_map (&vframe, &av1enc->input_state->info, in gst_av1_enc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/pnm/
Dgstpnmenc.c126 if (pnmenc->input_state) in gst_pnmenc_finalize()
127 gst_video_codec_state_unref (pnmenc->input_state); in gst_pnmenc_finalize()
169 if (pnmenc->input_state) in gst_pnmenc_set_format()
170 gst_video_codec_state_unref (pnmenc->input_state); in gst_pnmenc_set_format()
171 pnmenc->input_state = gst_video_codec_state_ref (state); in gst_pnmenc_set_format()
198 info = &pnmenc->input_state->info; in gst_pnmenc_handle_frame()
249 if (!gst_video_frame_map (&in_frame, &(pnmenc->input_state->info), in gst_pnmenc_handle_frame()
Dgstpnmdec.c198 pnmdec->mngr.info.width, pnmdec->mngr.info.height, pnmdec->input_state); in gst_pnmdec_negotiate()
214 if (pnmdec->input_state) in gst_pnmdec_set_format()
215 gst_video_codec_state_unref (pnmdec->input_state); in gst_pnmdec_set_format()
216 pnmdec->input_state = gst_video_codec_state_ref (state); in gst_pnmdec_set_format()
226 if (pnmdec->input_state) { in gst_pnmdec_stop()
227 gst_video_codec_state_unref (pnmdec->input_state); in gst_pnmdec_stop()
228 pnmdec->input_state = NULL; in gst_pnmdec_stop()
/third_party/gstreamer/gstplugins_bad/ext/x265/
Dgstx265enc.c520 if (x265enc->input_state) in gst_x265_enc_stop()
521 gst_video_codec_state_unref (x265enc->input_state); in gst_x265_enc_stop()
522 x265enc->input_state = NULL; in gst_x265_enc_stop()
549 if (encoder->input_state) in gst_x265_enc_finalize()
550 gst_video_codec_state_unref (encoder->input_state); in gst_x265_enc_finalize()
551 encoder->input_state = NULL; in gst_x265_enc_finalize()
642 if (!encoder->input_state) { in gst_x265_enc_init_encoder()
647 info = &encoder->input_state->info; in gst_x265_enc_init_encoder()
887 outcaps, encoder->input_state); in gst_x265_enc_set_src_caps()
904 GstVideoInfo *info = &encoder->input_state->info; in gst_x265_enc_set_latency()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openexr/
Dgstopenexrdec.cpp179 if (self->input_state) { in gst_openexr_dec_stop()
180 gst_video_codec_state_unref (self->input_state); in gst_openexr_dec_stop()
181 self->input_state = NULL; in gst_openexr_dec_stop()
267 if (self->input_state) in gst_openexr_dec_set_format()
268 gst_video_codec_state_unref (self->input_state); in gst_openexr_dec_set_format()
269 self->input_state = gst_video_codec_state_ref (state); in gst_openexr_dec_set_format()
296 width, height, self->input_state); in gst_openexr_dec_negotiate()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegenc.c276 NULL), jpegenc->input_state); in gst_jpegenc_term_destination()
330 if (filter->input_state) in gst_jpegenc_finalize()
331 gst_video_codec_state_unref (filter->input_state); in gst_jpegenc_finalize()
343 if (enc->input_state) in gst_jpegenc_set_format()
344 gst_video_codec_state_unref (enc->input_state); in gst_jpegenc_set_format()
345 enc->input_state = gst_video_codec_state_ref (state); in gst_jpegenc_set_format()
395 if (!jpegenc->input_state) in gst_jpegenc_resync()
398 info = &jpegenc->input_state->info; in gst_jpegenc_resync()
469 &jpegenc->input_state->info, frame->input_buffer, GST_MAP_READ)) in gst_jpegenc_handle_frame()
474 height = GST_VIDEO_INFO_HEIGHT (&jpegenc->input_state->info); in gst_jpegenc_handle_frame()
Dgstjpegdec.c119 if (dec->input_state) in gst_jpeg_dec_finalize()
120 gst_video_codec_state_unref (dec->input_state); in gst_jpeg_dec_finalize()
600 if (jpeg->input_state) in gst_jpeg_dec_set_format()
601 gst_video_codec_state_unref (jpeg->input_state); in gst_jpeg_dec_set_format()
602 jpeg->input_state = gst_video_codec_state_ref (state); in gst_jpeg_dec_set_format()
986 width, height, dec->input_state); in gst_jpeg_dec_negotiate()
1259 dec->input_state && in gst_jpeg_dec_handle_frame()
1260 dec->input_state->info.height > height && in gst_jpeg_dec_handle_frame()
1261 dec->input_state->info.height <= (height * 2) in gst_jpeg_dec_handle_frame()
1262 && dec->input_state->info.width == width) { in gst_jpeg_dec_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvp9dec.c125 stream_info->w = dec->input_state->info.width; in gst_vp9_dec_set_stream_info()
126 stream_info->h = dec->input_state->info.height; in gst_vp9_dec_set_stream_info()
214 fmt, img->d_w, img->d_h, dec->input_state); in gst_vp9_dec_handle_resolution_change()
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2videodec.c205 if (self->input_state) { in gst_v4l2_video_dec_stop()
206 gst_video_codec_state_unref (self->input_state); in gst_v4l2_video_dec_stop()
207 self->input_state = NULL; in gst_v4l2_video_dec_stop()
225 if (self->input_state) { in gst_v4l2_video_dec_set_format()
230 gst_video_codec_state_unref (self->input_state); in gst_v4l2_video_dec_set_format()
231 self->input_state = NULL; in gst_v4l2_video_dec_set_format()
274 self->input_state = gst_video_codec_state_ref (state); in gst_v4l2_video_dec_set_format()
580 if (!self->input_state) in gst_v4l2_video_dec_handle_frame()
582 if (!gst_v4l2_object_set_format (self->v4l2output, self->input_state->caps, in gst_v4l2_video_dec_handle_frame()
597 codec_data = self->input_state->codec_data; in gst_v4l2_video_dec_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideoenc.c141 create_amc_format (GstAmcVideoEnc * encoder, GstVideoCodecState * input_state, in create_amc_format() argument
165 GstVideoInfo *info = &input_state->info; in create_amc_format()
802 caps, self->input_state); in gst_amc_video_enc_set_src_caps()
818 GstVideoCodecState *input_state = self->input_state; in gst_amc_video_enc_fill_buffer() local
821 GstVideoInfo *info = &input_state->info; in gst_amc_video_enc_fill_buffer()
1227 if (self->input_state) in gst_amc_video_enc_stop()
1228 gst_video_codec_state_unref (self->input_state); in gst_amc_video_enc_stop()
1229 self->input_state = NULL; in gst_amc_video_enc_stop()
1271 if (self->input_state) in gst_amc_video_enc_set_format()
1272 gst_video_codec_state_unref (self->input_state); in gst_amc_video_enc_set_format()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavvidenc.c373 if (ffmpegenc->input_state) in gst_ffmpegvidenc_set_format()
374 gst_video_codec_state_unref (ffmpegenc->input_state); in gst_ffmpegvidenc_set_format()
375 ffmpegenc->input_state = gst_video_codec_state_ref (state); in gst_ffmpegvidenc_set_format()
547 GstVideoInfo *info = &ffmpegenc->input_state->info; in gst_ffmpegvidenc_send_frame()
561 if (GST_VIDEO_INFO_IS_INTERLACED (&ffmpegenc->input_state->info)) { in gst_ffmpegvidenc_send_frame()
565 || GST_VIDEO_INFO_FIELD_ORDER (&ffmpegenc->input_state->info) == in gst_ffmpegvidenc_send_frame()
850 if (ffmpegenc->input_state) { in gst_ffmpegvidenc_stop()
851 gst_video_codec_state_unref (ffmpegenc->input_state); in gst_ffmpegvidenc_stop()
852 ffmpegenc->input_state = NULL; in gst_ffmpegvidenc_stop()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoraenc.c357 if (enc->input_state) in theora_enc_finalize()
358 gst_video_codec_state_unref (enc->input_state); in theora_enc_finalize()
371 if (enc->input_state == NULL) { in theora_enc_flush()
477 if (enc->input_state) in theora_enc_stop()
478 gst_video_codec_state_unref (enc->input_state); in theora_enc_stop()
479 enc->input_state = NULL; in theora_enc_stop()
599 if (enc->input_state) in theora_enc_set_format()
600 gst_video_codec_state_unref (enc->input_state); in theora_enc_set_format()
601 enc->input_state = gst_video_codec_state_ref (state); in theora_enc_set_format()
955 state = gst_video_encoder_set_output_state (benc, caps, enc->input_state); in theora_enc_handle_frame()
[all …]
Dgsttheoradec.c247 if (dec->input_state) { in theora_dec_stop()
248 gst_video_codec_state_unref (dec->input_state); in theora_dec_stop()
249 dec->input_state = NULL; in theora_dec_stop()
303 if (dec->input_state) in theora_dec_set_format()
304 gst_video_codec_state_unref (dec->input_state); in theora_dec_set_format()
305 dec->input_state = gst_video_codec_state_ref (state); in theora_dec_set_format()
407 info = &dec->input_state->info; in theora_handle_type_packet()
494 info->width, info->height, dec->input_state); in theora_handle_type_packet()

1234