/third_party/gstreamer/gstplugins_base/tests/examples/gl/sdl/ |
D | sdlshare.c | 286 DrawGLScene (GstVideoFrame * vframe) in DrawGLScene() argument 291 texture = *(guint *) vframe->data[0]; in DrawGLScene() 332 GstVideoFrame *vframe; in on_new_sample() local 354 vframe = g_new0 (GstVideoFrame, 1); in on_new_sample() 355 if (!gst_video_frame_map (vframe, &render_video_info, buf, in on_new_sample() 364 g_async_queue_push (queue_input_buf, vframe); in on_new_sample() 368 vframe = (GstVideoFrame *) g_async_queue_pop (queue_output_buf); in on_new_sample() 369 gst_video_frame_unmap (vframe); in on_new_sample() 370 g_free (vframe); in on_new_sample() 418 GstVideoFrame *vframe = NULL; in sdl_event_loop() local [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/webp/ |
D | gstwebpenc.c | 258 GstVideoFrame vframe; in gst_webp_enc_handle_frame() local 264 if (!gst_video_frame_map (&vframe, &enc->input_state->info, in gst_webp_enc_handle_frame() 269 enc->webp_picture.y = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0); in gst_webp_enc_handle_frame() 270 enc->webp_picture.u = GST_VIDEO_FRAME_COMP_DATA (&vframe, 1); in gst_webp_enc_handle_frame() 271 enc->webp_picture.v = GST_VIDEO_FRAME_COMP_DATA (&vframe, 2); in gst_webp_enc_handle_frame() 273 enc->webp_picture.y_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in gst_webp_enc_handle_frame() 274 enc->webp_picture.uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 1); in gst_webp_enc_handle_frame() 280 GST_VIDEO_FRAME_COMP_DATA (&vframe, 0), in gst_webp_enc_handle_frame() 281 GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0)); in gst_webp_enc_handle_frame() 285 GST_VIDEO_FRAME_COMP_DATA (&vframe, 0), in gst_webp_enc_handle_frame() [all …]
|
D | gstwebpdec.c | 428 GstVideoFrame vframe; in gst_webp_dec_handle_frame() local 449 if (!gst_video_frame_map (&vframe, &webpdec->output_state->info, in gst_webp_dec_handle_frame() 464 webpdec->config.output.u.RGBA.rgba = (uint8_t *) vframe.map[0].data; in gst_webp_dec_handle_frame() 466 GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in gst_webp_dec_handle_frame() 467 webpdec->config.output.u.RGBA.size = GST_VIDEO_FRAME_SIZE (&vframe); in gst_webp_dec_handle_frame() 474 gst_video_frame_unmap (&vframe); in gst_webp_dec_handle_frame() 481 gst_video_frame_unmap (&vframe); in gst_webp_dec_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/ |
D | gstmpeg2encpicturereader.cc | 130 GstVideoFrame vframe; in LoadFrame() local 148 gst_video_frame_map (&vframe, &enc->input_state->info, inframe->input_buffer, GST_MAP_READ); in LoadFrame() 151 frame = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0); in LoadFrame() 152 s = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in LoadFrame() 160 frame = GST_VIDEO_FRAME_COMP_DATA (&vframe, 1); in LoadFrame() 161 s = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 1); in LoadFrame() 168 frame = GST_VIDEO_FRAME_COMP_DATA (&vframe, 2); in LoadFrame() 169 s = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 2); in LoadFrame() 174 gst_video_frame_unmap (&vframe); in LoadFrame()
|
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/ |
D | gstmfvideoenc.cpp | 553 gst_mf_video_enc_frame_needs_copy (GstVideoFrame * vframe) in gst_mf_video_enc_frame_needs_copy() argument 556 if (GST_VIDEO_FRAME_N_PLANES (vframe) == 1) in gst_mf_video_enc_frame_needs_copy() 559 switch (GST_VIDEO_FRAME_FORMAT (vframe)) { in gst_mf_video_enc_frame_needs_copy() 567 if (GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0) != in gst_mf_video_enc_frame_needs_copy() 568 2 * GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 1) || in gst_mf_video_enc_frame_needs_copy() 569 GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 1) != in gst_mf_video_enc_frame_needs_copy() 570 GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 2)) { in gst_mf_video_enc_frame_needs_copy() 574 size = GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0) * in gst_mf_video_enc_frame_needs_copy() 575 GST_VIDEO_FRAME_HEIGHT (vframe); in gst_mf_video_enc_frame_needs_copy() 576 if (size + GST_VIDEO_FRAME_PLANE_OFFSET (vframe, 0) != in gst_mf_video_enc_frame_needs_copy() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/rsvg/ |
D | gstrsvgdec.c | 162 GstVideoFrame vframe; in gst_rsvg_decode_image() local 208 if (!gst_video_frame_map (&vframe, in gst_rsvg_decode_image() 216 cairo_image_surface_create_for_data (GST_VIDEO_FRAME_PLANE_DATA (&vframe, in gst_rsvg_decode_image() 217 0), CAIRO_FORMAT_ARGB32, GST_VIDEO_FRAME_WIDTH (&vframe), in gst_rsvg_decode_image() 218 GST_VIDEO_FRAME_HEIGHT (&vframe), GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, in gst_rsvg_decode_image() 247 gst_rsvg_decode_unpremultiply (GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0), in gst_rsvg_decode_image() 248 GST_VIDEO_FRAME_WIDTH (&vframe), GST_VIDEO_FRAME_HEIGHT (&vframe)); in gst_rsvg_decode_image() 252 gst_video_frame_unmap (&vframe); in gst_rsvg_decode_image()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/ |
D | gstdvbsubenc.c | 324 process_largest_subregion (GstDvbSubEnc * enc, GstVideoFrame * vframe) in process_largest_subregion() argument 328 guint8 *pixels = GST_VIDEO_FRAME_PLANE_DATA (vframe, 0); in process_largest_subregion() 329 guint stride = GST_VIDEO_FRAME_PLANE_STRIDE (vframe, 0); in process_largest_subregion() 330 guint pixel_stride = GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 0); in process_largest_subregion() 344 if (!create_cropped_frame (enc, vframe, &cropped_frame, left, top, in process_largest_subregion() 377 duration = GST_BUFFER_DURATION (vframe->buffer); in process_largest_subregion() 380 end_ts = GST_BUFFER_PTS (vframe->buffer); in process_largest_subregion() 404 gst_buffer_copy_into (packet, vframe->buffer, GST_BUFFER_COPY_METADATA, 0, in process_largest_subregion() 466 GstVideoFrame vframe; in gst_dvb_sub_enc_chain() local 485 if (!gst_video_frame_map (&vframe, &enc->in_info, buf, GST_MAP_READ)) { in gst_dvb_sub_enc_chain() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openni2/ |
D | gstopenni2src.cpp | 633 GstVideoFrame vframe; in openni2_read_gstbuffer() local 661 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer() 663 guint8 *pData = (guint8 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in openni2_read_gstbuffer() 675 pData += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in openni2_read_gstbuffer() 679 gst_video_frame_unmap (&vframe); in openni2_read_gstbuffer() 695 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer() 697 guint16 *pData = (guint16 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in openni2_read_gstbuffer() 703 pData += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0) / 2; in openni2_read_gstbuffer() 705 gst_video_frame_unmap (&vframe); in openni2_read_gstbuffer() 721 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamc.c | 834 GstVideoFrame vframe; in gst_amc_color_format_copy() local 844 gst_video_frame_map (&vframe, vinfo, vbuffer, GST_MAP_WRITE); in gst_amc_color_format_copy() 849 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy() 852 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy() 877 vptr = GST_VIDEO_FRAME_COMP_DATA (&vframe, i); in gst_amc_color_format_copy() 878 height = GST_VIDEO_FRAME_COMP_HEIGHT (&vframe, i); in gst_amc_color_format_copy() 886 gst_video_frame_unmap (&vframe); in gst_amc_color_format_copy() 895 GstVideoFrame vframe; in gst_amc_color_format_copy() local 902 gst_video_frame_map (&vframe, vinfo, vbuffer, GST_MAP_WRITE); in gst_amc_color_format_copy() 906 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/libde265/ |
D | libde265-dec.c | 221 GstVideoFrame vframe; member 230 gst_video_frame_unmap (&ref->vframe); in gst_libde265_dec_release_frame_ref() 296 if (!gst_video_frame_map (&ref->vframe, info, ref->buffer, GST_MAP_READWRITE)) { in gst_libde265_dec_get_buffer() 302 if (GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, in gst_libde265_dec_get_buffer() 303 0) < width * GST_VIDEO_FRAME_COMP_PSTRIDE (&ref->vframe, 0)) { in gst_libde265_dec_get_buffer() 305 GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, 0), width, in gst_libde265_dec_get_buffer() 306 GST_VIDEO_FRAME_COMP_PSTRIDE (&ref->vframe, 0)); in gst_libde265_dec_get_buffer() 310 if (GST_VIDEO_FRAME_COMP_HEIGHT (&ref->vframe, 0) < height) { in gst_libde265_dec_get_buffer() 312 GST_VIDEO_FRAME_COMP_HEIGHT (&ref->vframe, 0), height); in gst_libde265_dec_get_buffer() 318 int stride = GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, i); in gst_libde265_dec_get_buffer() [all …]
|
/third_party/libunwind/tests/ |
D | ia64-test-dyn1.c | 98 long (*vframe) (long); in main() local 184 vframe = (long (*) (long)) in main() 203 ret = (*vframe) (48); in main() 209 ret = (*vframe) (64); in main()
|
/third_party/gstreamer/gstplugins_good/ext/libpng/ |
D | gstpngenc.c | 273 GstVideoFrame vframe; in gst_pngenc_handle_frame() local 310 if (!gst_video_frame_map (&vframe, &pngenc->input_state->info, in gst_pngenc_handle_frame() 321 row_pointers[row_index] = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0) + in gst_pngenc_handle_frame() 322 (row_index * GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0)); in gst_pngenc_handle_frame() 333 gst_video_frame_unmap (&vframe); in gst_pngenc_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/ext/openexr/ |
D | gstopenexrdec.cpp | 319 GstVideoFrame vframe; in gst_openexr_dec_handle_frame() local 391 if (!gst_video_frame_map (&vframe, &self->output_state->info, in gst_openexr_dec_handle_frame() 417 gst_video_frame_unmap (&vframe); in gst_openexr_dec_handle_frame() 425 guint16 *dest = (guint16 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in gst_openexr_dec_handle_frame() 426 guint dstride = GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in gst_openexr_dec_handle_frame() 447 gst_video_frame_unmap (&vframe); in gst_openexr_dec_handle_frame()
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegdec.c | 1282 gst_jpeg_dec_decode (GstJpegDec * dec, GstVideoFrame * vframe, guint width, in gst_jpeg_dec_decode() argument 1288 gst_jpeg_dec_decode_rgb (dec, vframe, field, num_fields); in gst_jpeg_dec_decode() 1290 gst_jpeg_dec_decode_grayscale (dec, vframe, field, num_fields); in gst_jpeg_dec_decode() 1306 gst_jpeg_dec_decode_indirect (dec, vframe, in gst_jpeg_dec_decode() 1311 ret = gst_jpeg_dec_decode_direct (dec, vframe, field, num_fields); in gst_jpeg_dec_decode() 1331 GstVideoFrame vframe; in gst_jpeg_dec_handle_frame() local 1426 if (!gst_video_frame_map (&vframe, &state->info, frame->output_buffer, in gst_jpeg_dec_handle_frame() 1432 gst_video_frame_unmap (&vframe); in gst_jpeg_dec_handle_frame() 1439 ret = gst_jpeg_dec_decode (dec, &vframe, width, height, 1, num_fields); in gst_jpeg_dec_handle_frame() 1441 gst_video_frame_unmap (&vframe); in gst_jpeg_dec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | vtenc.c | 1609 GstVTEncFrame *vframe; in gst_vtenc_encode_frame() local 1612 vframe = gst_vtenc_frame_new (frame->input_buffer, &self->video_info); in gst_vtenc_encode_frame() 1613 if (!vframe) { in gst_vtenc_encode_frame() 1619 const size_t num_planes = GST_VIDEO_FRAME_N_PLANES (&vframe->videoframe); in gst_vtenc_encode_frame() 1629 GST_VIDEO_FRAME_PLANE_DATA (&vframe->videoframe, i); in gst_vtenc_encode_frame() 1630 plane_widths[i] = GST_VIDEO_FRAME_COMP_WIDTH (&vframe->videoframe, i); in gst_vtenc_encode_frame() 1631 plane_heights[i] = GST_VIDEO_FRAME_COMP_HEIGHT (&vframe->videoframe, i); in gst_vtenc_encode_frame() 1633 GST_VIDEO_FRAME_COMP_STRIDE (&vframe->videoframe, i); in gst_vtenc_encode_frame() 1635 GST_VIDEO_FRAME_COMP_STRIDE (&vframe->videoframe, i); in gst_vtenc_encode_frame() 1673 GST_VIDEO_FRAME_SIZE (&vframe->videoframe), in gst_vtenc_encode_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/svthevcenc/ |
D | gstsvthevcenc.c | 885 GstVideoFrame * vframe, EB_BUFFERHEADERTYPE * headerPtr) in read_in_data() argument 889 in_data->luma = GST_VIDEO_FRAME_PLANE_DATA (vframe, 0); in read_in_data() 890 in_data->cb = GST_VIDEO_FRAME_PLANE_DATA (vframe, 1); in read_in_data() 891 in_data->cr = GST_VIDEO_FRAME_PLANE_DATA (vframe, 2); in read_in_data() 894 GST_VIDEO_FRAME_COMP_STRIDE (vframe, in read_in_data() 895 0) / GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 0); in read_in_data() 897 GST_VIDEO_FRAME_COMP_STRIDE (vframe, in read_in_data() 898 1) / GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 1); in read_in_data() 900 GST_VIDEO_FRAME_COMP_STRIDE (vframe, in read_in_data() 901 2) / GST_VIDEO_FRAME_COMP_PSTRIDE (vframe, 2); in read_in_data() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/ |
D | gstopenjpegenc.c | 1140 GstVideoFrame vframe; in gst_openjpeg_enc_encode_stripe() local 1160 if (!gst_video_frame_map (&vframe, &self->input_state->info, in gst_openjpeg_enc_encode_stripe() 1163 image = gst_openjpeg_enc_fill_image (self, &vframe, message->stripe); in gst_openjpeg_enc_encode_stripe() 1164 gst_video_frame_unmap (&vframe); in gst_openjpeg_enc_encode_stripe() 1168 if (vframe.info.finfo->flags & GST_VIDEO_FORMAT_FLAG_RGB) { in gst_openjpeg_enc_encode_stripe() 1380 GstVideoFrame vframe; in gst_openjpeg_enc_handle_frame() local 1391 if (!gst_video_frame_map (&vframe, &self->input_state->info, in gst_openjpeg_enc_handle_frame() 1400 GST_VIDEO_FRAME_COMP_HEIGHT (&vframe, 0)); in gst_openjpeg_enc_handle_frame() 1402 GST_VIDEO_FRAME_COMP_HEIGHT (&vframe, 0))); in gst_openjpeg_enc_handle_frame() 1406 gst_video_frame_unmap (&vframe); in gst_openjpeg_enc_handle_frame()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavvidenc.c | 491 GstVideoFrame vframe; member 499 gst_video_frame_unmap (&info->vframe); in buffer_info_free() 595 if (!gst_video_frame_map (&buffer_info->vframe, info, frame->input_buffer, in gst_ffmpegvidenc_send_frame() 609 picture->data[c] = GST_VIDEO_FRAME_PLANE_DATA (&buffer_info->vframe, c); in gst_ffmpegvidenc_send_frame() 611 GST_VIDEO_FRAME_COMP_STRIDE (&buffer_info->vframe, c); in gst_ffmpegvidenc_send_frame() 619 picture->width = GST_VIDEO_FRAME_WIDTH (&buffer_info->vframe); in gst_ffmpegvidenc_send_frame() 620 picture->height = GST_VIDEO_FRAME_HEIGHT (&buffer_info->vframe); in gst_ffmpegvidenc_send_frame()
|
D | gstavviddec.c | 690 GstVideoFrame vframe; member 717 gst_video_frame_unmap (&frame->vframe); in gst_ffmpegviddec_video_frame_free() 953 if (!gst_video_frame_map (&dframe->vframe, &ffmpegdec->pool_info, in gst_ffmpegviddec_get_buffer2() 960 picture->data[c] = GST_VIDEO_FRAME_PLANE_DATA (&dframe->vframe, c); in gst_ffmpegviddec_get_buffer2() 961 picture->linesize[c] = GST_VIDEO_FRAME_PLANE_STRIDE (&dframe->vframe, c); in gst_ffmpegviddec_get_buffer2() 1624 GstVideoFrame vframe; in get_output_buffer() local 1643 if (!gst_video_frame_map (&vframe, info, frame->output_buffer, in get_output_buffer() 1649 pic.width = GST_VIDEO_FRAME_WIDTH (&vframe); in get_output_buffer() 1650 pic.height = GST_VIDEO_FRAME_HEIGHT (&vframe); in get_output_buffer() 1653 pic.data[c] = GST_VIDEO_FRAME_PLANE_DATA (&vframe, c); in get_output_buffer() [all …]
|
/third_party/gstreamer/gstplugins_base/ext/theora/ |
D | gsttheoradec.c | 660 GstVideoFrame vframe; in theora_handle_image() local 729 if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->uncropped_info, in theora_handle_image() 735 GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (vframe.info.finfo, comp, pic_width); in theora_handle_image() 737 GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vframe.info.finfo, comp, in theora_handle_image() 739 stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, comp); in theora_handle_image() 740 dest = GST_VIDEO_FRAME_COMP_DATA (&vframe, comp); in theora_handle_image() 754 gst_video_frame_unmap (&vframe); in theora_handle_image()
|
D | gsttheoraenc.c | 975 GstVideoFrame vframe; in theora_enc_handle_frame() local 994 gst_video_frame_map (&vframe, &enc->input_state->info, frame->input_buffer, in theora_enc_handle_frame() 996 theora_enc_init_buffer (ycbcr, &vframe); in theora_enc_handle_frame() 999 gst_video_frame_unmap (&vframe); in theora_enc_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/ext/x265/ |
D | gstx265enc.c | 581 GstVideoFrame vframe; member 588 GstVideoFrame vframe; in gst_x265_enc_queue_frame() local 591 if (!gst_video_frame_map (&vframe, info, frame->input_buffer, GST_MAP_READ)) in gst_x265_enc_queue_frame() 596 fdata->vframe = vframe; in gst_x265_enc_queue_frame() 614 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_frame() 631 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_all_frames() 1483 pic_in.planes[i] = GST_VIDEO_FRAME_PLANE_DATA (&fdata->vframe, i); in gst_x265_enc_handle_frame() 1484 pic_in.stride[i] = GST_VIDEO_FRAME_COMP_STRIDE (&fdata->vframe, i); in gst_x265_enc_handle_frame()
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvbaseenc.c | 2299 GstVideoFrame * vframe, GstNvEncFrameState * state, void *inputBufferPtr, in _submit_input_buffer() argument 2318 pic_params.inputWidth = GST_VIDEO_FRAME_WIDTH (vframe); in _submit_input_buffer() 2319 pic_params.inputHeight = GST_VIDEO_FRAME_HEIGHT (vframe); in _submit_input_buffer() 2322 if (GST_VIDEO_FRAME_IS_INTERLACED (vframe)) { in _submit_input_buffer() 2323 if (GST_VIDEO_FRAME_IS_TFF (vframe)) in _submit_input_buffer() 2411 GstVideoFrame vframe; in gst_nv_base_enc_handle_frame() local 2465 if (!gst_video_frame_map (&vframe, info, frame->input_buffer, in_map_flags)) { in gst_nv_base_enc_handle_frame() 2472 gst_video_frame_unmap (&vframe); in gst_nv_base_enc_handle_frame() 2493 data.info = &vframe.info; in gst_nv_base_enc_handle_frame() 2505 &vframe, resource, use_device_memory)) { in gst_nv_base_enc_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/ |
D | dxgicapture.c | 567 GstVideoFrame vframe; in dxgicap_copy_buffer() local 583 if (gst_video_frame_map (&vframe, video_info, buf, GST_MAP_WRITE)) { in dxgicap_copy_buffer() 590 frame_buffer = GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in dxgicap_copy_buffer() 597 stride_dst = GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in dxgicap_copy_buffer() 603 gst_video_frame_unmap (&vframe); in dxgicap_copy_buffer() 619 gst_video_frame_unmap (&vframe); in dxgicap_copy_buffer()
|
/third_party/gstreamer/gstplugins_bad/sys/decklink/ |
D | gstdecklinkvideosink.cpp | 1212 GstVideoFrame vframe; in gst_decklink_video_sink_prepare() local 1282 if (!gst_video_frame_map (&vframe, &self->info, buffer, GST_MAP_READ)) { in gst_decklink_video_sink_prepare() 1289 indata = (guint8 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in gst_decklink_video_sink_prepare() 1291 MIN (GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0), frame->GetRowBytes ()); in gst_decklink_video_sink_prepare() 1294 indata += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in gst_decklink_video_sink_prepare() 1297 gst_video_frame_unmap (&vframe); in gst_decklink_video_sink_prepare()
|