Home
last modified time | relevance | path

Searched refs:VPX_PLANE_V (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()
200 img->planes[VPX_PLANE_V] = in vpx_img_set_rect()
202 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
204 img->planes[VPX_PLANE_V] = in vpx_img_set_rect()
206 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
207 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect()
232 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip()
233 img->stride[VPX_PLANE_V]; in vpx_img_flip()
234 img->stride[VPX_PLANE_V] = -img->stride[VPX_PLANE_V]; in vpx_img_flip()
/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c95 match &= (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img()
96 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
174 if (*(img1->planes[VPX_PLANE_V] + in find_mismatch()
175 (i + k) * img1->stride[VPX_PLANE_V] + j + l) != in find_mismatch()
176 *(img2->planes[VPX_PLANE_V] + in find_mismatch()
177 (i + k) * img2->stride[VPX_PLANE_V] + j + l)) { in find_mismatch()
180 vloc[2] = *(img1->planes[VPX_PLANE_V] + in find_mismatch()
181 (i + k) * img1->stride[VPX_PLANE_V] + j + l); in find_mismatch()
182 vloc[3] = *(img2->planes[VPX_PLANE_V] + in find_mismatch()
183 (i + k) * img2->stride[VPX_PLANE_V] + j + l); in find_mismatch()
Dvp8_multi_resolution_encoder.c95 ptr = img->planes[img->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_frame_by_row()
100 : VPX_PLANE_V]; in read_frame_by_row()
553 raw[i - 1].planes[VPX_PLANE_V], raw[i - 1].stride[VPX_PLANE_V], in main()
556 raw[i].stride[VPX_PLANE_U], raw[i].planes[VPX_PLANE_V], in main()
557 raw[i].stride[VPX_PLANE_V], raw[i].d_w, raw[i].d_h, 1); in main()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h52 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
56 img->stride[VPX_PLANE_V] = yv12->uv_stride; in yuvconfig2image()
66 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image()
70 img->stride[VPX_PLANE_V] = 2 * yv12->uv_stride; in yuvconfig2image()
85 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
/external/libvpx/libvpx/test/
Dencode_test_driver.cc149 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img()
150 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
/external/libvpx/libvpx/
Dvpxenc.c655 plane1 = (uint16_t *)img1->planes[VPX_PLANE_V]; in find_mismatch_high()
656 plane2 = (uint16_t *)img2->planes[VPX_PLANE_V]; in find_mismatch_high()
657 stride1 = img1->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
658 stride2 = img2->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
753 if (*(img1->planes[VPX_PLANE_V] + in find_mismatch()
754 (i + k) * img1->stride[VPX_PLANE_V] + j + l) != in find_mismatch()
755 *(img2->planes[VPX_PLANE_V] + in find_mismatch()
756 (i + k) * img2->stride[VPX_PLANE_V] + j + l)) { in find_mismatch()
759 vloc[2] = *(img1->planes[VPX_PLANE_V] + in find_mismatch()
760 (i + k) * img1->stride[VPX_PLANE_V] + j + l); in find_mismatch()
[all …]
Dvpxdec.c137 (uint16_t *)src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V] / 2, in libyuv_scale()
140 dst->stride[VPX_PLANE_U] / 2, (uint16_t *)dst->planes[VPX_PLANE_V], in libyuv_scale()
141 dst->stride[VPX_PLANE_V] / 2, dst->d_w, dst->d_h, mode); in libyuv_scale()
148 src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V], src->d_w, in libyuv_scale()
151 dst->planes[VPX_PLANE_V], dst->stride[VPX_PLANE_V], dst->d_w, 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.c97 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_yuv_frame()
103 : VPX_PLANE_V]; in read_yuv_frame()
Dy4minput.c1128 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame()
1131 _img->planes[VPX_PLANE_V] = _y4m->dst_buf + pic_sz + c_sz; in y4m_input_fetch_frame()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc747 raw_images_[0].planes[VPX_PLANE_V] = in Encode()
752 raw_images_[0].stride[VPX_PLANE_V] = input_image.stride(kVPlane); in Encode()
761 raw_images_[i - 1].planes[VPX_PLANE_V], in Encode()
762 raw_images_[i - 1].stride[VPX_PLANE_V], raw_images_[i - 1].d_w, in Encode()
765 raw_images_[i].stride[VPX_PLANE_U], raw_images_[i].planes[VPX_PLANE_V], in Encode()
766 raw_images_[i].stride[VPX_PLANE_V], raw_images_[i].d_w, in Encode()
1342 img->planes[VPX_PLANE_V], img->stride[VPX_PLANE_V], in ReturnFrame()
/external/libvpx/libvpx/vpx/
Dvpx_image.h114 #define VPX_PLANE_V 2 /**< V (Chroma) plane */ macro
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c216 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
220 img->stride[VPX_PLANE_V] = yv12->uv_stride; in yuvconfig2image()
486 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
Dvp8_cx_iface.c694 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
1054 ctx->preview_img.planes[VPX_PLANE_V] = sd.v_buffer; in vp8e_get_preview()
1064 ctx->preview_img.stride[VPX_PLANE_V] = sd.uv_stride; in vp8e_get_preview()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc505 raw_->planes[VPX_PLANE_V] = const_cast<uint8_t*>(input_image.buffer(kVPlane)); in Encode()
508 raw_->stride[VPX_PLANE_V] = input_image.stride(kVPlane); in Encode()
947 img->stride[VPX_PLANE_U], img->planes[VPX_PLANE_V], in ReturnFrame()
948 img->stride[VPX_PLANE_V], in ReturnFrame()