/external/libvpx/libvpx/vpx_scale/generic/ |
D | yv12config.c | 31 int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_de_alloc_frame_buffer() argument 32 if (ybf) { in vp8_yv12_de_alloc_frame_buffer() 35 if (ybf->buffer_alloc_sz > 0) { in vp8_yv12_de_alloc_frame_buffer() 36 vpx_free(ybf->buffer_alloc); in vp8_yv12_de_alloc_frame_buffer() 42 memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG)); in vp8_yv12_de_alloc_frame_buffer() 50 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, in vp8_yv12_realloc_frame_buffer() argument 52 if (ybf) { in vp8_yv12_realloc_frame_buffer() 65 if (!ybf->buffer_alloc) { in vp8_yv12_realloc_frame_buffer() 66 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); in vp8_yv12_realloc_frame_buffer() 72 memset(ybf->buffer_alloc, 0, frame_size); in vp8_yv12_realloc_frame_buffer() [all …]
|
D | yv12extend.c | 105 void vp8_yv12_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_extend_frame_borders_c() argument 106 const int uv_border = ybf->border / 2; in vp8_yv12_extend_frame_borders_c() 108 assert(ybf->border % 2 == 0); in vp8_yv12_extend_frame_borders_c() 109 assert(ybf->y_height - ybf->y_crop_height < 16); in vp8_yv12_extend_frame_borders_c() 110 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c() 111 assert(ybf->y_height - ybf->y_crop_height >= 0); in vp8_yv12_extend_frame_borders_c() 112 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c() 114 extend_plane(ybf->y_buffer, ybf->y_stride, ybf->y_crop_width, in vp8_yv12_extend_frame_borders_c() 115 ybf->y_crop_height, ybf->border, ybf->border, in vp8_yv12_extend_frame_borders_c() 116 ybf->border + ybf->y_height - ybf->y_crop_height, in vp8_yv12_extend_frame_borders_c() [all …]
|
/external/libaom/libaom/aom_scale/generic/ |
D | yv12config.c | 31 int aom_free_frame_buffer(YV12_BUFFER_CONFIG *ybf) { in aom_free_frame_buffer() argument 32 if (ybf) { in aom_free_frame_buffer() 33 if (ybf->buffer_alloc_sz > 0) { in aom_free_frame_buffer() 34 aom_free(ybf->buffer_alloc); in aom_free_frame_buffer() 36 if (ybf->y_buffer_8bit) aom_free(ybf->y_buffer_8bit); in aom_free_frame_buffer() 41 memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG)); in aom_free_frame_buffer() 50 YV12_BUFFER_CONFIG *ybf, int width, int height, int ss_x, int ss_y, in realloc_frame_buffer_aligned() argument 57 if (ybf) { in realloc_frame_buffer_aligned() 88 ybf->buffer_alloc = (uint8_t *)yv12_align_addr(fb->data, 32); in realloc_frame_buffer_aligned() 95 memset(ybf->buffer_alloc, 0, (size_t)frame_size); in realloc_frame_buffer_aligned() [all …]
|
D | yv12extend.c | 103 void aom_yv12_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf, in aom_yv12_extend_frame_borders_c() argument 105 assert(ybf->border % 2 == 0); in aom_yv12_extend_frame_borders_c() 106 assert(ybf->y_height - ybf->y_crop_height < 16); in aom_yv12_extend_frame_borders_c() 107 assert(ybf->y_width - ybf->y_crop_width < 16); in aom_yv12_extend_frame_borders_c() 108 assert(ybf->y_height - ybf->y_crop_height >= 0); in aom_yv12_extend_frame_borders_c() 109 assert(ybf->y_width - ybf->y_crop_width >= 0); in aom_yv12_extend_frame_borders_c() 111 if (ybf->flags & YV12_FLAG_HIGHBITDEPTH) { in aom_yv12_extend_frame_borders_c() 114 const int plane_border = ybf->border >> is_uv; in aom_yv12_extend_frame_borders_c() 116 ybf->buffers[plane], ybf->strides[is_uv], ybf->crop_widths[is_uv], in aom_yv12_extend_frame_borders_c() 117 ybf->crop_heights[is_uv], plane_border, plane_border, in aom_yv12_extend_frame_borders_c() [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | setupintrarecon.c | 14 void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) { in vp8_setup_intra_recon() argument 18 memset(ybf->y_buffer - 1 - ybf->y_stride, 127, ybf->y_width + 5); in vp8_setup_intra_recon() 19 for (i = 0; i < ybf->y_height; ++i) { in vp8_setup_intra_recon() 20 ybf->y_buffer[ybf->y_stride * i - 1] = (unsigned char)129; in vp8_setup_intra_recon() 23 memset(ybf->u_buffer - 1 - ybf->uv_stride, 127, ybf->uv_width + 5); in vp8_setup_intra_recon() 24 for (i = 0; i < ybf->uv_height; ++i) { in vp8_setup_intra_recon() 25 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 …]
|
D | extend.c | 129 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, in vp8_extend_mb_row() argument 133 YPtr += ybf->y_stride * 14; in vp8_extend_mb_row() 134 UPtr += ybf->uv_stride * 6; in vp8_extend_mb_row() 135 VPtr += ybf->uv_stride * 6; in vp8_extend_mb_row() 143 YPtr += ybf->y_stride; in vp8_extend_mb_row() 144 UPtr += ybf->uv_stride; in vp8_extend_mb_row() 145 VPtr += ybf->uv_stride; in vp8_extend_mb_row()
|
D | setupintrarecon.h | 20 extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf); 21 extern void vp8_setup_intra_recon_top_line(YV12_BUFFER_CONFIG *ybf);
|
D | extend.h | 20 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr,
|
/external/libvpx/libvpx/vpx_scale/mips/dspr2/ |
D | yv12extend_dspr2.c | 103 static void extend_frame(YV12_BUFFER_CONFIG *const ybf, int ext_size) { in extend_frame() argument 104 const int c_w = ybf->uv_crop_width; in extend_frame() 105 const int c_h = ybf->uv_crop_height; in extend_frame() 106 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() 107 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() 110 const int c_eb = c_et + ybf->uv_height - ybf->uv_crop_height; in extend_frame() 111 const int c_er = c_el + ybf->uv_width - ybf->uv_crop_width; in extend_frame() 113 assert(ybf->y_height - ybf->y_crop_height < 16); in extend_frame() 114 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame() 115 assert(ybf->y_height - ybf->y_crop_height >= 0); in extend_frame() [all …]
|
/external/libaom/libaom/aom_scale/mips/dspr2/ |
D | yv12extend_dspr2.c | 105 static void extend_frame(YV12_BUFFER_CONFIG *const ybf, int ext_size) { in extend_frame() argument 106 const int c_w = ybf->uv_crop_width; in extend_frame() 107 const int c_h = ybf->uv_crop_height; in extend_frame() 108 const int ss_x = ybf->uv_width < ybf->y_width; in extend_frame() 109 const int ss_y = ybf->uv_height < ybf->y_height; in extend_frame() 112 const int c_eb = c_et + ybf->uv_height - ybf->uv_crop_height; in extend_frame() 113 const int c_er = c_el + ybf->uv_width - ybf->uv_crop_width; in extend_frame() 115 assert(ybf->y_height - ybf->y_crop_height < 16); in extend_frame() 116 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame() 117 assert(ybf->y_height - ybf->y_crop_height >= 0); in extend_frame() [all …]
|
/external/libvpx/libvpx/vpx_scale/ |
D | yv12config.h | 69 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 71 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, 73 int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf); 75 int vpx_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 89 int vpx_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 97 int vpx_free_frame_buffer(YV12_BUFFER_CONFIG *ybf);
|
D | vpx_scale_rtcd.pl | 29 add_proto qw/void vp8_yv12_extend_frame_borders/, "struct yv12_buffer_config *ybf"; 38 add_proto qw/void vpx_extend_frame_borders/, "struct yv12_buffer_config *ybf"; 41 add_proto qw/void vpx_extend_frame_inner_borders/, "struct yv12_buffer_config *ybf";
|
/external/libaom/libaom/aom_scale/ |
D | aom_scale_rtcd.pl | 29 add_proto qw/int aom_yv12_realloc_with_new_border/, "struct yv12_buffer_config *ybf, int new_border… 31 add_proto qw/void aom_yv12_extend_frame_borders/, "struct yv12_buffer_config *ybf, const int num_pl… 48 add_proto qw/void aom_extend_frame_borders/, "struct yv12_buffer_config *ybf, const int num_planes"; 51 add_proto qw/void aom_extend_frame_inner_borders/, "struct yv12_buffer_config *ybf, const int num_p… 54 add_proto qw/void aom_extend_frame_borders_y/, "struct yv12_buffer_config *ybf";
|
D | yv12config.h | 112 int aom_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 123 int aom_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 129 int aom_realloc_lookahead_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 136 int aom_free_frame_buffer(YV12_BUFFER_CONFIG *ybf);
|
/external/libaom/config/x86_64/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 20 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/libaom/config/x86/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 20 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/libaom/config/arm/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 20 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/libaom/config/arm64/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 20 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/libvpx/libvpx/vp8/decoder/ |
D | decodeframe.c | 255 static void yv12_extend_frame_top_c(YV12_BUFFER_CONFIG *ybf) { in yv12_extend_frame_top_c() argument 266 Border = ybf->border; in yv12_extend_frame_top_c() 267 plane_stride = ybf->y_stride; in yv12_extend_frame_top_c() 268 src_ptr1 = ybf->y_buffer - Border; in yv12_extend_frame_top_c() 279 plane_stride = ybf->uv_stride; in yv12_extend_frame_top_c() 281 src_ptr1 = ybf->u_buffer - Border; in yv12_extend_frame_top_c() 293 src_ptr1 = ybf->v_buffer - Border; in yv12_extend_frame_top_c() 302 static void yv12_extend_frame_bottom_c(YV12_BUFFER_CONFIG *ybf) { in yv12_extend_frame_bottom_c() argument 314 Border = ybf->border; in yv12_extend_frame_bottom_c() 315 plane_stride = ybf->y_stride; in yv12_extend_frame_bottom_c() [all …]
|
/external/libvpx/config/arm-neon/ |
D | vpx_scale_rtcd.h | 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
/external/libvpx/config/x86/ |
D | vpx_scale_rtcd.h | 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
/external/libvpx/config/arm64/ |
D | vpx_scale_rtcd.h | 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
/external/libvpx/config/x86_64/ |
D | vpx_scale_rtcd.h | 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
/external/libvpx/config/generic/ |
D | vpx_scale_rtcd.h | 41 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf); 44 void vpx_extend_frame_borders_c(struct yv12_buffer_config *ybf); 47 void vpx_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
|
/external/libaom/libaom/av1/common/ |
D | onyxc_int.h | 598 YV12_BUFFER_CONFIG *ybf = &frame_bufs[i].buf; in get_free_fb() local 599 ybf->y_buffer = ybf->store_buf_adr[0]; in get_free_fb() 600 ybf->u_buffer = ybf->store_buf_adr[1]; in get_free_fb() 601 ybf->v_buffer = ybf->store_buf_adr[2]; in get_free_fb() 602 ybf->use_external_reference_buffers = 0; in get_free_fb()
|