Home
last modified time | relevance | path

Searched refs:v_buffer (Results 1 – 25 of 81) sorted by relevance

1234

/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc53 result.v_buffer = result.y_buffer + y_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
54 result.u_buffer = result.v_buffer + 1; in GetYuvDataFromOnePlaneFrameBuffer()
64 result.v_buffer = result.u_buffer + 1; in GetYuvDataFromOnePlaneFrameBuffer()
74 result.v_buffer = result.u_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
78 result.v_buffer = result.y_buffer + y_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
79 result.u_buffer = result.v_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
105 result.v_buffer = result.u_buffer + 1; in GetYuvDataFromTwoPlaneFrameBuffer()
108 result.v_buffer = source.plane(1).buffer; in GetYuvDataFromTwoPlaneFrameBuffer()
109 result.u_buffer = result.v_buffer + 1; in GetYuvDataFromTwoPlaneFrameBuffer()
139 result.v_buffer = source.plane(1).buffer; in GetYuvDataFromThreePlaneFrameBuffer()
[all …]
/external/libvpx/libvpx/vp8/common/
Dswapyv12buffer.c29 temp = last_frame->v_buffer; in vp8_swap_yv12_buffer()
30 last_frame->v_buffer = new_frame->v_buffer; in vp8_swap_yv12_buffer()
31 new_frame->v_buffer = temp; in vp8_swap_yv12_buffer()
Dsetupintrarecon.c28 memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
30 ybf->v_buffer[ybf->uv_stride * i - 1] = (unsigned char)129; in vp8_setup_intra_recon()
37 memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon_top_line()
Dsetupintrarecon.h25 unsigned char *v_buffer, int y_stride, in setup_intra_recon_left() argument
33 for (i = 0; i < 8; ++i) v_buffer[uv_stride * i] = (unsigned char)129; in setup_intra_recon_left()
Dextend.c85 copy_and_extend_plane(src->v_buffer, src->uv_stride, dst->v_buffer, in vp8_copy_and_extend_frame()
123 copy_and_extend_plane(src->v_buffer + src_uv_offset, src->uv_stride, in vp8_copy_and_extend_frame_with_rect()
124 dst->v_buffer + dst_uv_offset, dst->uv_stride, srch, in vp8_copy_and_extend_frame_with_rect()
/external/libaom/libaom/av1/encoder/
Dextend.c130 if (src->v_buffer) { in av1_copy_and_extend_frame()
132 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in av1_copy_and_extend_frame()
146 if (src->v_buffer) { in av1_copy_and_extend_frame()
147 copy_and_extend_plane(src->v_buffer, src->uv_stride, dst->v_buffer, in av1_copy_and_extend_frame()
/external/libvpx/libvpx/vp8/encoder/
Dencodeintra.c103 xd->dst.v_buffer - xd->dst.uv_stride, in vp8_encode_intra16x16mbuv()
104 xd->dst.u_buffer - 1, xd->dst.v_buffer - 1, in vp8_encode_intra16x16mbuv()
106 xd->dst.v_buffer, xd->dst.uv_stride); in vp8_encode_intra16x16mbuv()
108 vp8_subtract_mbuv(x->src_diff, x->src.u_buffer, x->src.v_buffer, in vp8_encode_intra16x16mbuv()
109 x->src.uv_stride, xd->dst.u_buffer, xd->dst.v_buffer, in vp8_encode_intra16x16mbuv()
Dtemporal_filter.c208 unsigned char *v_buffer = mbd->pre.v_buffer; in vp8_temporal_filter_iterate_c() local
269 cpi->frames[frame]->v_buffer + mb_uv_offset, in vp8_temporal_filter_iterate_c()
282 vp8_temporal_filter_apply(f->v_buffer + mb_uv_offset, f->uv_stride, in vp8_temporal_filter_iterate_c()
308 dst2 = cpi->alt_ref_buffer.v_buffer; in vp8_temporal_filter_iterate_c()
345 mbd->pre.v_buffer = v_buffer; in vp8_temporal_filter_iterate_c()
Ddenoising.c582 filter_xd->pre.v_buffer = src->v_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
586 filter_xd->dst.v_buffer = dst->v_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
593 filter_xd->dst.v_buffer, filter_xd->dst.y_stride, in vp8_denoiser_denoise_mb()
629 denoiser->yv12_mc_running_avg.v_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
631 denoiser->yv12_running_avg[INTRA_FRAME].v_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
666 denoiser->yv12_running_avg[INTRA_FRAME].v_buffer + recon_uvoffset, in vp8_denoiser_denoise_mb()
Dencodeframe.c288 xd->dst.v_buffer + 8); in build_activity_map()
408 xd->dst.v_buffer = cm->yv12_fb[dst_fb_idx].v_buffer + recon_uvoffset; in encode_mb_row()
545 x->src.v_buffer += 8; in encode_mb_row()
561 xd->dst.u_buffer + 8, xd->dst.v_buffer + 8); in encode_mb_row()
783 x->src.v_buffer += in vp8_encode_frame()
869 x->src.v_buffer += 8 * x->src.uv_stride - 8 * cm->mb_cols; in vp8_encode_frame()
1019 this_block->base_src = &x->src.v_buffer; in vp8_build_block_offsets()
1109 xd->dst.u_buffer, xd->dst.v_buffer, in vp8cx_encode_intra_macroblock()
1256 xd->pre.v_buffer = in vp8cx_encode_inter_macroblock()
1257 cpi->common.yv12_fb[ref_fb_idx].v_buffer + recon_uvoffset; in vp8cx_encode_inter_macroblock()
[all …]
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c124 extend_plane(ybf->v_buffer, ybf->uv_stride, ybf->uv_crop_width, in vp8_yv12_extend_frame_borders_c()
154 extend_plane_high(ybf->v_buffer, ybf->uv_stride, c_w, c_h, c_et, c_el, c_eb, in extend_frame()
166 extend_plane(ybf->v_buffer, ybf->uv_stride, c_w, c_h, c_et, c_el, c_eb, c_er); in extend_frame()
222 src = src_ybc->v_buffer; in vp8_yv12_copy_frame_c()
223 dst = dst_ybc->v_buffer; in vp8_yv12_copy_frame_c()
267 src = src_ybc->v_buffer; in vpx_yv12_copy_frame_c()
268 dst = dst_ybc->v_buffer; in vpx_yv12_copy_frame_c()
298 src = src_ybc->v_buffer; in vpx_yv12_copy_frame_c()
299 dst = dst_ybc->v_buffer; in vpx_yv12_copy_frame_c()
Dvpx_scale.c514 Scale2D((unsigned char *)src->v_buffer, src->uv_stride, src->uv_width, in vpx_scale_frame()
515 src->uv_height, (unsigned char *)dst->v_buffer, dst->uv_stride, in vpx_scale_frame()
521 memset(dst->v_buffer + i * dst->uv_stride + dw / 2 - 1, in vpx_scale_frame()
522 dst->v_buffer[i * dst->uv_stride + dw / 2 - 2], in vpx_scale_frame()
527 memcpy(dst->v_buffer + i * dst->uv_stride, in vpx_scale_frame()
528 dst->v_buffer + (dh / 2 - 2) * dst->uv_stride, dst->uv_width); in vpx_scale_frame()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.c49 img->planes[VPX_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
63 img->planes[VPX_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image()
82 yv12->v_buffer = img->planes[VPX_PLANE_V]; in image2yuvconfig()
117 yv12->v_buffer = CONVERT_TO_BYTEPTR(yv12->v_buffer); in image2yuvconfig()
/external/libaom/libaom/av1/
Dav1_iface_common.h56 img->planes[AOM_PLANE_V] = yv12->v_buffer; in yuvconfig2image()
68 img->planes[AOM_PLANE_V] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->v_buffer); in yuvconfig2image()
87 yv12->v_buffer = img->planes[AOM_PLANE_V]; in image2yuvconfig()
125 yv12->v_buffer = CONVERT_TO_BYTEPTR(yv12->v_buffer); in image2yuvconfig()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dlibyuv_frame_buffer_utils.cc89 output_data.uv_row_stride, const_cast<uint8_t*>(output_data.v_buffer), in ConvertFromNv12()
110 const_cast<uint8*>(output_data.v_buffer), in ConvertFromNv12()
141 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.v_buffer, in ConvertFromNv21()
156 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.v_buffer, in ConvertFromNv21()
173 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.v_buffer, in ConvertFromNv21()
176 output_data.uv_row_stride, const_cast<uint8_t*>(output_data.v_buffer), in ConvertFromNv21()
196 libyuv::SwapUVPlane(yuv_data.v_buffer, yuv_data.uv_row_stride, in ConvertFromNv21()
232 yuv_data.uv_row_stride, yuv_data.v_buffer, yuv_data.uv_row_stride, in ConvertFromYv()
247 yuv_data.uv_row_stride, yuv_data.v_buffer, yuv_data.uv_row_stride, in ConvertFromYv()
263 yuv_data.uv_row_stride, yuv_data.v_buffer, yuv_data.uv_row_stride, in ConvertFromYv()
[all …]
/external/libgav1/libgav1/src/
Dframe_buffer.cc126 uint8_t* v_buffer, in Libgav1SetFrameBuffer() argument
131 (u_buffer != nullptr || v_buffer != nullptr)) || in Libgav1SetFrameBuffer()
136 (u_buffer == nullptr || v_buffer == nullptr))) { in Libgav1SetFrameBuffer()
143 frame_buffer->plane[2] = libgav1::AlignAddr(v_buffer + info->uv_plane_offset, in Libgav1SetFrameBuffer()
Dyuv_buffer.cc130 uint8_t* v_buffer = nullptr; in Realloc() local
150 v_buffer = u_buffer + uv_plane_size; in Realloc()
170 AlignAddr(v_buffer + (uv_top_border * uv_stride) + uv_left_border_bytes, in Realloc()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c137 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in vp9_copy_and_extend_frame()
151 copy_and_extend_plane(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_copy_and_extend_frame()
188 copy_and_extend_plane(src->v_buffer + src_uv_offset, src->uv_stride, in vp9_copy_and_extend_frame_with_rect()
189 dst->v_buffer + dst_uv_offset, dst->uv_stride, srcw_uv, in vp9_copy_and_extend_frame_with_rect()
/external/libgav1/libgav1/src/gav1/
Dframe_buffer.h140 uint8_t* v_buffer, void* buffer_private_data,
167 uint8_t* u_buffer, uint8_t* v_buffer, in SetFrameBuffer() argument
170 return Libgav1SetFrameBuffer(info, y_buffer, u_buffer, v_buffer, in SetFrameBuffer()
/external/libvpx/libvpx/test/
Dvpx_scale_test.h50 FillPlane(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
76 FillPlaneExtreme(img_.v_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
160 ExtendPlane(ref_img_.v_buffer, ref_img_.uv_crop_width, in ReferenceExtendBorder()
180 ref_img_.v_buffer[x + y * ref_img_.uv_stride] = in ReferenceCopyFrame()
181 img_.v_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
/external/libaom/libaom/aom_dsp/
Dpsnr.c195 return aom_var_2d_u8(a->v_buffer + vstart * a->uv_stride + hstart, in aom_get_v_var()
237 return get_sse(a->v_buffer + vstart * a->uv_stride + hstart, a->uv_stride, in aom_get_v_sse_part()
238 b->v_buffer + vstart * b->uv_stride + hstart, b->uv_stride, in aom_get_v_sse_part()
247 return get_sse(a->v_buffer, a->uv_stride, b->v_buffer, b->uv_stride, in aom_get_v_sse()
268 return aom_var_2d_u16(a->v_buffer + vstart * a->uv_stride + hstart, in aom_highbd_get_v_var()
315 return highbd_get_sse(a->v_buffer + vstart * a->uv_stride + hstart, in aom_highbd_get_v_sse_part()
317 b->v_buffer + vstart * b->uv_stride + hstart, in aom_highbd_get_v_sse_part()
328 return highbd_get_sse(a->v_buffer, a->uv_stride, b->v_buffer, b->uv_stride, in aom_highbd_get_v_sse()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_frame_scale_ssse3.c773 scale_plane_2_to_1_phase_0(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
783 scale_plane_2_to_1_bilinear(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
799 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_ssse3()
815 scale_plane_4_to_1_phase_0(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
825 scale_plane_4_to_1_bilinear(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
843 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_ssse3()
875 scale_plane_4_to_3_general(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
893 scale_plane_1_to_2_phase_0(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_ssse3()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_frame_scale_neon.c728 scale_plane_2_to_1_phase_0(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_neon()
737 scale_plane_2_to_1_bilinear(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_neon()
753 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_neon()
769 scale_plane_4_to_1_phase_0(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_neon()
778 scale_plane_4_to_1_bilinear(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_neon()
794 src->v_buffer, src->uv_stride, dst->v_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_neon()
817 scale_plane_4_to_3_bilinear(src->v_buffer, src->uv_stride, in vp9_scale_and_extend_frame_neon()
818 dst->v_buffer, dst->uv_stride, dst_uv_w, in vp9_scale_and_extend_frame_neon()
828 scale_plane_4_to_3_general(src->v_buffer, src->uv_stride, dst->v_buffer, in vp9_scale_and_extend_frame_neon()
/external/webrtc/sdk/android/src/jni/
Dwrapped_native_i420_buffer.cc29 ScopedJavaLocalRef<jobject> v_buffer = in WrapI420Buffer() local
35 i420_buffer->StrideY(), u_buffer, i420_buffer->StrideU(), v_buffer, in WrapI420Buffer()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c143 xd->dst.v_buffer, xd->dst.uv_stride); in mt_decode_macroblock()
244 xd->dst.u_buffer, xd->dst.v_buffer, in mt_decode_macroblock()
279 ref_buffer[i][2] = this_fb->v_buffer; in mt_decode_mb_rows()
286 dst_buffer[2] = yv12_fb_new->v_buffer; in mt_decode_mb_rows()
401 xd->dst.v_buffer = dst_buffer[2] + recon_uvoffset; in mt_decode_mb_rows()
422 xd->pre.v_buffer = ref_buffer[ref][2] + recon_uvoffset; in mt_decode_mb_rows()
427 xd->pre.v_buffer = 0; in mt_decode_mb_rows()
465 (xd->dst.v_buffer + 7 * recon_uv_stride), 8); in mt_decode_mb_rows()
481 xd->dst.v_buffer[i * recon_uv_stride + 7]; in mt_decode_mb_rows()
499 xd->dst.v_buffer, recon_y_stride, in mt_decode_mb_rows()
[all …]

1234