Home
last modified time | relevance | path

Searched refs:uv_width (Results 1 – 25 of 35) sorted by relevance

12

/external/libvpx/libvpx/vp8/common/
Dsetupintrarecon.c24 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
28 memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
37 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon_top_line()
38 memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon_top_line()
Dextend.c91 er = (dst->border >> 1) + dst->uv_width - src->uv_width; in vp8_copy_and_extend_frame()
95 src->uv_height, src->uv_width, in vp8_copy_and_extend_frame()
100 src->uv_height, src->uv_width, in vp8_copy_and_extend_frame()
Dvp8_loopfilter.c385 u_ptr += post_uv_stride * 8 - post->uv_width; in vp8_loop_filter_frame()
386 v_ptr += post_uv_stride * 8 - post->uv_width; in vp8_loop_filter_frame()
437 u_ptr += post_uv_stride * 8 - post->uv_width; in vp8_loop_filter_frame()
438 v_ptr += post_uv_stride * 8 - post->uv_width; in vp8_loop_filter_frame()
/external/libvpx/libvpx/vpx_scale/generic/
Dyv12extend.c130 uv_border + ybf->uv_width - ybf->uv_crop_width); in vp8_yv12_extend_frame_borders_c()
137 uv_border + ybf->uv_width - ybf->uv_crop_width); in vp8_yv12_extend_frame_borders_c()
151 uv_border + ybf->uv_width - ybf->uv_crop_width); in vp8_yv12_extend_frame_borders_c()
157 uv_border + ybf->uv_width - ybf->uv_crop_width); in vp8_yv12_extend_frame_borders_c()
164 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
169 const int c_er = c_el + ybf->uv_width - ybf->uv_crop_width; in extend_frame()
252 memcpy_short_addr(dst, src, src_ybc->uv_width); in vp8_yv12_copy_frame_c()
261 memcpy_short_addr(dst, src, src_ybc->uv_width); in vp8_yv12_copy_frame_c()
283 memcpy(dst, src, src_ybc->uv_width); in vp8_yv12_copy_frame_c()
292 memcpy(dst, src, src_ybc->uv_width); in vp8_yv12_copy_frame_c()
Dvpx_scale.c508 Scale2D((unsigned char *) src->u_buffer, src->uv_stride, src->uv_width, src->uv_height, in vpx_scale_frame()
512 if (dw / 2 < (int)dst->uv_width) in vpx_scale_frame()
514 …v_stride + dw / 2 - 1, dst->u_buffer[i * dst->uv_stride + dw / 2 - 2], dst->uv_width - dw / 2 + 1); in vpx_scale_frame()
518 …py(dst->u_buffer + i * dst->uv_stride, dst->u_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width); in vpx_scale_frame()
520 Scale2D((unsigned char *) src->v_buffer, src->uv_stride, src->uv_width, src->uv_height, in vpx_scale_frame()
524 if (dw / 2 < (int)dst->uv_width) in vpx_scale_frame()
526 …v_stride + dw / 2 - 1, dst->v_buffer[i * dst->uv_stride + dw / 2 - 2], dst->uv_width - dw / 2 + 1); in vpx_scale_frame()
530 …py(dst->v_buffer + i * dst->uv_stride, dst->v_buffer + (dh / 2 - 2)*dst->uv_stride, dst->uv_width); in vpx_scale_frame()
Dyv12config.c54 int uv_width = aligned_width >> 1; in vp8_yv12_realloc_frame_buffer() local
86 ybf->uv_width = uv_width; in vp8_yv12_realloc_frame_buffer()
155 const int uv_width = aligned_width >> ss_x; in vpx_realloc_frame_buffer() local
242 ybf->uv_width = uv_width; in vpx_realloc_frame_buffer()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_lookahead.c106 int uv_width = src->uv_crop_width; in vp9_lookahead_push() local
119 uv_width != buf->img.uv_crop_width || in vp9_lookahead_push()
123 uv_width > buf->img.uv_width || in vp9_lookahead_push()
/external/webp/src/dec/
Dbuffer.c50 const int uv_width = (width + 1) / 2; in CheckDecBuffer() local
57 const uint64_t u_size = MIN_BUFFER_SIZE(uv_width, uv_height, u_stride); in CheckDecBuffer()
58 const uint64_t v_size = MIN_BUFFER_SIZE(uv_width, uv_height, v_stride); in CheckDecBuffer()
64 ok &= (u_stride >= uv_width); in CheckDecBuffer()
65 ok &= (v_stride >= uv_width); in CheckDecBuffer()
Dio.c543 const int uv_width = (io->mb_w + 1) >> 1; in CustomSetup() local
544 p->memory = WebPSafeMalloc(1ULL, (size_t)(io->mb_w + 2 * uv_width)); in CustomSetup()
550 p->tmp_v = p->tmp_u + uv_width; in CustomSetup()
/external/libvpx/libvpx/vp9/common/
Dvp9_postproc.c409 source->uv_height, source->uv_width, in deblock_and_de_macro_block()
414 source->uv_height, source->uv_width, in deblock_and_de_macro_block()
429 source->uv_height, source->uv_width, ppl); in deblock_and_de_macro_block()
432 source->uv_height, source->uv_width, ppl); in deblock_and_de_macro_block()
447 source->uv_height, source->uv_width, ppl); in deblock_and_de_macro_block()
450 source->uv_height, source->uv_width, ppl); in deblock_and_de_macro_block()
462 const int src_widths[3] = {src->y_width, src->uv_width, src->uv_width}; in vp9_deblock()
498 const int src_widths[3] = {src->y_width, src->uv_width, src->uv_width}; in vp9_denoise()
740 dest->uv_width = dest->y_width >> cm->subsampling_x; in vp9_post_proc_frame()
Dvp9_reconintra.c148 frame_width = xd->cur_buf->uv_width; in build_intra_predictors_high()
271 frame_width = xd->cur_buf->uv_width; in build_intra_predictors()
/external/webp/src/enc/
Dpicture.c94 const int uv_width = (width + 1) >> 1; in WebPPictureAllocYUVA() local
96 const int uv_stride = uv_width; in WebPPictureAllocYUVA()
121 uv_width < 0 || uv_height < 0) { // u/v param error in WebPPictureAllocYUVA()
Dpicture_tools.c158 const int uv_width = (pic->width >> 1); // omit last pixel during u/v loop in WebPBlendAlpha() local
181 for (x = 0; x < uv_width; ++x) { in WebPBlendAlpha()
Dpicture_csp.c878 const int uv_width = (width + 1) >> 1; in ImportYUVAFromRGBA() local
882 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA()
936 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA()
938 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
969 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA()
971 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
/external/libvpx/libvpx/vp8/decoder/
Donyxd_if.c147 cm->yv12_fb[ref_fb_idx].uv_width != sd->uv_width){ in vp8dx_get_reference()
179 cm->yv12_fb[*ref_fb_ptr].uv_width != sd->uv_width){ in vp8dx_set_reference()
Dthreading.c782 int uv_width; in vp8mt_alloc_temp_buffers() local
797 uv_width = width >>1; in vp8mt_alloc_temp_buffers()
809 …M_ERROR(pbi->mt_uabove_row[i], vpx_memalign(16,sizeof(unsigned char) * (uv_width + VP8BORDERINPIXE… in vp8mt_alloc_temp_buffers()
813 …M_ERROR(pbi->mt_vabove_row[i], vpx_memalign(16,sizeof(unsigned char) * (uv_width + VP8BORDERINPIXE… in vp8mt_alloc_temp_buffers()
/external/libvpx/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c110 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
115 const int c_er = c_el + ybf->uv_width - ybf->uv_crop_width; in extend_frame()
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/
DSurfaceTextureHelper.java234 int uv_width = (width+7) / 8;
278 GLES20.glViewport(0, height, uv_width, uv_height);
287 GLES20.glViewport(stride/8, height, uv_width, uv_height);
/external/webrtc/talk/app/webrtc/java/jni/
Dnative_handle_impl.cc115 int uv_width = (width()+7) / 8; in NativeToI420Buffer() local
116 int stride = 8 * uv_width; in NativeToI420Buffer()
/external/libvpx/libvpx/vp9/
Dvp9_iface_common.h94 yv12->uv_width = img->x_chroma_shift == 1 ? (1 + yv12->y_width) / 2 in image2yuvconfig()
98 yv12->uv_crop_width = yv12->uv_width; in image2yuvconfig()
/external/libvpx/libvpx/test/
Dvpx_scale_test.cc122 ref_img_.uv_width, ref_img_.uv_height, in ReferenceExtendBorder()
127 ref_img_.uv_width, ref_img_.uv_height, in ReferenceExtendBorder()
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h36 int uv_width; member
/external/opencv3/3rdparty/libwebp/enc/
Dpicture.c50 const int uv_width = HALVE(width); in WebPPictureAlloc() local
52 const int uv_stride = uv_width; in WebPPictureAlloc()
66 uv0_stride = uv_width; in WebPPictureAlloc()
88 uv_width < 0 || uv_height < 0) { // u/v param error in WebPPictureAlloc()
583 const int uv_width = HALVE(picture->width); in MakeGray() local
586 memset(picture->u + y * picture->uv_stride, 128, uv_width); in MakeGray()
587 memset(picture->v + y * picture->uv_stride, 128, uv_width); in MakeGray()
/external/webp/src/dsp/
Dyuv.c181 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C() local
183 for (i = 0; i < uv_width; ++i) { in WebPConvertARGBToUV_C()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decoder.c152 a->uv_height == b->uv_height && a->uv_width == b->uv_width; in equal_dimensions()

12