Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h50 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/
Dutil.h35 int64_t d = img1->planes[VPX_PLANE_Y][i * img1->stride[VPX_PLANE_Y] + j] - in compute_psnr()
36 img2->planes[VPX_PLANE_Y][i * img2->stride[VPX_PLANE_Y] + j]; in compute_psnr()
Dencode_test_driver.cc138 match = (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img()
139 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img()
/external/libvpx/libvpx/vpx/src/
Dvpx_image.c124 img->stride[VPX_PLANE_Y] = img->stride[VPX_PLANE_ALPHA] = stride_in_bytes; in img_alloc_helper()
172 img->planes[VPX_PLANE_Y] = in vpx_img_set_rect()
173 data + x * bytes_per_sample + y * img->stride[VPX_PLANE_Y]; in vpx_img_set_rect()
174 data += img->h * img->stride[VPX_PLANE_Y]; in vpx_img_set_rect()
206 img->planes[VPX_PLANE_Y] += (signed)(img->d_h - 1) * img->stride[VPX_PLANE_Y]; in vpx_img_flip()
207 img->stride[VPX_PLANE_Y] = -img->stride[VPX_PLANE_Y]; in vpx_img_flip()
/external/libvpx/libvpx/examples/
Dvp9cx_set_ref.c85 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()
Dvp8_multi_resolution_encoder.c473 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/
Dvpxenc.c632 plane1 = (uint16_t *)img1->planes[VPX_PLANE_Y]; in find_mismatch_high()
633 plane2 = (uint16_t *)img2->planes[VPX_PLANE_Y]; in find_mismatch_high()
634 stride1 = img1->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
635 stride2 = img2->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
731 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch()
732 (i + k) * img1->stride[VPX_PLANE_Y] + j + l) != in find_mismatch()
733 *(img2->planes[VPX_PLANE_Y] + in find_mismatch()
734 (i + k) * img2->stride[VPX_PLANE_Y] + j + l)) { in find_mismatch()
737 yloc[2] = *(img1->planes[VPX_PLANE_Y] + in find_mismatch()
738 (i + k) * img1->stride[VPX_PLANE_Y] + j + l); in find_mismatch()
[all …]
Dvpxdec.c158 (uint16_t *)src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y] / 2, in libyuv_scale()
161 src->d_w, src->d_h, (uint16_t *)dst->planes[VPX_PLANE_Y], in libyuv_scale()
162 dst->stride[VPX_PLANE_Y] / 2, (uint16_t *)dst->planes[VPX_PLANE_U], in libyuv_scale()
169 return I420Scale(src->planes[VPX_PLANE_Y], src->stride[VPX_PLANE_Y], in libyuv_scale()
172 src->d_h, dst->planes[VPX_PLANE_Y], dst->stride[VPX_PLANE_Y], 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()
Dy4minput.c1119 _img->stride[VPX_PLANE_Y] = _img->stride[VPX_PLANE_ALPHA] = in y4m_input_fetch_frame()
1122 _img->planes[VPX_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c219 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
223 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
537 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
550 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
553 yv12->border = (img->stride[VPX_PLANE_Y] - img->d_w) / 2; in image2yuvconfig()
Dvp8_cx_iface.c691 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
704 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
707 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2; in image2yuvconfig()
1077 ctx->preview_img.planes[VPX_PLANE_Y] = sd.y_buffer; in vp8e_get_preview()
1087 ctx->preview_img.stride[VPX_PLANE_Y] = sd.y_stride; in vp8e_get_preview()
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dvp8_impl.cc743 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/
Dvpx_image.h95 #define VPX_PLANE_Y 0 /**< Y (Luminance) plane */ macro
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc503 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()