Home
last modified time | relevance | path

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

1234

/external/tflite-support/tensorflow_lite_support/cc/task/vision/core/
Dframe_buffer.cc54 result.u_buffer = result.v_buffer + 1; in GetYuvDataFromOnePlaneFrameBuffer()
63 result.u_buffer = result.y_buffer + y_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
64 result.v_buffer = result.u_buffer + 1; in GetYuvDataFromOnePlaneFrameBuffer()
73 result.u_buffer = result.y_buffer + y_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
74 result.v_buffer = result.u_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
79 result.u_buffer = result.v_buffer + uv_buffer_size; in GetYuvDataFromOnePlaneFrameBuffer()
104 result.u_buffer = source.plane(1).buffer; in GetYuvDataFromTwoPlaneFrameBuffer()
105 result.v_buffer = result.u_buffer + 1; in GetYuvDataFromTwoPlaneFrameBuffer()
109 result.u_buffer = result.v_buffer + 1; in GetYuvDataFromTwoPlaneFrameBuffer()
140 result.u_buffer = source.plane(2).buffer; in GetYuvDataFromThreePlaneFrameBuffer()
[all …]
/external/libvpx/libvpx/vp8/common/
Dswapyv12buffer.c25 temp = last_frame->u_buffer; in vp8_swap_yv12_buffer()
26 last_frame->u_buffer = new_frame->u_buffer; in vp8_swap_yv12_buffer()
27 new_frame->u_buffer = temp; in vp8_swap_yv12_buffer()
Dsetupintrarecon.c23 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
25 ybf->u_buffer[ybf->uv_stride * i - 1] = (unsigned char)129; in vp8_setup_intra_recon()
36 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon_top_line()
Dsetupintrarecon.h24 unsigned char *u_buffer, in setup_intra_recon_left() argument
31 for (i = 0; i < 8; ++i) u_buffer[uv_stride * i] = (unsigned char)129; in setup_intra_recon_left()
Dextend.c81 copy_and_extend_plane(src->u_buffer, src->uv_stride, dst->u_buffer, in vp8_copy_and_extend_frame()
119 copy_and_extend_plane(src->u_buffer + src_uv_offset, src->uv_stride, in vp8_copy_and_extend_frame_with_rect()
120 dst->u_buffer + dst_uv_offset, dst->uv_stride, srch, in vp8_copy_and_extend_frame_with_rect()
/external/libaom/libaom/av1/encoder/
Dextend.c125 if (src->u_buffer) { in av1_copy_and_extend_frame()
127 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in av1_copy_and_extend_frame()
141 if (src->u_buffer) { in av1_copy_and_extend_frame()
142 copy_and_extend_plane(src->u_buffer, src->uv_stride, dst->u_buffer, in av1_copy_and_extend_frame()
/external/libvpx/libvpx/vp8/encoder/
Dencodeintra.c102 vp8_build_intra_predictors_mbuv_s(xd, xd->dst.u_buffer - xd->dst.uv_stride, in vp8_encode_intra16x16mbuv()
104 xd->dst.u_buffer - 1, xd->dst.v_buffer - 1, in vp8_encode_intra16x16mbuv()
105 xd->dst.uv_stride, xd->dst.u_buffer, 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.c207 unsigned char *u_buffer = mbd->pre.u_buffer; in vp8_temporal_filter_iterate_c() local
268 cpi->frames[frame]->u_buffer + mb_uv_offset, in vp8_temporal_filter_iterate_c()
278 vp8_temporal_filter_apply(f->u_buffer + mb_uv_offset, f->uv_stride, in vp8_temporal_filter_iterate_c()
307 dst1 = cpi->alt_ref_buffer.u_buffer; in vp8_temporal_filter_iterate_c()
344 mbd->pre.u_buffer = u_buffer; in vp8_temporal_filter_iterate_c()
Ddenoising.c581 filter_xd->pre.u_buffer = src->u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
585 filter_xd->dst.u_buffer = dst->u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
592 filter_xd, filter_xd->dst.y_buffer, filter_xd->dst.u_buffer, in vp8_denoiser_denoise_mb()
625 denoiser->yv12_mc_running_avg.u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
627 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset; in vp8_denoiser_denoise_mb()
660 denoiser->yv12_running_avg[INTRA_FRAME].u_buffer + recon_uvoffset, in vp8_denoiser_denoise_mb()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c119 extend_plane(ybf->u_buffer, ybf->uv_stride, ybf->uv_crop_width, in vp8_yv12_extend_frame_borders_c()
152 extend_plane_high(ybf->u_buffer, ybf->uv_stride, c_w, c_h, c_et, c_el, c_eb, in extend_frame()
164 extend_plane(ybf->u_buffer, ybf->uv_stride, c_w, c_h, c_et, c_el, c_eb, c_er); in extend_frame()
213 src = src_ybc->u_buffer; in vp8_yv12_copy_frame_c()
214 dst = dst_ybc->u_buffer; in vp8_yv12_copy_frame_c()
258 src = src_ybc->u_buffer; in vpx_yv12_copy_frame_c()
259 dst = dst_ybc->u_buffer; in vpx_yv12_copy_frame_c()
289 src = src_ybc->u_buffer; in vpx_yv12_copy_frame_c()
290 dst = dst_ybc->u_buffer; in vpx_yv12_copy_frame_c()
Dvpx_scale.c498 Scale2D((unsigned char *)src->u_buffer, src->uv_stride, src->uv_width, in vpx_scale_frame()
499 src->uv_height, (unsigned char *)dst->u_buffer, dst->uv_stride, in vpx_scale_frame()
505 memset(dst->u_buffer + i * dst->uv_stride + dw / 2 - 1, in vpx_scale_frame()
506 dst->u_buffer[i * dst->uv_stride + dw / 2 - 2], in vpx_scale_frame()
511 memcpy(dst->u_buffer + i * dst->uv_stride, in vpx_scale_frame()
512 dst->u_buffer + (dh / 2 - 2) * dst->uv_stride, dst->uv_width); in vpx_scale_frame()
/external/libaom/libaom/av1/
Dav1_iface_common.h55 img->planes[AOM_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
67 img->planes[AOM_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
86 yv12->u_buffer = img->planes[AOM_PLANE_U]; in image2yuvconfig()
124 yv12->u_buffer = CONVERT_TO_BYTEPTR(yv12->u_buffer); in image2yuvconfig()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.c48 img->planes[VPX_PLANE_U] = yv12->u_buffer; in yuvconfig2image()
62 img->planes[VPX_PLANE_U] = (uint8_t *)CONVERT_TO_SHORTPTR(yv12->u_buffer); in yuvconfig2image()
81 yv12->u_buffer = img->planes[VPX_PLANE_U]; in image2yuvconfig()
116 yv12->u_buffer = CONVERT_TO_BYTEPTR(yv12->u_buffer); in image2yuvconfig()
/external/tflite-support/tensorflow_lite_support/cc/task/vision/utils/
Dlibyuv_frame_buffer_utils.cc54 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromNv12()
69 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromNv12()
86 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromNv12()
88 output_data.y_row_stride, const_cast<uint8_t*>(output_data.u_buffer), in ConvertFromNv12()
109 libyuv::SwapUVPlane(yuv_data.u_buffer, yuv_data.uv_row_stride, in ConvertFromNv12()
175 output_data.y_row_stride, const_cast<uint8_t*>(output_data.u_buffer), in ConvertFromNv21()
197 const_cast<uint8*>(output_data.u_buffer), in ConvertFromNv21()
231 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromYv()
246 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromYv()
262 yuv_data.y_buffer, yuv_data.y_row_stride, yuv_data.u_buffer, in ConvertFromYv()
[all …]
/external/libgav1/libgav1/src/
Dframe_buffer.cc125 uint8_t* y_buffer, uint8_t* u_buffer, in Libgav1SetFrameBuffer() argument
131 (u_buffer != nullptr || v_buffer != nullptr)) || in Libgav1SetFrameBuffer()
136 (u_buffer == nullptr || v_buffer == nullptr))) { in Libgav1SetFrameBuffer()
141 frame_buffer->plane[1] = libgav1::AlignAddr(u_buffer + info->uv_plane_offset, in Libgav1SetFrameBuffer()
Dyuv_buffer.cc129 uint8_t* u_buffer = nullptr; in Realloc() local
149 u_buffer = y_buffer + y_plane_size; in Realloc()
150 v_buffer = u_buffer + uv_plane_size; in Realloc()
167 AlignAddr(u_buffer + (uv_top_border * uv_stride) + uv_left_border_bytes, in Realloc()
Dinternal_frame_buffer_list.cc106 uint8_t* const u_buffer = in GetFrameBuffer() local
109 (info.uv_buffer_size == 0) ? nullptr : u_buffer + info.uv_buffer_size; in GetFrameBuffer()
110 status = Libgav1SetFrameBuffer(&info, y_buffer, u_buffer, v_buffer, buffer, in GetFrameBuffer()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_extend.c133 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in vp9_copy_and_extend_frame()
147 copy_and_extend_plane(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_copy_and_extend_frame()
184 copy_and_extend_plane(src->u_buffer + src_uv_offset, src->uv_stride, in vp9_copy_and_extend_frame_with_rect()
185 dst->u_buffer + dst_uv_offset, dst->uv_stride, srcw_uv, in vp9_copy_and_extend_frame_with_rect()
/external/libgav1/libgav1/src/gav1/
Dframe_buffer.h139 const Libgav1FrameBufferInfo* info, uint8_t* y_buffer, uint8_t* u_buffer,
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.h48 FillPlane(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetImages()
74 FillPlaneExtreme(img_.u_buffer, img_.uv_crop_width, img_.uv_crop_height, in ResetScaleImages()
157 ExtendPlane(ref_img_.u_buffer, ref_img_.uv_crop_width, in ReferenceExtendBorder()
178 ref_img_.u_buffer[x + y * ref_img_.uv_stride] = in ReferenceCopyFrame()
179 img_.u_buffer[x + y * img_.uv_stride]; in ReferenceCopyFrame()
/external/libaom/libaom/aom_dsp/
Dpsnr.c188 return aom_var_2d_u8(a->u_buffer + vstart * a->uv_stride + hstart, in aom_get_u_var()
220 return get_sse(a->u_buffer + vstart * a->uv_stride + hstart, a->uv_stride, in aom_get_u_sse_part()
221 b->u_buffer + vstart * b->uv_stride + hstart, b->uv_stride, in aom_get_u_sse_part()
230 return get_sse(a->u_buffer, a->uv_stride, b->u_buffer, b->uv_stride, in aom_get_u_sse()
261 return aom_var_2d_u16(a->u_buffer + vstart * a->uv_stride + hstart, in aom_highbd_get_u_var()
295 return highbd_get_sse(a->u_buffer + vstart * a->uv_stride + hstart, in aom_highbd_get_u_sse_part()
297 b->u_buffer + vstart * b->uv_stride + hstart, in aom_highbd_get_u_sse_part()
308 return highbd_get_sse(a->u_buffer, a->uv_stride, b->u_buffer, b->uv_stride, in aom_highbd_get_u_sse()
/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_frame_scale_ssse3.c771 scale_plane_2_to_1_phase_0(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
781 scale_plane_2_to_1_bilinear(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
795 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_ssse3()
813 scale_plane_4_to_1_phase_0(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
823 scale_plane_4_to_1_bilinear(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
839 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_ssse3()
871 scale_plane_4_to_3_general(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
889 scale_plane_1_to_2_phase_0(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_ssse3()
/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_frame_scale_neon.c726 scale_plane_2_to_1_phase_0(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_neon()
735 scale_plane_2_to_1_bilinear(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_neon()
749 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_neon()
767 scale_plane_4_to_1_phase_0(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_neon()
776 scale_plane_4_to_1_bilinear(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_neon()
790 src->u_buffer, src->uv_stride, dst->u_buffer, dst->uv_stride, in vp9_scale_and_extend_frame_neon()
814 scale_plane_4_to_3_bilinear(src->u_buffer, src->uv_stride, in vp9_scale_and_extend_frame_neon()
815 dst->u_buffer, dst->uv_stride, dst_uv_w, in vp9_scale_and_extend_frame_neon()
824 scale_plane_4_to_3_general(src->u_buffer, src->uv_stride, dst->u_buffer, in vp9_scale_and_extend_frame_neon()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c142 xd->recon_left[2], xd->recon_left_stride[1], xd->dst.u_buffer, in mt_decode_macroblock()
244 xd->dst.u_buffer, xd->dst.v_buffer, in mt_decode_macroblock()
278 ref_buffer[i][1] = this_fb->u_buffer; in mt_decode_mb_rows()
285 dst_buffer[1] = yv12_fb_new->u_buffer; in mt_decode_mb_rows()
400 xd->dst.u_buffer = dst_buffer[1] + recon_uvoffset; in mt_decode_mb_rows()
421 xd->pre.u_buffer = ref_buffer[ref][1] + recon_uvoffset; in mt_decode_mb_rows()
426 xd->pre.u_buffer = 0; in mt_decode_mb_rows()
463 (xd->dst.u_buffer + 7 * recon_uv_stride), 8); in mt_decode_mb_rows()
479 xd->dst.u_buffer[i * recon_uv_stride + 7]; in mt_decode_mb_rows()
498 vp8_loop_filter_mbv(xd->dst.y_buffer, xd->dst.u_buffer, in mt_decode_mb_rows()
[all …]
/external/webrtc/sdk/android/src/jni/
Dwrapped_native_i420_buffer.cc26 ScopedJavaLocalRef<jobject> u_buffer = in WrapI420Buffer() local
35 i420_buffer->StrideY(), u_buffer, i420_buffer->StrideU(), v_buffer, in WrapI420Buffer()

1234