Home
last modified time | relevance | path

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

/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/vp9/
Dvp9_iface_common.c47 img->planes[VPX_PLANE_Y] = yv12->y_buffer; in yuvconfig2image()
51 img->stride[VPX_PLANE_Y] = yv12->y_stride; in yuvconfig2image()
61 img->planes[VPX_PLANE_Y] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->y_buffer); in yuvconfig2image()
65 img->stride[VPX_PLANE_Y] = 2 * yv12->y_stride; in yuvconfig2image()
80 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
98 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
126 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2; in image2yuvconfig()
/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/
Dtools_common.c570 match &= (memcmp(img1->planes[VPX_PLANE_Y] + i * img1->stride[VPX_PLANE_Y], in compare_img()
571 img2->planes[VPX_PLANE_Y] + i * img2->stride[VPX_PLANE_Y], in compare_img()
605 plane1 = (uint16_t *)img1->planes[VPX_PLANE_Y]; in find_mismatch_high()
606 plane2 = (uint16_t *)img2->planes[VPX_PLANE_Y]; in find_mismatch_high()
607 stride1 = img1->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
608 stride2 = img2->stride[VPX_PLANE_Y] / 2; in find_mismatch_high()
703 if (*(img1->planes[VPX_PLANE_Y] + in find_mismatch()
704 (i + k) * img1->stride[VPX_PLANE_Y] + j + l) != in find_mismatch()
705 *(img2->planes[VPX_PLANE_Y] + in find_mismatch()
706 (i + k) * img2->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()
906 const int PLANES_YUV[] = { VPX_PLANE_Y, VPX_PLANE_U, VPX_PLANE_V }; in main_loop()
907 const int PLANES_YVU[] = { VPX_PLANE_Y, VPX_PLANE_V, VPX_PLANE_U }; in main_loop()
Dvpxenc.c1319 (uint16_t *)img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y] / 2, in encode_frame()
1322 img->d_w, img->d_h, (uint16_t *)stream->img->planes[VPX_PLANE_Y], in encode_frame()
1323 stream->img->stride[VPX_PLANE_Y] / 2, in encode_frame()
1351 img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y], in encode_frame()
1354 stream->img->planes[VPX_PLANE_Y], stream->img->stride[VPX_PLANE_Y], in encode_frame()
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/exoplayer/tree/extensions/vp9/src/main/jni/
Dvpx_jni.cc93 reinterpret_cast<uint16_t*>(img->planes[VPX_PLANE_Y]); in convert_16_to_8_neon()
96 const int srcStride = img->stride[VPX_PLANE_Y] / 2; in convert_16_to_8_neon()
97 const int dstStride = img->stride[VPX_PLANE_Y]; in convert_16_to_8_neon()
255 img->planes[VPX_PLANE_Y] + img->stride[VPX_PLANE_Y] * y); in convert_16_to_8_standard()
256 int8_t* destBase = data + img->stride[VPX_PLANE_Y] * y; in convert_16_to_8_standard()
567 img->stride[VPX_PLANE_Y], img->stride[VPX_PLANE_U], colorspace); in DECODER_FUNC()
578 const uint64_t yLength = img->stride[VPX_PLANE_Y] * img->d_h; in DECODER_FUNC()
595 memcpy(data, img->planes[VPX_PLANE_Y], yLength); in DECODER_FUNC()
648 const size_t src_y_stride = srcBuffer->stride[VPX_PLANE_Y]; in DECODER_FUNC()
651 reinterpret_cast<uint8_t*>(srcBuffer->planes[VPX_PLANE_Y]); in DECODER_FUNC()
/external/libvpx/libvpx/examples/
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/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()
538 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
551 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
554 yv12->border = (img->stride[VPX_PLANE_Y] - img->d_w) / 2; in image2yuvconfig()
Dvp8_cx_iface.c721 yv12->y_buffer = img->planes[VPX_PLANE_Y]; in image2yuvconfig()
734 yv12->y_stride = img->stride[VPX_PLANE_Y]; in image2yuvconfig()
737 yv12->border = (img->stride[VPX_PLANE_Y] - img->w) / 2; in image2yuvconfig()
1117 ctx->preview_img.planes[VPX_PLANE_Y] = sd.y_buffer; in vp8e_get_preview()
1127 ctx->preview_img.stride[VPX_PLANE_Y] = sd.y_stride; in vp8e_get_preview()
/external/webrtc/modules/video_coding/codecs/vp8/
Dlibvpx_vp8_encoder.cc1006 raw_images_[0].planes[VPX_PLANE_Y] = in Encode()
1013 raw_images_[0].stride[VPX_PLANE_Y] = input_image->StrideY(); in Encode()
1020 raw_image_.planes[VPX_PLANE_Y] = nullptr; in Encode()
1030 raw_images_[i - 1].planes[VPX_PLANE_Y], in Encode()
1031 raw_images_[i - 1].stride[VPX_PLANE_Y], in Encode()
1036 raw_images_[i - 1].d_h, raw_images_[i].planes[VPX_PLANE_Y], in Encode()
1037 raw_images_[i].stride[VPX_PLANE_Y], raw_images_[i].planes[VPX_PLANE_U], in Encode()
Dlibvpx_vp8_decoder.cc340 libyuv::I420Copy(img->planes[VPX_PLANE_Y], img->stride[VPX_PLANE_Y], in ReturnFrame()
/external/webrtc/modules/video_coding/codecs/vp9/
Dvp9_impl.cc995 raw_->planes[VPX_PLANE_Y] = const_cast<uint8_t*>(i420_buffer->DataY()); in Encode()
998 raw_->stride[VPX_PLANE_Y] = i420_buffer->StrideY(); in Encode()
1021 raw_->planes[VPX_PLANE_Y] = const_cast<uint8_t*>( in Encode()
1027 raw_->stride[VPX_PLANE_Y] = i010_buffer->StrideY() * 2; in Encode()
1865 img->d_w, img->d_h, img->planes[VPX_PLANE_Y], in ReturnFrame()
1866 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
1875 img->d_w, img->d_h, img->planes[VPX_PLANE_Y], in ReturnFrame()
1876 img->stride[VPX_PLANE_Y], img->planes[VPX_PLANE_U], in ReturnFrame()
1893 reinterpret_cast<const uint16_t*>(img->planes[VPX_PLANE_Y]), in ReturnFrame()
1894 img->stride[VPX_PLANE_Y] / 2, in ReturnFrame()
/external/libvpx/libvpx/vpx/
Dvpx_image.h95 #define VPX_PLANE_Y 0 /**< Y (Luminance) plane */ macro
/external/openscreen/cast/standalone_sender/
Dstreaming_vp8_encoder.cc481 image->planes[VPX_PLANE_Y], image->stride[VPX_PLANE_Y]); in CloneAsVpxImage()