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.c144 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper()
196 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
198 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
199 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
208 img->planes[VPX_PLANE_U] = in vpx_img_set_rect()
210 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_U]; in vpx_img_set_rect()
228 img->planes[VPX_PLANE_U] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip()
229 img->stride[VPX_PLANE_U]; in vpx_img_flip()
230 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()
552 raw[i - 1].planes[VPX_PLANE_U], raw[i - 1].stride[VPX_PLANE_U], in main()
555 raw[i].stride[VPX_PLANE_Y], raw[i].planes[VPX_PLANE_U], in main()
556 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.cc143 match = (memcmp(img1->planes[VPX_PLANE_U] + i * img1->stride[VPX_PLANE_U], in compare_img()
144 img2->planes[VPX_PLANE_U] + i * img2->stride[VPX_PLANE_U], in compare_img()
/external/libvpx/libvpx/
Dvpxenc.c629 plane1 = (uint16_t *)img1->planes[VPX_PLANE_U]; in find_mismatch_high()
630 plane2 = (uint16_t *)img2->planes[VPX_PLANE_U]; in find_mismatch_high()
631 stride1 = img1->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
632 stride2 = img2->stride[VPX_PLANE_U] / 2; in find_mismatch_high()
728 if (*(img1->planes[VPX_PLANE_U] + in find_mismatch()
729 (i + k) * img1->stride[VPX_PLANE_U] + j + l) != in find_mismatch()
730 *(img2->planes[VPX_PLANE_U] + in find_mismatch()
731 (i + k) * img2->stride[VPX_PLANE_U] + j + l)) { in find_mismatch()
734 uloc[2] = *(img1->planes[VPX_PLANE_U] + in find_mismatch()
735 (i + k) * img1->stride[VPX_PLANE_U] + j + l); in find_mismatch()
[all …]
Dvpxdec.c136 (uint16_t *)src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U] / 2, in libyuv_scale()
139 dst->stride[VPX_PLANE_Y] / 2, (uint16_t *)dst->planes[VPX_PLANE_U], in libyuv_scale()
140 dst->stride[VPX_PLANE_U] / 2, (uint16_t *)dst->planes[VPX_PLANE_V], in libyuv_scale()
147 src->planes[VPX_PLANE_U], src->stride[VPX_PLANE_U], in libyuv_scale()
150 dst->planes[VPX_PLANE_U], dst->stride[VPX_PLANE_U], in libyuv_scale()
853 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop()
854 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.c1128 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
1130 _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.c215 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
219 img->stride[VPX_PLANE_U] = yv12->uv_stride; in yuvconfig2image()
485 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
498 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
Dvp8_cx_iface.c693 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
706 yv12->uv_stride = img->stride[VPX_PLANE_U]; in image2yuvconfig()
1053 ctx->preview_img.planes[VPX_PLANE_U] = sd.u_buffer; in vp8e_get_preview()
1063 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()