Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx/src/
Dvpx_image.c172 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
233 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
235 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
236 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
245 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
247 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
265 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) in vpx_img_flip()
266 * img->stride[VPX_PLANE_U]; in vpx_img_flip()
267 img->stride[VPX_PLANE_U] = -img->stride[VPX_PLANE_U]; in vpx_img_flip()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h51 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
55 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
65 img->planes[VPX_PLANE_U] = (uint8_t*)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
69 img->stride[VPX_PLANE_U] = 2 * yv12->uv_stride; in yuvconfig2image()
84 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
102 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
/external/libvpx/libvpx/test/
Dencode_test_driver.cc160 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
161 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
/external/libvpx/libvpx/
Dvpxenc.c593 plane1 = (uint16_t*)img1->planes[VPX_PLANE_U]; in find_mismatch_high()
594 plane2 = (uint16_t*)img2->planes[VPX_PLANE_U]; in find_mismatch_high()
595 stride1 = img1->stride[VPX_PLANE_U]/2; in find_mismatch_high()
596 stride2 = img2->stride[VPX_PLANE_U]/2; in find_mismatch_high()
692 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch()
693 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch()
694 *(img2->planes[VPX_PLANE_U] + in find_mismatch()
695 (i + k) * img2->stride[VPX_PLANE_U] + j + l)) { in find_mismatch()
698 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch()
699 (i + k) * img1->stride[VPX_PLANE_U] + j + l); in find_mismatch()
[all …]
Dvpxdec.c144 (uint16_t*)src->planes[VPX_PLANE_U], in libyuv_scale()
145 src->stride[VPX_PLANE_U]/2, in libyuv_scale()
151 (uint16_t*)dst->planes[VPX_PLANE_U], in libyuv_scale()
152 dst->stride[VPX_PLANE_U]/2, in libyuv_scale()
162 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], in libyuv_scale()
166 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], in libyuv_scale()
945 const int PLANES_YUV[] = {VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V}; in main_loop()
946 const int PLANES_YVU[] = {VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U}; in main_loop()
Dtools_common.c101 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V : VPX_PLANE_U]; in read_yuv_frame()
105 yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U : VPX_PLANE_V]; in read_yuv_frame()
Dy4minput.c1046 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
1048 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c106 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12? VPX_PLANE_V : VPX_PLANE_U]; in read_frame_by_row()
109 ptr = img->planes[img->fmt==VPX_IMG_FMT_YV12?VPX_PLANE_U : VPX_PLANE_V]; in read_frame_by_row()
605 raw[i-1].planes[VPX_PLANE_U], raw[i-1].stride[VPX_PLANE_U], in main()
609 raw[i].planes[VPX_PLANE_U], raw[i].stride[VPX_PLANE_U], in main()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc745 raw_images_[0].planes[VPX_PLANE_U] = in Encode()
751 raw_images_[0].stride[VPX_PLANE_U] = input_image.stride(kUPlane); in Encode()
759 raw_images_[i - 1].planes[VPX_PLANE_U], in Encode()
760 raw_images_[i - 1].stride[VPX_PLANE_U], in Encode()
764 raw_images_[i].stride[VPX_PLANE_Y], raw_images_[i].planes[VPX_PLANE_U], in Encode()
765 raw_images_[i].stride[VPX_PLANE_U], raw_images_[i].planes[VPX_PLANE_V], in Encode()
1341 img->planes[VPX_PLANE_U], img->stride[VPX_PLANE_U], in ReturnFrame()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c254 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
258 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
564 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
577 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
Dvp8_cx_iface.c740 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
753 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
1144 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview()
1154 ctx->preview_img.stride[VPX_PLANE_U] = sd.uv_stride; in vp8e_get_preview()
/external/libvpx/libvpx/vpx/
Dvpx_image.h113 #define VPX_PLANE_U 1 /**< U (Chroma) plane */ macro
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc504 raw_->planes[VPX_PLANE_U] = const_cast<uint8_t*>(input_image.buffer(kUPlane)); in Encode()
507 raw_->stride[VPX_PLANE_U] = input_image.stride(kUPlane); in Encode()
946 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
947 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame()