Home
last modified time | relevance | path

Searched refs:vframe (Results 1 – 24 of 24) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/mpeg2enc/
Dgstmpeg2encpicturereader.cc119 GstVideoFrame vframe; in LoadFrame() local
135 gst_video_frame_map (&vframe, &enc->vinfo, enc->buffer, GST_MAP_READ); in LoadFrame()
140 frame = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0); in LoadFrame()
141 s = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in LoadFrame()
156 frame = GST_VIDEO_FRAME_COMP_DATA (&vframe, 1); in LoadFrame()
157 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()
178 gst_video_frame_unmap (&vframe); in LoadFrame()
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpenc.c254 GstVideoFrame vframe; in gst_webp_enc_handle_frame() local
260 if (!gst_video_frame_map (&vframe, &enc->input_state->info, in gst_webp_enc_handle_frame()
265 enc->webp_picture.y = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0); in gst_webp_enc_handle_frame()
266 enc->webp_picture.u = GST_VIDEO_FRAME_COMP_DATA (&vframe, 1); in gst_webp_enc_handle_frame()
267 enc->webp_picture.v = GST_VIDEO_FRAME_COMP_DATA (&vframe, 2); in gst_webp_enc_handle_frame()
269 enc->webp_picture.y_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in gst_webp_enc_handle_frame()
270 enc->webp_picture.uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 1); in gst_webp_enc_handle_frame()
276 GST_VIDEO_FRAME_COMP_DATA (&vframe, 0), in gst_webp_enc_handle_frame()
277 GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0)); in gst_webp_enc_handle_frame()
281 GST_VIDEO_FRAME_COMP_DATA (&vframe, 0), in gst_webp_enc_handle_frame()
[all …]
Dgstwebpdec.c426 GstVideoFrame vframe; in gst_webp_dec_handle_frame() local
447 if (!gst_video_frame_map (&vframe, &webpdec->output_state->info, in gst_webp_dec_handle_frame()
462 webpdec->config.output.u.RGBA.rgba = (uint8_t *) vframe.map[0].data; in gst_webp_dec_handle_frame()
464 GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0); in gst_webp_dec_handle_frame()
465 webpdec->config.output.u.RGBA.size = GST_VIDEO_FRAME_SIZE (&vframe); in gst_webp_dec_handle_frame()
472 gst_video_frame_unmap (&vframe); in gst_webp_dec_handle_frame()
479 gst_video_frame_unmap (&vframe); in gst_webp_dec_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/rsvg/
Dgstrsvgdec.c160 GstVideoFrame vframe; in gst_rsvg_decode_image() local
206 if (!gst_video_frame_map (&vframe, in gst_rsvg_decode_image()
214 cairo_image_surface_create_for_data (GST_VIDEO_FRAME_PLANE_DATA (&vframe, in gst_rsvg_decode_image()
215 0), CAIRO_FORMAT_ARGB32, GST_VIDEO_FRAME_WIDTH (&vframe), in gst_rsvg_decode_image()
216 GST_VIDEO_FRAME_HEIGHT (&vframe), GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, in gst_rsvg_decode_image()
245 gst_rsvg_decode_unpremultiply (GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0), in gst_rsvg_decode_image()
246 GST_VIDEO_FRAME_WIDTH (&vframe), GST_VIDEO_FRAME_HEIGHT (&vframe)); in gst_rsvg_decode_image()
250 gst_video_frame_unmap (&vframe); in gst_rsvg_decode_image()
/third_party/gstreamer/gstplugins_bad/ext/openni2/
Dgstopenni2src.cpp642 GstVideoFrame vframe; in openni2_read_gstbuffer() local
670 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer()
672 guint8 *pData = (guint8 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in openni2_read_gstbuffer()
684 pData += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in openni2_read_gstbuffer()
688 gst_video_frame_unmap (&vframe); in openni2_read_gstbuffer()
704 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer()
706 guint16 *pData = (guint16 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in openni2_read_gstbuffer()
712 pData += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0) / 2; in openni2_read_gstbuffer()
714 gst_video_frame_unmap (&vframe); in openni2_read_gstbuffer()
730 gst_video_frame_map (&vframe, &src->info, buf, GST_MAP_WRITE); in openni2_read_gstbuffer()
[all …]
/third_party/libunwind/tests/
Dia64-test-dyn1.c98 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/
Dgstpngenc.c270 GstVideoFrame vframe; in gst_pngenc_handle_frame() local
307 if (!gst_video_frame_map (&vframe, &pngenc->input_state->info, in gst_pngenc_handle_frame()
318 row_pointers[row_index] = GST_VIDEO_FRAME_COMP_DATA (&vframe, 0) + in gst_pngenc_handle_frame()
319 (row_index * GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 0)); in gst_pngenc_handle_frame()
330 gst_video_frame_unmap (&vframe); in gst_pngenc_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/libde265/
Dlibde265-dec.c219 GstVideoFrame vframe; member
228 gst_video_frame_unmap (&ref->vframe); in gst_libde265_dec_release_frame_ref()
294 if (!gst_video_frame_map (&ref->vframe, info, ref->buffer, GST_MAP_READWRITE)) { in gst_libde265_dec_get_buffer()
300 if (GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, in gst_libde265_dec_get_buffer()
301 0) < width * GST_VIDEO_FRAME_COMP_PSTRIDE (&ref->vframe, 0)) { in gst_libde265_dec_get_buffer()
303 GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, 0), width, in gst_libde265_dec_get_buffer()
304 GST_VIDEO_FRAME_COMP_PSTRIDE (&ref->vframe, 0)); in gst_libde265_dec_get_buffer()
308 if (GST_VIDEO_FRAME_COMP_HEIGHT (&ref->vframe, 0) < height) { in gst_libde265_dec_get_buffer()
310 GST_VIDEO_FRAME_COMP_HEIGHT (&ref->vframe, 0), height); in gst_libde265_dec_get_buffer()
316 int stride = GST_VIDEO_FRAME_PLANE_STRIDE (&ref->vframe, i); in gst_libde265_dec_get_buffer()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/nvenc/
Dgstnvbaseenc.c1621 GstVideoFrame * vframe, void *inputBuffer, void *inputBufferPtr, in _submit_input_buffer() argument
1636 pic_params.inputWidth = GST_VIDEO_FRAME_WIDTH (vframe); in _submit_input_buffer()
1637 pic_params.inputHeight = GST_VIDEO_FRAME_HEIGHT (vframe); in _submit_input_buffer()
1640 if (GST_VIDEO_FRAME_IS_INTERLACED (vframe)) { in _submit_input_buffer()
1641 if (GST_VIDEO_FRAME_IS_TFF (vframe)) in _submit_input_buffer()
1693 GstVideoFrame vframe; in gst_nv_base_enc_handle_frame() local
1711 if (!gst_video_frame_map (&vframe, info, frame->input_buffer, in_map_flags)) in gst_nv_base_enc_handle_frame()
1744 data.info = &vframe.info; in gst_nv_base_enc_handle_frame()
1778 _submit_input_buffer (nvenc, frame, &vframe, in_gl_resource, in gst_nv_base_enc_handle_frame()
1810 width = GST_VIDEO_FRAME_WIDTH (&vframe); in gst_nv_base_enc_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openexr/
Dgstopenexrdec.cpp316 GstVideoFrame vframe; in gst_openexr_dec_handle_frame() local
388 if (!gst_video_frame_map (&vframe, &self->output_state->info, in gst_openexr_dec_handle_frame()
414 gst_video_frame_unmap (&vframe); in gst_openexr_dec_handle_frame()
422 guint16 *dest = (guint16 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in gst_openexr_dec_handle_frame()
423 guint dstride = GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in gst_openexr_dec_handle_frame()
444 gst_video_frame_unmap (&vframe); in gst_openexr_dec_handle_frame()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dgstjpegdec.c1145 gst_jpeg_dec_decode (GstJpegDec * dec, GstVideoFrame * vframe, guint width, in gst_jpeg_dec_decode() argument
1151 gst_jpeg_dec_decode_rgb (dec, vframe, field, num_fields); in gst_jpeg_dec_decode()
1153 gst_jpeg_dec_decode_grayscale (dec, vframe, field, num_fields); in gst_jpeg_dec_decode()
1169 gst_jpeg_dec_decode_indirect (dec, vframe, in gst_jpeg_dec_decode()
1174 ret = gst_jpeg_dec_decode_direct (dec, vframe, field, num_fields); in gst_jpeg_dec_decode()
1194 GstVideoFrame vframe; in gst_jpeg_dec_handle_frame() local
1285 if (!gst_video_frame_map (&vframe, &state->info, frame->output_buffer, in gst_jpeg_dec_handle_frame()
1291 gst_video_frame_unmap (&vframe); in gst_jpeg_dec_handle_frame()
1298 ret = gst_jpeg_dec_decode (dec, &vframe, width, height, 1, num_fields); in gst_jpeg_dec_handle_frame()
1300 gst_video_frame_unmap (&vframe); in gst_jpeg_dec_handle_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/applemedia/
Dvtenc.c1199 GstVTEncFrame *vframe; in gst_vtenc_encode_frame() local
1202 vframe = gst_vtenc_frame_new (frame->input_buffer, &self->video_info); in gst_vtenc_encode_frame()
1203 if (!vframe) in gst_vtenc_encode_frame()
1207 const size_t num_planes = GST_VIDEO_FRAME_N_PLANES (&vframe->videoframe); in gst_vtenc_encode_frame()
1217 GST_VIDEO_FRAME_PLANE_DATA (&vframe->videoframe, i); in gst_vtenc_encode_frame()
1218 plane_widths[i] = GST_VIDEO_FRAME_COMP_WIDTH (&vframe->videoframe, i); in gst_vtenc_encode_frame()
1219 plane_heights[i] = GST_VIDEO_FRAME_COMP_HEIGHT (&vframe->videoframe, i); in gst_vtenc_encode_frame()
1221 GST_VIDEO_FRAME_COMP_STRIDE (&vframe->videoframe, i); in gst_vtenc_encode_frame()
1223 GST_VIDEO_FRAME_COMP_STRIDE (&vframe->videoframe, i); in gst_vtenc_encode_frame()
1237 gst_vtenc_frame_free (vframe); in gst_vtenc_encode_frame()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavvidenc.c486 GstVideoFrame vframe; member
494 gst_video_frame_unmap (&info->vframe); in buffer_info_free()
587 if (!gst_video_frame_map (&buffer_info->vframe, info, frame->input_buffer, in gst_ffmpegvidenc_send_frame()
601 picture->data[c] = GST_VIDEO_FRAME_PLANE_DATA (&buffer_info->vframe, c); in gst_ffmpegvidenc_send_frame()
603 GST_VIDEO_FRAME_COMP_STRIDE (&buffer_info->vframe, c); in gst_ffmpegvidenc_send_frame()
611 picture->width = GST_VIDEO_FRAME_WIDTH (&buffer_info->vframe); in gst_ffmpegvidenc_send_frame()
612 picture->height = GST_VIDEO_FRAME_HEIGHT (&buffer_info->vframe); in gst_ffmpegvidenc_send_frame()
Dgstavviddec.c598 GstVideoFrame vframe; member
625 gst_video_frame_unmap (&frame->vframe); in gst_ffmpegviddec_video_frame_free()
839 if (!gst_video_frame_map (&dframe->vframe, &ffmpegdec->pool_info, in gst_ffmpegviddec_get_buffer2()
846 picture->data[c] = GST_VIDEO_FRAME_PLANE_DATA (&dframe->vframe, c); in gst_ffmpegviddec_get_buffer2()
847 picture->linesize[c] = GST_VIDEO_FRAME_PLANE_STRIDE (&dframe->vframe, c); in gst_ffmpegviddec_get_buffer2()
1443 GstVideoFrame vframe; in get_output_buffer() local
1462 if (!gst_video_frame_map (&vframe, info, frame->output_buffer, in get_output_buffer()
1468 pic.width = GST_VIDEO_FRAME_WIDTH (&vframe); in get_output_buffer()
1469 pic.height = GST_VIDEO_FRAME_HEIGHT (&vframe); in get_output_buffer()
1472 pic.data[c] = GST_VIDEO_FRAME_PLANE_DATA (&vframe, c); in get_output_buffer()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamc.c2352 GstVideoFrame vframe; in gst_amc_color_format_copy() local
2362 gst_video_frame_map (&vframe, vinfo, vbuffer, GST_MAP_WRITE); in gst_amc_color_format_copy()
2367 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy()
2370 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy()
2395 vptr = GST_VIDEO_FRAME_COMP_DATA (&vframe, i); in gst_amc_color_format_copy()
2396 height = GST_VIDEO_FRAME_COMP_HEIGHT (&vframe, i); in gst_amc_color_format_copy()
2404 gst_video_frame_unmap (&vframe); in gst_amc_color_format_copy()
2413 GstVideoFrame vframe; in gst_amc_color_format_copy() local
2420 gst_video_frame_map (&vframe, vinfo, vbuffer, GST_MAP_WRITE); in gst_amc_color_format_copy()
2424 v_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, i); in gst_amc_color_format_copy()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/x265/
Dgstx265enc.c445 GstVideoFrame vframe; member
452 GstVideoFrame vframe; in gst_x265_enc_queue_frame() local
455 if (!gst_video_frame_map (&vframe, info, frame->input_buffer, GST_MAP_READ)) in gst_x265_enc_queue_frame()
460 fdata->vframe = vframe; in gst_x265_enc_queue_frame()
478 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_frame()
495 gst_video_frame_unmap (&fdata->vframe); in gst_x265_enc_dequeue_all_frames()
1022 pic_in.planes[i] = GST_VIDEO_FRAME_PLANE_DATA (&fdata->vframe, i); in gst_x265_enc_handle_frame()
1023 pic_in.stride[i] = GST_VIDEO_FRAME_COMP_STRIDE (&fdata->vframe, i); in gst_x265_enc_handle_frame()
/third_party/gstreamer/gstplugins_base/ext/theora/
Dgsttheoradec.c654 GstVideoFrame vframe; in theora_handle_image() local
723 if (G_UNLIKELY (!gst_video_frame_map (&vframe, &dec->uncropped_info, in theora_handle_image()
729 GST_VIDEO_FORMAT_INFO_SCALE_WIDTH (vframe.info.finfo, comp, pic_width); in theora_handle_image()
731 GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (vframe.info.finfo, comp, in theora_handle_image()
733 stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, comp); in theora_handle_image()
734 dest = GST_VIDEO_FRAME_COMP_DATA (&vframe, comp); in theora_handle_image()
748 gst_video_frame_unmap (&vframe); in theora_handle_image()
Dgsttheoraenc.c971 GstVideoFrame vframe; in theora_enc_handle_frame() local
990 gst_video_frame_map (&vframe, &enc->input_state->info, frame->input_buffer, in theora_enc_handle_frame()
992 theora_enc_init_buffer (ycbcr, &vframe); in theora_enc_handle_frame()
995 gst_video_frame_unmap (&vframe); in theora_enc_handle_frame()
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegenc.c871 GstVideoFrame vframe; in gst_openjpeg_enc_handle_frame() local
904 if (!gst_video_frame_map (&vframe, &self->input_state->info, in gst_openjpeg_enc_handle_frame()
908 image = gst_openjpeg_enc_fill_image (self, &vframe); in gst_openjpeg_enc_handle_frame()
911 gst_video_frame_unmap (&vframe); in gst_openjpeg_enc_handle_frame()
913 if (vframe.info.finfo->flags & GST_VIDEO_FORMAT_FLAG_RGB) { in gst_openjpeg_enc_handle_frame()
1028 gst_video_frame_unmap (&vframe); in gst_openjpeg_enc_handle_frame()
Dgstopenjpegdec.c1066 GstVideoFrame vframe; in gst_openjpeg_dec_handle_frame() local
1171 if (!gst_video_frame_map (&vframe, &self->output_state->info, in gst_openjpeg_dec_handle_frame()
1175 self->fill_frame (&vframe, image); in gst_openjpeg_dec_handle_frame()
1177 gst_video_frame_unmap (&vframe); in gst_openjpeg_dec_handle_frame()
/third_party/gstreamer/gstplugins_bad/sys/decklink/
Dgstdecklinkvideosink.cpp890 GstVideoFrame vframe; in gst_decklink_video_sink_prepare() local
960 if (!gst_video_frame_map (&vframe, &self->info, buffer, GST_MAP_READ)) { in gst_decklink_video_sink_prepare()
967 indata = (guint8 *) GST_VIDEO_FRAME_PLANE_DATA (&vframe, 0); in gst_decklink_video_sink_prepare()
969 MIN (GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0), frame->GetRowBytes ()); in gst_decklink_video_sink_prepare()
972 indata += GST_VIDEO_FRAME_PLANE_STRIDE (&vframe, 0); in gst_decklink_video_sink_prepare()
975 gst_video_frame_unmap (&vframe); in gst_decklink_video_sink_prepare()
/third_party/gstreamer/gstplugins_bad/ext/aom/
Dgstav1enc.c734 GstVideoFrame vframe; in gst_av1_enc_handle_frame() local
742 gst_video_frame_map (&vframe, &av1enc->input_state->info, in gst_av1_enc_handle_frame()
744 gst_av1_enc_fill_image (av1enc, &vframe, &raw); in gst_av1_enc_handle_frame()
745 gst_video_frame_unmap (&vframe); in gst_av1_enc_handle_frame()
/third_party/gstreamer/gstplugins_good/ext/vpx/
Dgstvpxenc.c1871 GstVideoFrame vframe; in gst_vpx_enc_handle_frame() local
1885 gst_video_frame_map (&vframe, &encoder->input_state->info, in gst_vpx_enc_handle_frame()
1887 image = gst_vpx_enc_buffer_to_image (encoder, &vframe); in gst_vpx_enc_handle_frame()
1925 gst_video_frame_unmap (&vframe); in gst_vpx_enc_handle_frame()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkenc.c1303 GstVideoFrame vframe; in gst_msdkenc_handle_frame() local
1317 if (!gst_video_frame_map (&vframe, info, frame->input_buffer, GST_MAP_READ)) in gst_msdkenc_handle_frame()
1341 gst_video_frame_unmap (&vframe); in gst_msdkenc_handle_frame()