Home
last modified time | relevance | path

Searched refs:ybf (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/vpx_scale/generic/
Dyv12config.c28 vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_de_alloc_frame_buffer() argument
29 if (ybf) { in vp8_yv12_de_alloc_frame_buffer()
32 if (ybf->buffer_alloc_sz > 0) { in vp8_yv12_de_alloc_frame_buffer()
33 vpx_free(ybf->buffer_alloc); in vp8_yv12_de_alloc_frame_buffer()
39 memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG)); in vp8_yv12_de_alloc_frame_buffer()
47 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, in vp8_yv12_realloc_frame_buffer() argument
49 if (ybf) { in vp8_yv12_realloc_frame_buffer()
62 if (!ybf->buffer_alloc) { in vp8_yv12_realloc_frame_buffer()
63 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); in vp8_yv12_realloc_frame_buffer()
64 ybf->buffer_alloc_sz = frame_size; in vp8_yv12_realloc_frame_buffer()
[all …]
Dyv12extend.c107 void vp8_yv12_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_extend_frame_borders_c() argument
108 const int uv_border = ybf->border / 2; in vp8_yv12_extend_frame_borders_c()
110 assert(ybf->border % 2 == 0); in vp8_yv12_extend_frame_borders_c()
111 assert(ybf->y_height - ybf->y_crop_height < 16); in vp8_yv12_extend_frame_borders_c()
112 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
113 assert(ybf->y_height - ybf->y_crop_height >= 0); in vp8_yv12_extend_frame_borders_c()
114 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
117 if (ybf->flags & YV12_FLAG_HIGHBITDEPTH) { in vp8_yv12_extend_frame_borders_c()
119 ybf->y_buffer, ybf->y_stride, in vp8_yv12_extend_frame_borders_c()
120 ybf->y_crop_width, ybf->y_crop_height, in vp8_yv12_extend_frame_borders_c()
[all …]
/external/libvpx/libvpx/vp8/common/
Dsetupintrarecon.c15 void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) in vp8_setup_intra_recon() argument
20 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon()
21 for (i = 0; i < ybf->y_height; i++) in vp8_setup_intra_recon()
22 ybf->y_buffer[ybf->y_stride *i - 1] = (unsigned char) 129; in vp8_setup_intra_recon()
24 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
25 for (i = 0; i < ybf->uv_height; i++) in vp8_setup_intra_recon()
26 ybf->u_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; in vp8_setup_intra_recon()
28 memset(ybf->v_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon()
29 for (i = 0; i < ybf->uv_height; i++) in vp8_setup_intra_recon()
30 ybf->v_buffer[ybf->uv_stride *i - 1] = (unsigned char) 129; in vp8_setup_intra_recon()
[all …]
Dextend.c160 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, in vp8_extend_mb_row() argument
167 YPtr += ybf->y_stride * 14; in vp8_extend_mb_row()
168 UPtr += ybf->uv_stride * 6; in vp8_extend_mb_row()
169 VPtr += ybf->uv_stride * 6; in vp8_extend_mb_row()
178 YPtr += ybf->y_stride; in vp8_extend_mb_row()
179 UPtr += ybf->uv_stride; in vp8_extend_mb_row()
180 VPtr += ybf->uv_stride; in vp8_extend_mb_row()
Dsetupintrarecon.h20 extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
21 extern void vp8_setup_intra_recon_top_line(YV12_BUFFER_CONFIG *ybf);
Dextend.h21 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, unsigned char *UPtr, unsigned …
/external/libvpx/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c107 static void extend_frame(YV12_BUFFER_CONFIG *const ybf, int ext_size) { in extend_frame() argument
108 const int c_w = ybf->uv_crop_width; in extend_frame()
109 const int c_h = ybf->uv_crop_height; in extend_frame()
110 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame()
111 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame()
114 const int c_eb = c_et + ybf->uv_height - ybf->uv_crop_height; in extend_frame()
115 const int c_er = c_el + ybf->uv_width - ybf->uv_crop_width; in extend_frame()
117 assert(ybf->y_height - ybf->y_crop_height < 16); in extend_frame()
118 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
119 assert(ybf->y_height - ybf->y_crop_height >= 0); in extend_frame()
[all …]
/external/libvpx/libvpx/vpx_scale/
Dyv12config.h69 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
71 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
73 int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf);
75 int vpx_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
89 int vpx_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
99 int vpx_free_frame_buffer(YV12_BUFFER_CONFIG *ybf);
Dvpx_scale_rtcd.pl19 add_proto qw/void vp8_yv12_extend_frame_borders/, "struct yv12_buffer_config *ybf";
26 add_proto qw/void vpx_extend_frame_borders/, "struct yv12_buffer_config *ybf";
29 add_proto qw/void vpx_extend_frame_inner_borders/, "struct yv12_buffer_config *ybf";
/external/libvpx/config/mips32-dspr2/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
44 void vpx_extend_frame_borders_dspr2(struct yv12_buffer_config *ybf);
47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
48 void vpx_extend_frame_inner_borders_dspr2(struct yv12_buffer_config *ybf);
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c308 static void yv12_extend_frame_top_c(YV12_BUFFER_CONFIG *ybf) in yv12_extend_frame_top_c() argument
320 Border = ybf->border; in yv12_extend_frame_top_c()
321 plane_stride = ybf->y_stride; in yv12_extend_frame_top_c()
322 src_ptr1 = ybf->y_buffer - Border; in yv12_extend_frame_top_c()
335 plane_stride = ybf->uv_stride; in yv12_extend_frame_top_c()
337 src_ptr1 = ybf->u_buffer - Border; in yv12_extend_frame_top_c()
350 src_ptr1 = ybf->v_buffer - Border; in yv12_extend_frame_top_c()
360 static void yv12_extend_frame_bottom_c(YV12_BUFFER_CONFIG *ybf) in yv12_extend_frame_bottom_c() argument
373 Border = ybf->border; in yv12_extend_frame_bottom_c()
374 plane_stride = ybf->y_stride; in yv12_extend_frame_bottom_c()
[all …]
/external/libvpx/config/generic/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/mips32/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/x86/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/arm/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/x86_64/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/arm64/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/arm-neon/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/config/mips64/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/external/libvpx/libvpx/test/
Dvpx_scale_test.cc22 typedef void (*ExtendFrameBorderFunc)(YV12_BUFFER_CONFIG *ybf);
/external/ImageMagick/PerlMagick/t/
Dinput_gray_msb_08bit.mat8 …��������������1������yqsrquuvzxvqoqsvrolE,,2���|x���������������������˼�¹��ybf�������YTUhrxodfeb`h…