/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvabasedec.c | 819 GstVideoFrame * src_frame, GstVideoFrame * dest_frame, in _copy_buffer_and_apply_video_crop() argument 824 dst_info.fps_n = src_frame->info.fps_n; in _copy_buffer_and_apply_video_crop() 825 dst_info.fps_d = src_frame->info.fps_d; in _copy_buffer_and_apply_video_crop() 852 base->convert = gst_video_converter_new (&src_frame->info, &dst_info, in _copy_buffer_and_apply_video_crop() 878 gst_video_converter_frame (base->convert, src_frame, dest_frame); in _copy_buffer_and_apply_video_crop() 887 GstVideoFrame src_frame; in gst_va_base_dec_copy_output_buffer() local 910 if (!gst_video_frame_map (&src_frame, src_vinfo, codec_frame->output_buffer, in gst_va_base_dec_copy_output_buffer() 914 gst_video_frame_unmap (&src_frame); in gst_va_base_dec_copy_output_buffer() 921 &src_frame, &dest_frame, video_crop)) { in gst_va_base_dec_copy_output_buffer() 922 gst_video_frame_unmap (&src_frame); in gst_va_base_dec_copy_output_buffer() [all …]
|
D | gstvabasetransform.c | 441 GstVideoFrame src_frame; in gst_va_base_transform_generate_output() local 468 if (!gst_video_frame_map (&src_frame, &self->priv->srcpad_info, *outbuf, in gst_va_base_transform_generate_output() 474 gst_video_frame_unmap (&src_frame); in gst_va_base_transform_generate_output() 478 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_va_base_transform_generate_output() 479 gst_video_frame_unmap (&src_frame); in gst_va_base_transform_generate_output() 484 gst_video_frame_unmap (&src_frame); in gst_va_base_transform_generate_output()
|
/third_party/gstreamer/gstplugins_good/gst/videobox/ |
D | gstvideobox.c | 176 gboolean dest_sdtv, gint dest_x, gint dest_y, GstVideoFrame * src_frame, in copy_ayuv_ayuv() argument 184 src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0); in copy_ayuv_ayuv() 187 src = GST_VIDEO_FRAME_PLANE_DATA (src_frame, 0); in copy_ayuv_ayuv() 234 gboolean dest_sdtv, gint dest_x, gint dest_y, GstVideoFrame * src_frame, in copy_ayuv_i420() argument 252 src_height = GST_VIDEO_FRAME_HEIGHT (src_frame); in copy_ayuv_i420() 258 src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (src_frame, 0); in copy_ayuv_i420() 269 src = GST_VIDEO_FRAME_PLANE_DATA (src_frame, 0); in copy_ayuv_i420() 1673 gboolean dest_sdtv, gint dest_x, gint dest_y, GstVideoFrame * src_frame, in copy_i420_ayuv() argument 1681 src_strideY = GST_VIDEO_FRAME_COMP_STRIDE (src_frame, 0); in copy_i420_ayuv() 1682 src_strideU = GST_VIDEO_FRAME_COMP_STRIDE (src_frame, 1); in copy_i420_ayuv() [all …]
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext.c | 510 AVFrame *src_frame; in av_hwframe_get_buffer() local 517 src_frame = av_frame_alloc(); in av_hwframe_get_buffer() 518 if (!src_frame) in av_hwframe_get_buffer() 522 src_frame, 0); in av_hwframe_get_buffer() 524 av_frame_free(&src_frame); in av_hwframe_get_buffer() 528 ret = av_hwframe_map(frame, src_frame, in av_hwframe_get_buffer() 533 av_frame_free(&src_frame); in av_hwframe_get_buffer() 539 av_frame_free(&src_frame); in av_hwframe_get_buffer()
|
D | hwcontext_qsv.c | 891 const AVFrame *src_frame; in qsv_transfer_data_to() local 936 src_frame = realigned ? &tmp_frame : src; in qsv_transfer_data_to() 940 return qsv_transfer_data_child(ctx, dst, src_frame); in qsv_transfer_data_to() 947 map_frame_to_surface(src_frame, &in); in qsv_transfer_data_to()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-blend.c | 174 GstVideoFrame src_frame, dest_frame; in gst_video_blend_scale_linear_RGBA() local 189 gst_video_frame_map (&src_frame, src, src_buffer, GST_MAP_READ); in gst_video_blend_scale_linear_RGBA() 203 src_stride = GST_VIDEO_FRAME_PLANE_STRIDE (&src_frame, 0); in gst_video_blend_scale_linear_RGBA() 208 src_pixels = GST_VIDEO_FRAME_PLANE_DATA (&src_frame, 0); in gst_video_blend_scale_linear_RGBA() 238 gst_video_frame_unmap (&src_frame); in gst_video_blend_scale_linear_RGBA()
|
D | gstvideoaggregator.c | 746 GstVideoFrame src_frame; member 770 memset (&pcp_priv->src_frame, 0, sizeof (pcp_priv->src_frame)); in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 825 if (!gst_video_frame_map (&pcp_priv->src_frame, &vpad->info, buffer, in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 848 gst_video_frame_unmap (&pcp_priv->src_frame); in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 849 memset (&pcp_priv->src_frame, 0, sizeof (pcp_priv->src_frame)); in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 853 gst_video_converter_frame (pad->priv->convert, &pcp_priv->src_frame, in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 858 *prepared_frame = pcp_priv->src_frame; in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 859 memset (&pcp_priv->src_frame, 0, sizeof (pcp_priv->src_frame)); in gst_video_aggregator_parallel_convert_pad_prepare_frame_start() 877 if (pcp_priv->src_frame.buffer) { in gst_video_aggregator_parallel_convert_pad_prepare_frame_finish() 878 gst_video_frame_unmap (&pcp_priv->src_frame); in gst_video_aggregator_parallel_convert_pad_prepare_frame_finish() [all …]
|
D | video-overlay-composition.c | 1084 GstVideoFrame src_frame, dest_frame; in gst_video_overlay_rectangle_convert() local 1102 gst_video_frame_map (&src_frame, src, src_buffer, GST_MAP_READ); in gst_video_overlay_rectangle_convert() 1105 sdata = GST_VIDEO_FRAME_PLANE_DATA (&src_frame, 0); in gst_video_overlay_rectangle_convert() 1107 stride = GST_VIDEO_FRAME_PLANE_STRIDE (&src_frame, 0); in gst_video_overlay_rectangle_convert() 1172 gst_video_frame_unmap (&src_frame); in gst_video_overlay_rectangle_convert()
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecvp8dec.c | 660 GstVideoFrame src_frame; in gst_v4l2_codec_vp8_dec_copy_output_buffer() local 672 if (!gst_video_frame_map (&src_frame, &self->vinfo, in gst_v4l2_codec_vp8_dec_copy_output_buffer() 683 GST_VIDEO_INFO_WIDTH (&src_frame.info) = self->width; in gst_v4l2_codec_vp8_dec_copy_output_buffer() 684 GST_VIDEO_INFO_HEIGHT (&src_frame.info) = self->height; in gst_v4l2_codec_vp8_dec_copy_output_buffer() 686 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_v4l2_codec_vp8_dec_copy_output_buffer() 687 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_vp8_dec_copy_output_buffer() 692 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_vp8_dec_copy_output_buffer()
|
D | gstv4l2codecmpeg2dec.c | 624 GstVideoFrame src_frame; in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() local 636 if (!gst_video_frame_map (&src_frame, &self->vinfo, in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 645 GST_VIDEO_INFO_WIDTH (&src_frame.info) = self->width; in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 646 GST_VIDEO_INFO_HEIGHT (&src_frame.info) = self->height; in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 648 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 649 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 654 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_mpeg2_dec_copy_output_buffer()
|
D | gstv4l2codecvp9dec.c | 829 GstVideoFrame src_frame; in gst_v4l2_codec_vp9_dec_copy_output_buffer() local 841 if (!gst_video_frame_map (&src_frame, &self->vinfo, in gst_v4l2_codec_vp9_dec_copy_output_buffer() 852 GST_VIDEO_INFO_WIDTH (&src_frame.info) = self->width; in gst_v4l2_codec_vp9_dec_copy_output_buffer() 853 GST_VIDEO_INFO_HEIGHT (&src_frame.info) = self->height; in gst_v4l2_codec_vp9_dec_copy_output_buffer() 855 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_v4l2_codec_vp9_dec_copy_output_buffer() 856 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_vp9_dec_copy_output_buffer() 861 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_vp9_dec_copy_output_buffer()
|
D | gstv4l2codech264dec.c | 990 GstVideoFrame src_frame; in gst_v4l2_codec_h264_dec_copy_output_buffer() local 1002 if (!gst_video_frame_map (&src_frame, &self->vinfo, in gst_v4l2_codec_h264_dec_copy_output_buffer() 1013 GST_VIDEO_INFO_WIDTH (&src_frame.info) = self->display_width; in gst_v4l2_codec_h264_dec_copy_output_buffer() 1014 GST_VIDEO_INFO_HEIGHT (&src_frame.info) = self->display_height; in gst_v4l2_codec_h264_dec_copy_output_buffer() 1016 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_v4l2_codec_h264_dec_copy_output_buffer() 1017 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_h264_dec_copy_output_buffer() 1022 gst_video_frame_unmap (&src_frame); in gst_v4l2_codec_h264_dec_copy_output_buffer()
|
/third_party/gstreamer/gstplugins_bad/gst/inter/ |
D | gstintervideosrc.c | 237 GstVideoFrame src_frame, dest_frame; in gst_inter_video_src_set_caps() local 258 gst_video_frame_map (&src_frame, &black_info, src, GST_MAP_READ); in gst_inter_video_src_set_caps() 261 gst_video_converter_frame (converter, &src_frame, &dest_frame); in gst_inter_video_src_set_caps() 263 gst_video_frame_unmap (&src_frame); in gst_inter_video_src_set_caps()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapturesrc.cpp | 973 GstVideoFrame src_frame, dst_frame; in gst_d3d11_screen_capture_src_create() local 983 if (!gst_video_frame_map (&src_frame, &self->video_info, buffer, in gst_d3d11_screen_capture_src_create() 992 gst_video_frame_unmap (&src_frame); in gst_d3d11_screen_capture_src_create() 996 copy_ret = gst_video_frame_copy (&dst_frame, &src_frame); in gst_d3d11_screen_capture_src_create() 998 gst_video_frame_unmap (&src_frame); in gst_d3d11_screen_capture_src_create()
|
D | gstd3d11compositor.cpp | 999 GstVideoFrame src_frame, dest_frame; in gst_d3d11_compositor_copy_buffer() local 1001 if (!gst_video_frame_map (&src_frame, info, src_buf, in gst_d3d11_compositor_copy_buffer() 1010 gst_video_frame_unmap (&src_frame); in gst_d3d11_compositor_copy_buffer() 1014 for (i = 0; i < GST_VIDEO_FRAME_N_PLANES (&src_frame); i++) { in gst_d3d11_compositor_copy_buffer() 1015 if (!gst_video_frame_copy_plane (&dest_frame, &src_frame, i)) { in gst_d3d11_compositor_copy_buffer() 1019 gst_video_frame_unmap (&src_frame); in gst_d3d11_compositor_copy_buffer() 1026 gst_video_frame_unmap (&src_frame); in gst_d3d11_compositor_copy_buffer()
|
/third_party/gstreamer/gstplugins_bad/sys/msdk/ |
D | gstmsdkvpp.c | 797 GstVideoFrame src_frame, out_frame; in get_msdk_surface_from_input_buffer() local 831 if (!gst_video_frame_map (&src_frame, &thiz->sinkpad_info, inbuf, in get_msdk_surface_from_input_buffer() 840 gst_video_frame_unmap (&src_frame); in get_msdk_surface_from_input_buffer() 844 if (!gst_video_frame_copy (&out_frame, &src_frame)) { in get_msdk_surface_from_input_buffer() 847 gst_video_frame_unmap (&src_frame); in get_msdk_surface_from_input_buffer() 852 gst_video_frame_unmap (&src_frame); in get_msdk_surface_from_input_buffer()
|
D | gstmsdkenc.c | 1643 GstVideoFrame src_frame, out_frame; in gst_msdkenc_get_surface_from_frame() local 1678 if (!gst_video_frame_map (&src_frame, &thiz->input_state->info, inbuf, in gst_msdkenc_get_surface_from_frame() 1687 gst_video_frame_unmap (&src_frame); in gst_msdkenc_get_surface_from_frame() 1691 if (!gst_video_frame_copy (&out_frame, &src_frame)) { in gst_msdkenc_get_surface_from_frame() 1694 gst_video_frame_unmap (&src_frame); in gst_msdkenc_get_surface_from_frame() 1699 gst_video_frame_unmap (&src_frame); in gst_msdkenc_get_surface_from_frame()
|
/third_party/gstreamer/gstplugins_bad/ext/svthevcenc/ |
D | gstsvthevcenc.c | 1627 GstVideoFrame src_frame, aligned_frame; in gst_svthevc_enc_convert_frame() local 1639 if (!gst_video_frame_map (&src_frame, info, frame->input_buffer, in gst_svthevc_enc_convert_frame() 1649 gst_video_frame_unmap (&src_frame); in gst_svthevc_enc_convert_frame() 1653 if (!gst_video_frame_copy (&aligned_frame, &src_frame)) { in gst_svthevc_enc_convert_frame() 1655 gst_video_frame_unmap (&src_frame); in gst_svthevc_enc_convert_frame() 1660 gst_video_frame_unmap (&src_frame); in gst_svthevc_enc_convert_frame()
|
/third_party/ffmpeg/libavcodec/ |
D | qsvdec.c | 525 AVFrame *src_frame; in qsv_decode() local 539 src_frame = out_frame->frame; in qsv_decode() 541 ret = av_frame_ref(frame, src_frame); in qsv_decode()
|
D | pngdec.c | 1667 ThreadFrame *src_frame = NULL; in update_thread_context() local 1696 src_frame = psrc->dispose_op == APNG_DISPOSE_OP_PREVIOUS ? in update_thread_context() 1700 if (src_frame && src_frame->f->data[0]) { in update_thread_context() 1701 ret = ff_thread_ref_frame(&pdst->last_picture, src_frame); in update_thread_context()
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2bufferpool.c | 134 GstVideoFrame src_frame, dest_frame; in gst_v4l2_buffer_pool_copy_buffer() local 139 if (!gst_video_frame_map (&src_frame, &pool->caps_info, src, GST_MAP_READ)) in gst_v4l2_buffer_pool_copy_buffer() 144 gst_video_frame_unmap (&src_frame); in gst_v4l2_buffer_pool_copy_buffer() 148 gst_video_frame_copy (&dest_frame, &src_frame); in gst_v4l2_buffer_pool_copy_buffer() 150 gst_video_frame_unmap (&src_frame); in gst_v4l2_buffer_pool_copy_buffer()
|
/third_party/gstreamer/gstplugins_bad/ext/directfb/ |
D | dfbvideosink.c | 1797 GstVideoFrame src_frame; in gst_dfbvideosink_show_frame() local 1875 if (!gst_video_frame_map (&src_frame, &src_info, buf, GST_MAP_READ)) { in gst_dfbvideosink_show_frame() 1908 plane_h = GST_VIDEO_FRAME_COMP_HEIGHT (&src_frame, plane); in gst_dfbvideosink_show_frame() 1915 memcpy (w_buf, (gchar *) src_frame.data[plane] + in gst_dfbvideosink_show_frame() 1921 gst_video_frame_unmap (&src_frame); in gst_dfbvideosink_show_frame()
|
/third_party/ffmpeg/fftools/ |
D | ffplay.c | 1744 static int queue_picture(VideoState *is, AVFrame *src_frame, double pts, double duration, int64_t p… in queue_picture() argument 1750 av_get_picture_type_char(src_frame->pict_type), pts); in queue_picture() 1756 vp->sar = src_frame->sample_aspect_ratio; in queue_picture() 1759 vp->width = src_frame->width; in queue_picture() 1760 vp->height = src_frame->height; in queue_picture() 1761 vp->format = src_frame->format; in queue_picture() 1770 av_frame_move_ref(vp->frame, src_frame); in queue_picture()
|
/third_party/chromium/patch/ |
D | 0003-ohos-1115.patch | 52065 + scoped_refptr<media::VideoFrame> src_frame = 52071 + natural_size, src_frame->timestamp()); 52073 + media::ConvertAndScaleFrame(*src_frame, *dst_frame, resize_buf_);
|