Home
last modified time | relevance | path

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

/external/libvpx/libvpx/
Dtools_common.c77 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame) { in read_yuv_frame() argument
82 const int bytespp = (yuv_frame->fmt & VPX_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame()
86 const int w = vpx_img_plane_width(yuv_frame, plane); in read_yuv_frame()
87 const int h = vpx_img_plane_height(yuv_frame, plane); in read_yuv_frame()
97 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_yuv_frame()
102 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame()
105 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame()
123 ptr += yuv_frame->stride[plane]; in read_yuv_frame()
Dtools_common.h131 int read_yuv_frame(struct VpxInputContext *input_ctx, vpx_image_t *yuv_frame);
/external/libaom/libaom/common/
Dtools_common.c78 int read_yuv_frame(struct AvxInputContext *input_ctx, aom_image_t *yuv_frame) { in read_yuv_frame() argument
83 const int bytespp = (yuv_frame->fmt & AOM_IMG_FMT_HIGHBITDEPTH) ? 2 : 1; in read_yuv_frame()
87 const int w = aom_img_plane_width(yuv_frame, plane); in read_yuv_frame()
88 const int h = aom_img_plane_height(yuv_frame, plane); in read_yuv_frame()
98 yuv_frame->planes[yuv_frame->fmt == AOM_IMG_FMT_YV12 ? AOM_PLANE_V in read_yuv_frame()
103 yuv_frame->planes[yuv_frame->fmt == AOM_IMG_FMT_YV12 ? AOM_PLANE_U in read_yuv_frame()
106 default: ptr = yuv_frame->planes[plane]; in read_yuv_frame()
124 ptr += yuv_frame->stride[plane]; in read_yuv_frame()
Dtools_common.h145 int read_yuv_frame(struct AvxInputContext *input_ctx, aom_image_t *yuv_frame);