/external/libvpx/libvpx/vp9/ |
D | vp9_iface_common.h | 50 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 54 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image() 64 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image() 68 img->stride[VPX_PLANE_Y] = 2 * yv12->y_stride; in yuvconfig2image() 83 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 101 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig() 129 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2; in image2yuvconfig()
|
/external/libvpx/libvpx/test/ |
D | util.h | 33 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] - in compute_psnr() 34 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
|
D | encode_test_driver.cc | 135 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img() 136 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img()
|
/external/libvpx/libvpx/vpx/src/ |
D | vpx_image.c | 143 img->stride[VPX_PLANE_Y] = img->stride[VPX_PLANE_ALPHA] = stride_in_bytes; in img_alloc_helper() 191 img->planes[VPX_PLANE_Y] = in vpx_img_set_rect() 192 data + x * bytes_per_sample + y * img->stride[VPX_PLANE_Y]; in vpx_img_set_rect() 193 data += img->h * img->stride[VPX_PLANE_Y]; in vpx_img_set_rect() 225 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip() 226 img->stride[VPX_PLANE_Y] = -img->stride[VPX_PLANE_Y]; in vpx_img_flip()
|
/external/libvpx/libvpx/examples/ |
D | vp9cx_set_ref.c | 85 match &= (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img() 86 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img() 123 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch() 124 (i + k) * img1->stride[VPX_PLANE_Y] + j + l) != in find_mismatch() 125 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 126 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch() 129 yloc[2] = *(img1->planes[VPX_PLANE_Y] + in find_mismatch() 130 (i + k) * img1->stride[VPX_PLANE_Y] + j + l); in find_mismatch() 131 yloc[3] = *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 132 (i + k) * img2->stride[VPX_PLANE_Y] + j + l); in find_mismatch()
|
D | vp8_multi_resolution_encoder.c | 473 if (raw[0].stride[VPX_PLANE_Y] == (int)raw[0].d_w) in main() 552 raw[i - 1].planes[VPX_PLANE_Y], raw[i - 1].stride[VPX_PLANE_Y], in main() 555 raw[i - 1].d_w, raw[i - 1].d_h, raw[i].planes[VPX_PLANE_Y], in main() 556 raw[i].stride[VPX_PLANE_Y], raw[i].planes[VPX_PLANE_U], in main()
|
/external/libvpx/libvpx/ |
D | vpxenc.c | 624 plane1 = (uint16_t *)img1->planes[VPX_PLANE_Y]; in find_mismatch_high() 625 plane2 = (uint16_t *)img2->planes[VPX_PLANE_Y]; in find_mismatch_high() 626 stride1 = img1->stride[VPX_PLANE_Y] / 2; in find_mismatch_high() 627 stride2 = img2->stride[VPX_PLANE_Y] / 2; in find_mismatch_high() 723 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch() 724 (i + k) * img1->stride[VPX_PLANE_Y] + j + l) != in find_mismatch() 725 *(img2->planes[VPX_PLANE_Y] + in find_mismatch() 726 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch() 729 yloc[2] = *(img1->planes[VPX_PLANE_Y] + in find_mismatch() 730 (i + k) * img1->stride[VPX_PLANE_Y] + j + l); in find_mismatch() [all …]
|
D | vpxdec.c | 137 (uint16_t *)src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y] / 2, in libyuv_scale() 140 src->d_w, src->d_h, (uint16_t *)dst->planes[VPX_PLANE_Y], in libyuv_scale() 141 dst->stride[VPX_PLANE_Y] / 2, (uint16_t *)dst->planes[VPX_PLANE_U], in libyuv_scale() 148 return I420Scale(src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y], in libyuv_scale() 151 src->d_h, dst->planes[VPX_PLANE_Y], dst->stride[VPX_PLANE_Y], in libyuv_scale() 865 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop() 866 const int PLANES_YVU[] = { VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U }; in main_loop()
|
D | y4minput.c | 1142 _img->stride[VPX_PLANE_Y] = _img->stride[VPX_PLANE_ALPHA] = in y4m_input_fetch_frame() 1145 _img->planes[VPX_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
|
/external/libvpx/libvpx/vp8/ |
D | vp8_dx_iface.c | 213 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image() 217 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image() 484 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 497 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig() 500 yv12->border = (img->stride[VPX_PLANE_Y] - img->d_w) / 2; in image2yuvconfig()
|
D | vp8_cx_iface.c | 692 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig() 705 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig() 708 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2; in image2yuvconfig() 1052 ctx->preview_img.planes[VPX_PLANE_Y] = sd.y_buffer; in vp8e_get_preview() 1062 ctx->preview_img.stride[VPX_PLANE_Y] = sd.y_stride; in vp8e_get_preview()
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_impl.cc | 743 raw_images_[0].planes[VPX_PLANE_Y] = in Encode() 750 raw_images_[0].stride[VPX_PLANE_Y] = input_image.stride(kYPlane); in Encode() 757 raw_images_[i - 1].planes[VPX_PLANE_Y], in Encode() 758 raw_images_[i - 1].stride[VPX_PLANE_Y], in Encode() 763 raw_images_[i - 1].d_h, raw_images_[i].planes[VPX_PLANE_Y], in Encode() 764 raw_images_[i].stride[VPX_PLANE_Y], raw_images_[i].planes[VPX_PLANE_U], in Encode() 1340 libyuv::I420Copy(img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y], in ReturnFrame()
|
/external/libvpx/libvpx/vpx/ |
D | vpx_image.h | 112 #define VPX_PLANE_Y 0 /**< Y (Luminance) plane */ macro
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 503 raw_->planes[VPX_PLANE_Y] = const_cast<uint8_t*>(input_image.buffer(kYPlane)); in Encode() 506 raw_->stride[VPX_PLANE_Y] = input_image.stride(kYPlane); in Encode() 945 img->d_w, img->d_h, img->planes[VPX_PLANE_Y], in ReturnFrame() 946 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
|