Home
last modified time | relevance | path

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

/external/libxcam/wrapper/gstreamer/
Dgstxcamfilter.cpp769 copy_gstbuf_to_xcambuf (GstVideoInfo gstinfo, GstBuffer *gstbuf, SmartPtr<VideoBuffer> xcambuf) in copy_gstbuf_to_xcambuf() argument
787 src = mapinfo.data + GST_VIDEO_INFO_PLANE_OFFSET (&gstinfo, index); in copy_gstbuf_to_xcambuf()
790 memcpy (dest, src, GST_VIDEO_INFO_WIDTH (&gstinfo)); in copy_gstbuf_to_xcambuf()
791 src += GST_VIDEO_INFO_PLANE_STRIDE (&gstinfo, index); in copy_gstbuf_to_xcambuf()
803 copy_xcambuf_to_gstbuf (GstVideoInfo gstinfo, SmartPtr<VideoBuffer> xcambuf, GstBuffer **gstbuf) in copy_xcambuf_to_gstbuf() argument
809 GstBuffer *tmpbuf = gst_buffer_new_allocate (NULL, GST_VIDEO_INFO_SIZE (&gstinfo), NULL); in copy_xcambuf_to_gstbuf()
824 for (uint32_t index = 0; index < GST_VIDEO_INFO_N_PLANES (&gstinfo); index++) { in copy_xcambuf_to_gstbuf()
828 dest = mapinfo.data + GST_VIDEO_INFO_PLANE_OFFSET (&gstinfo, index); in copy_xcambuf_to_gstbuf()
832 dest += GST_VIDEO_INFO_PLANE_STRIDE (&gstinfo, index); in copy_xcambuf_to_gstbuf()