/third_party/gstreamer/gstplugins_bad/gst/ivtc/ |
D | gstivtc.c | 340 reconstruct (GstIvtc * ivtc, GstVideoFrame * dest_frame, int i1, int i2) in reconstruct() argument 361 guint8 *dest = GET_LINE (dest_frame, k, j); in reconstruct() 389 reconstruct_single (GstIvtc * ivtc, GstVideoFrame * dest_frame, int i1) in reconstruct_single() argument 398 height = GST_VIDEO_FRAME_COMP_HEIGHT (dest_frame, k); in reconstruct_single() 399 width = GST_VIDEO_FRAME_COMP_WIDTH (dest_frame, k); in reconstruct_single() 402 memcpy (GET_LINE (dest_frame, k, j), in reconstruct_single() 406 memcpy (GET_LINE (dest_frame, k, j), in reconstruct_single() 409 guint8 *dest = GET_LINE (dest_frame, k, j); in reconstruct_single() 468 height = GST_VIDEO_FRAME_COMP_HEIGHT (dest_frame, k); in reconstruct_single() 469 width = GST_VIDEO_FRAME_COMP_WIDTH (dest_frame, k); in reconstruct_single() [all …]
|
/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 822 GstVideoInfo dst_info = dest_frame->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() 888 GstVideoFrame dest_frame; in gst_va_base_dec_copy_output_buffer() local 913 if (!gst_video_frame_map (&dest_frame, &dest_vinfo, buffer, GST_MAP_WRITE)) { in gst_va_base_dec_copy_output_buffer() 921 &src_frame, &dest_frame, video_crop)) { in gst_va_base_dec_copy_output_buffer() 923 gst_video_frame_unmap (&dest_frame); in gst_va_base_dec_copy_output_buffer() 933 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_va_base_dec_copy_output_buffer() 935 gst_video_frame_unmap (&dest_frame); in gst_va_base_dec_copy_output_buffer() 941 gst_video_frame_unmap (&dest_frame); in gst_va_base_dec_copy_output_buffer()
|
D | gstvabasetransform.c | 442 GstVideoFrame dest_frame; in gst_va_base_transform_generate_output() local 472 if (!gst_video_frame_map (&dest_frame, &self->out_info, buffer, in gst_va_base_transform_generate_output() 478 if (!gst_video_frame_copy (&dest_frame, &src_frame)) { in gst_va_base_transform_generate_output() 480 gst_video_frame_unmap (&dest_frame); in gst_va_base_transform_generate_output() 485 gst_video_frame_unmap (&dest_frame); in gst_va_base_transform_generate_output()
|
/third_party/gstreamer/gstplugins_good/gst/videobox/ |
D | gstvideobox.c | 175 copy_ayuv_ayuv (guint i_alpha, GstVideoFrame * dest_frame, in copy_ayuv_ayuv() argument 185 dest_stride = GST_VIDEO_FRAME_PLANE_STRIDE (dest_frame, 0); in copy_ayuv_ayuv() 188 dest = GST_VIDEO_FRAME_PLANE_DATA (dest_frame, 0); in copy_ayuv_ayuv() 233 copy_ayuv_i420 (guint i_alpha, GstVideoFrame * dest_frame, in copy_ayuv_i420() argument 250 dest_height = GST_VIDEO_FRAME_HEIGHT (dest_frame); in copy_ayuv_i420() 251 dest_width = GST_VIDEO_FRAME_WIDTH (dest_frame); in copy_ayuv_i420() 254 dest_strideY = GST_VIDEO_FRAME_COMP_STRIDE (dest_frame, 0); in copy_ayuv_i420() 255 dest_strideU = GST_VIDEO_FRAME_COMP_STRIDE (dest_frame, 1); in copy_ayuv_i420() 256 dest_strideV = GST_VIDEO_FRAME_COMP_STRIDE (dest_frame, 2); in copy_ayuv_i420() 260 destY = GST_VIDEO_FRAME_COMP_DATA (dest_frame, 0); in copy_ayuv_i420() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/inter/ |
D | gstintervideosrc.c | 237 GstVideoFrame src_frame, dest_frame; in gst_inter_video_src_set_caps() local 259 gst_video_frame_map (&dest_frame, &intervideosrc->info, dest, GST_MAP_WRITE); in gst_inter_video_src_set_caps() 261 gst_video_converter_frame (converter, &src_frame, &dest_frame); in gst_inter_video_src_set_caps() 264 gst_video_frame_unmap (&dest_frame); in gst_inter_video_src_set_caps()
|
/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 190 gst_video_frame_map (&dest_frame, dest, *dest_buffer, GST_MAP_WRITE); in gst_video_blend_scale_linear_RGBA() 207 dest_pixels = GST_VIDEO_FRAME_PLANE_DATA (&dest_frame, 0); in gst_video_blend_scale_linear_RGBA() 239 gst_video_frame_unmap (&dest_frame); in gst_video_blend_scale_linear_RGBA()
|
D | video-overlay-composition.c | 1084 GstVideoFrame src_frame, dest_frame; in gst_video_overlay_rectangle_convert() local 1103 gst_video_frame_map (&dest_frame, dest, *dest_buffer, GST_MAP_WRITE); in gst_video_overlay_rectangle_convert() 1106 ddata = GST_VIDEO_FRAME_PLANE_DATA (&dest_frame, 0); in gst_video_overlay_rectangle_convert() 1173 gst_video_frame_unmap (&dest_frame); in gst_video_overlay_rectangle_convert()
|
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/ |
D | gstv4l2codecvp8dec.c | 661 GstVideoFrame dest_frame; in gst_v4l2_codec_vp8_dec_copy_output_buffer() local 676 if (!gst_video_frame_map (&dest_frame, &dest_vinfo, buffer, GST_MAP_WRITE)) { in gst_v4l2_codec_vp8_dec_copy_output_buffer() 677 gst_video_frame_unmap (&dest_frame); 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() 688 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_vp8_dec_copy_output_buffer() 693 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_vp8_dec_copy_output_buffer()
|
D | gstv4l2codecmpeg2dec.c | 625 GstVideoFrame dest_frame; in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() local 640 if (!gst_video_frame_map (&dest_frame, &dest_vinfo, buffer, GST_MAP_WRITE)) { in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 641 gst_video_frame_unmap (&dest_frame); 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() 650 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_mpeg2_dec_copy_output_buffer() 655 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_mpeg2_dec_copy_output_buffer()
|
D | gstv4l2codecvp9dec.c | 830 GstVideoFrame dest_frame; in gst_v4l2_codec_vp9_dec_copy_output_buffer() local 845 if (!gst_video_frame_map (&dest_frame, &dest_vinfo, buffer, GST_MAP_WRITE)) { in gst_v4l2_codec_vp9_dec_copy_output_buffer() 846 gst_video_frame_unmap (&dest_frame); 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() 857 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_vp9_dec_copy_output_buffer() 862 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_vp9_dec_copy_output_buffer()
|
D | gstv4l2codech264dec.c | 991 GstVideoFrame dest_frame; in gst_v4l2_codec_h264_dec_copy_output_buffer() local 1006 if (!gst_video_frame_map (&dest_frame, &dest_vinfo, buffer, GST_MAP_WRITE)) { in gst_v4l2_codec_h264_dec_copy_output_buffer() 1007 gst_video_frame_unmap (&dest_frame); 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() 1018 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_h264_dec_copy_output_buffer() 1023 gst_video_frame_unmap (&dest_frame); in gst_v4l2_codec_h264_dec_copy_output_buffer()
|
/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11compositor.cpp | 999 GstVideoFrame src_frame, dest_frame; in gst_d3d11_compositor_copy_buffer() local 1007 if (!gst_video_frame_map (&dest_frame, info, dest_buf, in gst_d3d11_compositor_copy_buffer() 1015 if (!gst_video_frame_copy_plane (&dest_frame, &src_frame, i)) { in gst_d3d11_compositor_copy_buffer() 1018 gst_video_frame_unmap (&dest_frame); in gst_d3d11_compositor_copy_buffer() 1025 gst_video_frame_unmap (&dest_frame); in gst_d3d11_compositor_copy_buffer()
|
/third_party/gstreamer/gstplugins_good/sys/v4l2/ |
D | gstv4l2bufferpool.c | 134 GstVideoFrame src_frame, dest_frame; in gst_v4l2_buffer_pool_copy_buffer() local 142 if (!gst_video_frame_map (&dest_frame, &pool->caps_info, dest, in gst_v4l2_buffer_pool_copy_buffer() 148 gst_video_frame_copy (&dest_frame, &src_frame); in gst_v4l2_buffer_pool_copy_buffer() 151 gst_video_frame_unmap (&dest_frame); in gst_v4l2_buffer_pool_copy_buffer()
|