/third_party/ffmpeg/libavfilter/ |
D | af_amix.c | 173 uint8_t *input_state; /**< current state of each input */ member 219 if (s->input_state[i] & INPUT_ON) in calculate_scales() 223 if (s->input_state[i] & INPUT_ON) { in calculate_scales() 233 if (s->input_state[i] & INPUT_ON) { in calculate_scales() 271 s->input_state = av_malloc(s->nb_inputs); in config_output() 272 if (!s->input_state) in config_output() 274 memset(s->input_state, INPUT_ON, s->nb_inputs); in config_output() 304 if (s->input_state[0] & INPUT_ON) { in output_frame() 308 if (s->input_state[i] & INPUT_ON) { in output_frame() 311 if (!(s->input_state[i] & INPUT_EOF)) in output_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/webp/ |
D | gstwebpenc.c | 207 if (enc->input_state) in gst_webp_enc_set_format() 208 gst_video_codec_state_unref (enc->input_state); in gst_webp_enc_set_format() 209 enc->input_state = gst_video_codec_state_ref (state); in gst_webp_enc_set_format() 213 gst_caps_new_empty_simple ("image/webp"), enc->input_state); in gst_webp_enc_set_format() 225 info = &enc->input_state->info; in gst_webp_set_picture_params() 264 if (!gst_video_frame_map (&vframe, &enc->input_state->info, in gst_webp_enc_handle_frame() 399 if (enc->input_state) in gst_webp_enc_stop() 400 gst_video_codec_state_unref (enc->input_state); in gst_webp_enc_stop()
|
D | gstwebpdec.c | 229 if (webpdec->input_state) { in gst_webp_dec_stop() 230 gst_video_codec_state_unref (webpdec->input_state); in gst_webp_dec_stop() 231 webpdec->input_state = NULL; in gst_webp_dec_stop() 245 if (webpdec->input_state) in gst_webp_dec_set_format() 246 gst_video_codec_state_unref (webpdec->input_state); in gst_webp_dec_set_format() 247 webpdec->input_state = gst_video_codec_state_ref (state); in gst_webp_dec_set_format() 412 features.width, features.height, dec->input_state); in gst_webp_dec_update_src_caps()
|
/third_party/gstreamer/gstplugins_bad/ext/rsvg/ |
D | gstrsvgdec.c | 190 dimension.width, dimension.height, rsvg->input_state); in gst_rsvg_decode_image() 264 if (rsvg->input_state) in gst_rsvg_dec_set_format() 265 gst_video_codec_state_unref (rsvg->input_state); in gst_rsvg_dec_set_format() 266 rsvg->input_state = gst_video_codec_state_ref (state); in gst_rsvg_dec_set_format() 271 rsvg->input_state); in gst_rsvg_dec_set_format() 368 if (rsvg->input_state) { in gst_rsvg_dec_stop() 369 gst_video_codec_state_unref (rsvg->input_state); in gst_rsvg_dec_stop() 370 rsvg->input_state = NULL; in gst_rsvg_dec_stop()
|
/third_party/gstreamer/gstplugins_good/ext/libpng/ |
D | gstpngenc.c | 188 if (pngenc->input_state) in gst_pngenc_set_format() 189 gst_video_codec_state_unref (pngenc->input_state); in gst_pngenc_set_format() 190 pngenc->input_state = gst_video_codec_state_ref (state); in gst_pngenc_set_format() 220 if (pngenc->input_state) in gst_pngenc_finalize() 221 gst_video_codec_state_unref (pngenc->input_state); in gst_pngenc_finalize() 276 info = &pngenc->input_state->info; in gst_pngenc_handle_frame() 310 if (!gst_video_frame_map (&vframe, &pngenc->input_state->info, in gst_pngenc_handle_frame()
|
D | gstpngdec.c | 169 if (pngdec->input_state) in gst_pngdec_set_format() 170 gst_video_codec_state_unref (pngdec->input_state); in gst_pngdec_set_format() 171 pngdec->input_state = gst_video_codec_state_ref (state); in gst_pngdec_set_format() 396 width, height, pngdec->input_state); in gst_pngdec_caps_create_and_set() 691 if (pngdec->input_state) { in gst_pngdec_stop() 692 gst_video_codec_state_unref (pngdec->input_state); in gst_pngdec_stop() 693 pngdec->input_state = NULL; in gst_pngdec_stop()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavvidenc.c | 378 if (ffmpegenc->input_state) in gst_ffmpegvidenc_set_format() 379 gst_video_codec_state_unref (ffmpegenc->input_state); in gst_ffmpegvidenc_set_format() 380 ffmpegenc->input_state = gst_video_codec_state_ref (state); in gst_ffmpegvidenc_set_format() 555 GstVideoInfo *info = &ffmpegenc->input_state->info; in gst_ffmpegvidenc_send_frame() 569 if (GST_VIDEO_INFO_IS_INTERLACED (&ffmpegenc->input_state->info)) { in gst_ffmpegvidenc_send_frame() 573 || GST_VIDEO_INFO_FIELD_ORDER (&ffmpegenc->input_state->info) == in gst_ffmpegvidenc_send_frame() 733 GstVideoCodecState *input_state; in gst_ffmpegvidenc_handle_frame() local 737 if (!ffmpegenc->input_state) { in gst_ffmpegvidenc_handle_frame() 743 input_state = gst_video_codec_state_ref (ffmpegenc->input_state); in gst_ffmpegvidenc_handle_frame() 744 reopen_ret = gst_ffmpegvidenc_set_format (encoder, input_state); in gst_ffmpegvidenc_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openh264/ |
D | gstopenh264dec.cpp | 207 if (openh264dec->input_state) { in gst_openh264dec_stop() 208 gst_video_codec_state_unref (openh264dec->input_state); in gst_openh264dec_stop() 209 openh264dec->input_state = NULL; in gst_openh264dec_stop() 224 if (openh264dec->input_state) { in gst_openh264dec_set_format() 225 gst_video_codec_state_unref (openh264dec->input_state); in gst_openh264dec_set_format() 226 openh264dec->input_state = NULL; in gst_openh264dec_set_format() 228 openh264dec->input_state = gst_video_codec_state_ref (state); in gst_openh264dec_set_format() 355 actual_width, actual_height, openh264dec->input_state); in gst_openh264dec_handle_frame()
|
D | gstopenh264enc.cpp | 396 openh264enc->input_state = NULL; in gst_openh264enc_init() 647 if (openh264enc->input_state) { in gst_openh264enc_finalize() 648 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_finalize() 650 openh264enc->input_state = NULL; in gst_openh264enc_finalize() 678 if (openh264enc->input_state) { in gst_openh264enc_stop() 679 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_stop() 681 openh264enc->input_state = NULL; in gst_openh264enc_stop() 749 if (openh264enc->input_state) { in gst_openh264enc_set_format() 750 gst_video_codec_state_unref (openh264enc->input_state); in gst_openh264enc_set_format() 752 openh264enc->input_state = gst_video_codec_state_ref (state); in gst_openh264enc_set_format() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkvc1dec.c | 91 caps = decoder->input_state->caps; in gst_msdkvc1dec_configure() 112 if (decoder->input_state->codec_data) { in gst_msdkvc1dec_configure() 113 buffer = gst_buffer_copy_region (decoder->input_state->codec_data, in gst_msdkvc1dec_configure() 115 gst_buffer_get_size (decoder->input_state->codec_data) - 1); in gst_msdkvc1dec_configure()
|
D | gstmsdkenc.c | 499 if (!thiz->input_state) { in gst_msdkenc_init_encoder() 503 info = &thiz->input_state->info; in gst_msdkenc_init_encoder() 1205 GstVideoInfo *info = &thiz->input_state->info; in gst_msdkenc_set_latency() 1286 outcaps, thiz->input_state); in gst_msdkenc_set_src_caps() 1441 if (thiz->input_state) { in gst_msdkenc_set_format() 1442 if (!gst_video_info_is_equal (&thiz->input_state->info, &state->info)) { in gst_msdkenc_set_format() 1447 gst_video_codec_state_unref (thiz->input_state); in gst_msdkenc_set_format() 1449 thiz->input_state = gst_video_codec_state_ref (state); in gst_msdkenc_set_format() 1474 thiz->input_state->caps = gst_caps_make_writable (thiz->input_state->caps); in gst_msdkenc_set_format() 1475 gst_caps_set_features (thiz->input_state->caps, 0, in gst_msdkenc_set_format() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/aom/ |
D | gstav1dec.c | 177 av1dec->input_state = NULL; in gst_av1_dec_start() 192 if (av1dec->input_state) { in gst_av1_dec_stop() 193 gst_video_codec_state_unref (av1dec->input_state); in gst_av1_dec_stop() 194 av1dec->input_state = NULL; in gst_av1_dec_stop() 220 if (av1dec->input_state) { in gst_av1_dec_set_format() 221 gst_video_codec_state_unref (av1dec->input_state); in gst_av1_dec_set_format() 224 av1dec->input_state = gst_video_codec_state_ref (state); in gst_av1_dec_set_format() 278 fmt, img->d_w, img->d_h, av1dec->input_state); in gst_av1_dec_handle_resolution_change()
|
D | gstav1enc.c | 469 if (av1enc->input_state) { in gst_av1_enc_finalize() 470 gst_video_codec_state_unref (av1enc->input_state); in gst_av1_enc_finalize() 472 av1enc->input_state = NULL; in gst_av1_enc_finalize() 486 if (av1enc->input_state->info.fps_n && av1enc->input_state->info.fps_d) { in gst_av1_enc_set_latency() 487 fps_n = av1enc->input_state->info.fps_n; in gst_av1_enc_set_latency() 488 fps_d = av1enc->input_state->info.fps_d; in gst_av1_enc_set_latency() 683 if (av1enc->input_state) { in gst_av1_enc_set_format() 684 gst_video_codec_state_unref (av1enc->input_state); in gst_av1_enc_set_format() 686 av1enc->input_state = gst_video_codec_state_ref (state); in gst_av1_enc_set_format() 820 gst_video_frame_map (&vframe, &av1enc->input_state->info, in gst_av1_enc_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/pnm/ |
D | gstpnmenc.c | 129 if (pnmenc->input_state) in gst_pnmenc_finalize() 130 gst_video_codec_state_unref (pnmenc->input_state); in gst_pnmenc_finalize() 172 if (pnmenc->input_state) in gst_pnmenc_set_format() 173 gst_video_codec_state_unref (pnmenc->input_state); in gst_pnmenc_set_format() 174 pnmenc->input_state = gst_video_codec_state_ref (state); in gst_pnmenc_set_format() 201 info = &pnmenc->input_state->info; in gst_pnmenc_handle_frame() 252 if (!gst_video_frame_map (&in_frame, &(pnmenc->input_state->info), in gst_pnmenc_handle_frame()
|
D | gstpnmdec.c | 200 pnmdec->mngr.info.width, pnmdec->mngr.info.height, pnmdec->input_state); in gst_pnmdec_negotiate() 216 if (pnmdec->input_state) in gst_pnmdec_set_format() 217 gst_video_codec_state_unref (pnmdec->input_state); in gst_pnmdec_set_format() 218 pnmdec->input_state = gst_video_codec_state_ref (state); in gst_pnmdec_set_format() 228 if (pnmdec->input_state) { in gst_pnmdec_stop() 229 gst_video_codec_state_unref (pnmdec->input_state); in gst_pnmdec_stop() 230 pnmdec->input_state = NULL; in gst_pnmdec_stop()
|
/third_party/gstreamer/gstplugins_bad/ext/openexr/ |
D | gstopenexrdec.cpp | 182 if (self->input_state) { in gst_openexr_dec_stop() 183 gst_video_codec_state_unref (self->input_state); in gst_openexr_dec_stop() 184 self->input_state = NULL; in gst_openexr_dec_stop() 270 if (self->input_state) in gst_openexr_dec_set_format() 271 gst_video_codec_state_unref (self->input_state); in gst_openexr_dec_set_format() 272 self->input_state = gst_video_codec_state_ref (state); in gst_openexr_dec_set_format() 299 width, height, self->input_state); in gst_openexr_dec_negotiate()
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegenc.c | 279 NULL), jpegenc->input_state); in gst_jpegenc_term_destination() 331 if (filter->input_state) in gst_jpegenc_finalize() 332 gst_video_codec_state_unref (filter->input_state); in gst_jpegenc_finalize() 344 if (enc->input_state) in gst_jpegenc_set_format() 345 gst_video_codec_state_unref (enc->input_state); in gst_jpegenc_set_format() 346 enc->input_state = gst_video_codec_state_ref (state); in gst_jpegenc_set_format() 396 if (!jpegenc->input_state) in gst_jpegenc_resync() 399 info = &jpegenc->input_state->info; in gst_jpegenc_resync() 470 &jpegenc->input_state->info, frame->input_buffer, GST_MAP_READ)) in gst_jpegenc_handle_frame() 475 height = GST_VIDEO_INFO_HEIGHT (&jpegenc->input_state->info); in gst_jpegenc_handle_frame()
|
D | gstjpegdec.c | 122 if (dec->input_state) in gst_jpeg_dec_finalize() 123 gst_video_codec_state_unref (dec->input_state); in gst_jpeg_dec_finalize() 605 if (jpeg->input_state) in gst_jpeg_dec_set_format() 606 gst_video_codec_state_unref (jpeg->input_state); in gst_jpeg_dec_set_format() 607 jpeg->input_state = gst_video_codec_state_ref (state); in gst_jpeg_dec_set_format() 1111 width, height, dec->input_state); in gst_jpeg_dec_negotiate() 1400 dec->input_state && in gst_jpeg_dec_handle_frame() 1401 dec->input_state->info.height > height && in gst_jpeg_dec_handle_frame() 1402 dec->input_state->info.height <= (height * 2) in gst_jpeg_dec_handle_frame() 1403 && dec->input_state->info.width == width) { in gst_jpeg_dec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/x265/ |
D | gstx265enc.c | 664 if (x265enc->input_state) in gst_x265_enc_stop() 665 gst_video_codec_state_unref (x265enc->input_state); in gst_x265_enc_stop() 666 x265enc->input_state = NULL; in gst_x265_enc_stop() 695 if (encoder->input_state) in gst_x265_enc_finalize() 696 gst_video_codec_state_unref (encoder->input_state); in gst_x265_enc_finalize() 697 encoder->input_state = NULL; in gst_x265_enc_finalize() 801 if (!encoder->input_state) { in gst_x265_enc_init_encoder_locked() 806 info = &encoder->input_state->info; in gst_x265_enc_init_encoder_locked() 944 encoder->input_state->caps)) { in gst_x265_enc_init_encoder_locked() 962 encoder->input_state->caps)) { in gst_x265_enc_init_encoder_locked() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecs/ |
D | gstvp8decoder.c | 141 if (self->input_state) { in gst_vp8_decoder_stop() 142 gst_video_codec_state_unref (self->input_state); in gst_vp8_decoder_stop() 143 self->input_state = NULL; in gst_vp8_decoder_stop() 204 if (self->input_state) in gst_vp8_decoder_set_format() 205 gst_video_codec_state_unref (self->input_state); in gst_vp8_decoder_set_format() 207 self->input_state = gst_video_codec_state_ref (state); in gst_vp8_decoder_set_format()
|
/third_party/gstreamer/gstplugins_good/ext/vpx/ |
D | gstvp9dec.c | 131 stream_info->w = dec->input_state->info.width; in gst_vp9_dec_set_stream_info() 132 stream_info->h = dec->input_state->info.height; in gst_vp9_dec_set_stream_info() 224 fmt, img->d_w, img->d_h, dec->input_state); in gst_vp9_dec_handle_resolution_change()
|
D | gstvpxenc.c | 863 if (gst_vpx_enc->input_state) in gst_vpx_enc_finalize() 864 gst_video_codec_state_unref (gst_vpx_enc->input_state); in gst_vpx_enc_finalize() 874 if (encoder->input_state != NULL) { in gst_vpx_enc_set_auto_bitrate() 880 if (GST_VIDEO_INFO_FPS_N (&encoder->input_state->info) != 0) { in gst_vpx_enc_set_auto_bitrate() 881 fps_n = GST_VIDEO_INFO_FPS_N (&encoder->input_state->info); in gst_vpx_enc_set_auto_bitrate() 882 fps_d = GST_VIDEO_INFO_FPS_D (&encoder->input_state->info); in gst_vpx_enc_set_auto_bitrate() 890 GST_VIDEO_INFO_WIDTH (&encoder->input_state->info) * in gst_vpx_enc_set_auto_bitrate() 891 GST_VIDEO_INFO_HEIGHT (&encoder->input_state->info); in gst_vpx_enc_set_auto_bitrate() 897 GST_VIDEO_INFO_WIDTH (&encoder->input_state->info), in gst_vpx_enc_set_auto_bitrate() 898 GST_VIDEO_INFO_HEIGHT (&encoder->input_state->info), in gst_vpx_enc_set_auto_bitrate() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamcvideoenc.c | 146 create_amc_format (GstAmcVideoEnc * encoder, GstVideoCodecState * input_state, in create_amc_format() argument 170 GstVideoInfo *info = &input_state->info; in create_amc_format() 910 caps, self->input_state); in gst_amc_video_enc_set_src_caps() 937 GstVideoCodecState *input_state = self->input_state; in gst_amc_video_enc_fill_buffer() local 940 GstVideoInfo *info = &input_state->info; in gst_amc_video_enc_fill_buffer() 1342 if (self->input_state) in gst_amc_video_enc_stop() 1343 gst_video_codec_state_unref (self->input_state); in gst_amc_video_enc_stop() 1344 self->input_state = NULL; in gst_amc_video_enc_stop() 1386 if (self->input_state) in gst_amc_video_enc_set_format() 1387 gst_video_codec_state_unref (self->input_state); in gst_amc_video_enc_set_format() [all …]
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2videodec.c | 216 if (self->input_state) { in gst_v4l2_video_dec_stop() 217 gst_video_codec_state_unref (self->input_state); in gst_v4l2_video_dec_stop() 218 self->input_state = NULL; in gst_v4l2_video_dec_stop() 264 if (self->input_state) { in gst_v4l2_video_dec_set_format() 269 gst_video_codec_state_unref (self->input_state); in gst_v4l2_video_dec_set_format() 270 self->input_state = NULL; in gst_v4l2_video_dec_set_format() 313 self->input_state = gst_video_codec_state_ref (state); in gst_v4l2_video_dec_set_format() 644 if (!self->input_state) in gst_v4l2_video_dec_handle_frame() 646 if (!gst_v4l2_object_set_format (self->v4l2output, self->input_state->caps, in gst_v4l2_video_dec_handle_frame() 662 codec_data = self->input_state->codec_data; in gst_v4l2_video_dec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/theora/ |
D | gsttheoraenc.c | 361 if (enc->input_state) in theora_enc_finalize() 362 gst_video_codec_state_unref (enc->input_state); in theora_enc_finalize() 375 if (enc->input_state == NULL) { in theora_enc_flush() 481 if (enc->input_state) in theora_enc_stop() 482 gst_video_codec_state_unref (enc->input_state); in theora_enc_stop() 483 enc->input_state = NULL; in theora_enc_stop() 603 if (enc->input_state) in theora_enc_set_format() 604 gst_video_codec_state_unref (enc->input_state); in theora_enc_set_format() 605 enc->input_state = gst_video_codec_state_ref (state); in theora_enc_set_format() 959 state = gst_video_encoder_set_output_state (benc, caps, enc->input_state); in theora_enc_handle_frame() [all …]
|