Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vpx/src/
Dvpx_image.c125 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
177 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
179 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
180 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
189 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
191 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
209 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip()
210 img->stride[VPX_PLANE_U]; in vpx_img_flip()
211 img->stride[VPX_PLANE_U] = -img->stride[VPX_PLANE_U]; in vpx_img_flip()
/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c90 match &= (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
91 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
149 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch()
150 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch()
151 *(img2->planes[VPX_PLANE_U] + in find_mismatch()
152 (i + k) * img2->stride[VPX_PLANE_U] + j + l)) { in find_mismatch()
155 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch()
156 (i + k) * img1->stride[VPX_PLANE_U] + j + l); in find_mismatch()
157 uloc[3] = *(img2->planes[VPX_PLANE_U] + in find_mismatch()
158 (i + k) * img2->stride[VPX_PLANE_U] + j + l); in find_mismatch()
Dvp8_multi_resolution_encoder.c96 : VPX_PLANE_U]; in read_frame_by_row()
99 ptr = img->planes[img->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_frame_by_row()
553 raw[i - 1].planes[VPX_PLANE_U], raw[i - 1].stride[VPX_PLANE_U], in main()
556 raw[i].stride[VPX_PLANE_Y], raw[i].planes[VPX_PLANE_U], in main()
557 raw[i].stride[VPX_PLANE_U], raw[i].planes[VPX_PLANE_V], in main()
/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.cc146 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
147 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
/external/libvpx/libvpx/
Dvpxenc.c658 plane1 = (uint16_t *)img1->planes[VPX_PLANE_U]; in find_mismatch_high()
659 plane2 = (uint16_t *)img2->planes[VPX_PLANE_U]; in find_mismatch_high()
660 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
661 stride2 = img2->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
757 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch()
758 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch()
759 *(img2->planes[VPX_PLANE_U] + in find_mismatch()
760 (i + k) * img2->stride[VPX_PLANE_U] + j + l)) { in find_mismatch()
763 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch()
764 (i + k) * img1->stride[VPX_PLANE_U] + j + l); in find_mismatch()
[all …]
Dvpxdec.c159 (uint16_t *)src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U] / 2, in libyuv_scale()
162 dst->stride[VPX_PLANE_Y] / 2, (uint16_t *)dst->planes[VPX_PLANE_U], in libyuv_scale()
163 dst->stride[VPX_PLANE_U] / 2, (uint16_t *)dst->planes[VPX_PLANE_V], in libyuv_scale()
170 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], in libyuv_scale()
173 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], in libyuv_scale()
905 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop()
906 const int PLANES_YVU[] = { VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U }; in main_loop()
Dtools_common.c98 : VPX_PLANE_U]; in read_yuv_frame()
102 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_U in read_yuv_frame()
Dy4minput.c1121 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
1123 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
/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.c220 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
224 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
538 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
551 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
Dvp8_cx_iface.c692 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
705 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
1078 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview()
1088 ctx->preview_img.stride[VPX_PLANE_U] = sd.uv_stride; in vp8e_get_preview()
/external/libvpx/libvpx/vpx/
Dvpx_image.h96 #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()