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.c125 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/vp9/
Dvp9_iface_common.c49 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
53 img->stride[VPX_PLANE_V] = yv12->uv_stride; in yuvconfig2image()
63 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image()
67 img->stride[VPX_PLANE_V] = 2 * yv12->uv_stride; in yuvconfig2image()
82 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
/external/libvpx/libvpx/
Dtools_common.c105 yuv_frame->planes[yuv_frame->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in read_yuv_frame()
111 : VPX_PLANE_V]; in read_yuv_frame()
580 match &= (memcmp(img1->planes[VPX_PLANE_V] + i * img1->stride[VPX_PLANE_V], in compare_img()
581 img2->planes[VPX_PLANE_V] + i * img2->stride[VPX_PLANE_V], in compare_img()
657 plane1 = (uint16_t *)img1->planes[VPX_PLANE_V]; in find_mismatch_high()
658 plane2 = (uint16_t *)img2->planes[VPX_PLANE_V]; in find_mismatch_high()
659 stride1 = img1->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
660 stride2 = img2->stride[VPX_PLANE_V] / 2; in find_mismatch_high()
754 if (*(img1->planes[VPX_PLANE_V] + in find_mismatch()
755 (i + k) * img1->stride[VPX_PLANE_V] + j + l) != in find_mismatch()
[all …]
Dvpxdec.c160 (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()
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.c1321 (uint16_t *)img->planes[VPX_PLANE_V], img->stride[VPX_PLANE_V] / 2, in encode_frame()
1326 (uint16_t *)stream->img->planes[VPX_PLANE_V], in encode_frame()
1327 stream->img->stride[VPX_PLANE_V] / 2, stream->img->d_w, in encode_frame()
1353 img->planes[VPX_PLANE_V], img->stride[VPX_PLANE_V], img->d_w, img->d_h, in encode_frame()
1356 stream->img->planes[VPX_PLANE_V], stream->img->stride[VPX_PLANE_V], in encode_frame()
Dy4minput.c1121 _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/libvpx/libvpx/test/
Dencode_test_driver.cc152 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/exoplayer/tree/extensions/vp9/src/main/jni/
Dvpx_jni.cc180 reinterpret_cast<uint16_t*>(img->planes[VPX_PLANE_V]); in convert_16_to_8_neon()
184 const int srcUVStride = img->stride[VPX_PLANE_V] / 2; in convert_16_to_8_neon()
185 const int dstUVStride = img->stride[VPX_PLANE_V]; in convert_16_to_8_neon()
273 img->planes[VPX_PLANE_V] + img->stride[VPX_PLANE_V] * y); in convert_16_to_8_standard()
276 data + yLength + uvLength + img->stride[VPX_PLANE_V] * y; in convert_16_to_8_standard()
597 memcpy(data + yLength + uvLength, img->planes[VPX_PLANE_V], uvLength); in DECODER_FUNC()
667 reinterpret_cast<uint8_t*>(srcBuffer->planes[VPX_PLANE_V]); in DECODER_FUNC()
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c95 ptr = img->planes[img->fmt == VPX_IMG_FMT_YV12 ? VPX_PLANE_V in mulres_read_frame_by_row()
100 : VPX_PLANE_V]; in mulres_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/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.h97 #define VPX_PLANE_V 2 /**< V (Chroma) plane */ macro
/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()
/external/libvpx/libvpx/vp8/
Dvp8_dx_iface.c221 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
225 img->stride[VPX_PLANE_V] = yv12->uv_stride; in yuvconfig2image()
540 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
Dvp8_cx_iface.c723 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
1119 ctx->preview_img.planes[VPX_PLANE_V] = sd.v_buffer; in vp8e_get_preview()
1129 ctx->preview_img.stride[VPX_PLANE_V] = sd.uv_stride; in vp8e_get_preview()