Home
last modified time | relevance | path

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

/external/opencv3/modules/videoio/src/
Dcap_xine.cpp75 IplImage * yuv_frame; member
103 for ( int y = 0; y < capture->yuv_frame->height; y++ ) in icvYUY2toBGR()
105 offset = y * capture->yuv_frame->widthStep; in icvYUY2toBGR()
107 for ( int x = 0; x < capture->yuv_frame->width; x++, offset += 3 ) in icvYUY2toBGR()
109 capture->yuv_frame->imageData[ offset + 1 ] = v[ 3 ]; in icvYUY2toBGR()
110 capture->yuv_frame->imageData[ offset + 2 ] = v[ 1 ]; in icvYUY2toBGR()
113 capture->yuv_frame->imageData[ offset ] = v[ 2 ]; in icvYUY2toBGR()
118 capture->yuv_frame->imageData[ offset ] = v[ 0 ]; in icvYUY2toBGR()
124 cvCvtColor( capture->yuv_frame, capture->bgr_frame, CV_YCrCb2BGR ); in icvYUY2toBGR()
131 IplImage * yuv = capture->yuv_frame; in icvYV12toBGR()
[all …]
/external/libvpx/libvpx/
Dtools_common.c81 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame() argument
86 const int bytespp = (yuv_frame->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame()
90 const int w = vpx_img_plane_width(yuv_frame, plane); in read_yuv_frame()
91 const int h = vpx_img_plane_height(yuv_frame, plane); in read_yuv_frame()
100 ptr = yuv_frame->planes[ in read_yuv_frame()
101 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V : VPX_PLANE_U]; in read_yuv_frame()
104 ptr = yuv_frame->planes[ in read_yuv_frame()
105 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U : VPX_PLANE_V]; in read_yuv_frame()
108 ptr = yuv_frame->planes[plane]; in read_yuv_frame()
126 ptr += yuv_frame->stride[plane]; in read_yuv_frame()
Dtools_common.h128 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);