/external/libvpx/libvpx/vpx/src/ |
D | vpx_image.c | 125 img->stride[VPX_PLANE_U] = img->stride[VPX_PLANE_V] = stride_in_bytes >> xcs; in img_alloc_helper() 181 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 183 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect() 185 img->planes[VPX_PLANE_V] = in vpx_img_set_rect() 187 (y >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect() 188 data += (img->h >> img->y_chroma_shift) * img->stride[VPX_PLANE_V]; in vpx_img_set_rect() 213 img->planes[VPX_PLANE_V] += (signed)((img->d_h >> img->y_chroma_shift) - 1) * in vpx_img_flip() 214 img->stride[VPX_PLANE_V]; in vpx_img_flip() 215 img->stride[VPX_PLANE_V] = -img->stride[VPX_PLANE_V]; in vpx_img_flip()
|
/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 95 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()
|
D | vp8_multi_resolution_encoder.c | 95 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() 554 raw[i - 1].planes[VPX_PLANE_V], raw[i - 1].stride[VPX_PLANE_V], in main() 557 raw[i].stride[VPX_PLANE_U], raw[i].planes[VPX_PLANE_V], in main() 558 raw[i].stride[VPX_PLANE_V], raw[i].d_w, raw[i].d_h, 1); in main()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 52 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/ |
D | encode_test_driver.cc | 152 match = (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img() 153 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 684 plane1 = (uint16_t *)img1->planes[VPX_PLANE_V]; in find_mismatch_high() 685 plane2 = (uint16_t *)img2->planes[VPX_PLANE_V]; in find_mismatch_high() 686 stride1 = img1->stride[VPX_PLANE_V] / 2; in find_mismatch_high() 687 stride2 = img2->stride[VPX_PLANE_V] / 2; in find_mismatch_high() 782 if (*(img1->planes[VPX_PLANE_V] + in find_mismatch() 783 (i + k) * img1->stride[VPX_PLANE_V] + j + l) != in find_mismatch() 784 *(img2->planes[VPX_PLANE_V] + in find_mismatch() 785 (i + k) * img2->stride[VPX_PLANE_V] + j + l)) { in find_mismatch() 788 vloc[2] = *(img1->planes[VPX_PLANE_V] + in find_mismatch() 789 (i + k) * img1->stride[VPX_PLANE_V] + j + l); in find_mismatch() [all …]
|
D | vpxdec.c | 160 (uint16_t *)src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V] / 2, in libyuv_scale() 163 dst->stride[VPX_PLANE_U] / 2, (uint16_t *)dst->planes[VPX_PLANE_V], in libyuv_scale() 164 dst->stride[VPX_PLANE_V] / 2, dst->d_w, dst->d_h, mode); in libyuv_scale() 171 src->planes[VPX_PLANE_V], src->stride[VPX_PLANE_V], src->d_w, in libyuv_scale() 174 dst->planes[VPX_PLANE_V], dst->stride[VPX_PLANE_V], dst->d_w, 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()
|
D | tools_common.c | 97 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()
|
D | y4minput.c | 1121 _img->stride[VPX_PLANE_U] = _img->stride[VPX_PLANE_V] = c_w; in y4m_input_fetch_frame() 1124 _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/ |
D | vp8_impl.cc | 747 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/ |
D | vpx_image.h | 97 #define VPX_PLANE_V 2 /**< V (Chroma) plane */ macro
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 505 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()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 221 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image() 225 img->stride[VPX_PLANE_V] = yv12->uv_stride; in yuvconfig2image() 539 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
|
D | vp8_cx_iface.c | 693 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig() 1079 ctx->preview_img.planes[VPX_PLANE_V] = sd.v_buffer; in vp8e_get_preview() 1089 ctx->preview_img.stride[VPX_PLANE_V] = sd.uv_stride; in vp8e_get_preview()
|