/external/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() 67 if (!ybf->buffer_alloc) { 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/aom_scale/generic/ |
D | yv12config.c | 29 int aom_free_frame_buffer(YV12_BUFFER_CONFIG *ybf) { in aom_free_frame_buffer() argument 30 if (ybf) { in aom_free_frame_buffer() 31 if (ybf->buffer_alloc_sz > 0) { in aom_free_frame_buffer() 32 aom_free(ybf->buffer_alloc); in aom_free_frame_buffer() 34 if (ybf->y_buffer_8bit) aom_free(ybf->y_buffer_8bit); in aom_free_frame_buffer() 35 aom_remove_metadata_from_frame_buffer(ybf); in aom_free_frame_buffer() 39 memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG)); in aom_free_frame_buffer() 47 YV12_BUFFER_CONFIG *ybf, int width, int height, int ss_x, int ss_y, in realloc_frame_buffer_aligned() argument 55 if (ybf) { in realloc_frame_buffer_aligned() 90 ybf->buffer_alloc = (uint8_t *)aom_align_addr(fb->data, 32); in realloc_frame_buffer_aligned() [all …]
|
D | yv12extend.c | 112 void aom_extend_frame_borders_plane_row_c(const YV12_BUFFER_CONFIG *ybf, in aom_extend_frame_borders_plane_row_c() argument 114 const int ext_size = ybf->border; in aom_extend_frame_borders_plane_row_c() 115 const int ss_x = ybf->subsampling_x; in aom_extend_frame_borders_plane_row_c() 116 const int ss_y = ybf->subsampling_y; in aom_extend_frame_borders_plane_row_c() 118 assert(ybf->y_height - ybf->y_crop_height < 16); in aom_extend_frame_borders_plane_row_c() 119 assert(ybf->y_width - ybf->y_crop_width < 16); in aom_extend_frame_borders_plane_row_c() 120 assert(ybf->y_height - ybf->y_crop_height >= 0); in aom_extend_frame_borders_plane_row_c() 121 assert(ybf->y_width - ybf->y_crop_width >= 0); in aom_extend_frame_borders_plane_row_c() 126 const int bottom = top + ybf->heights[is_uv] - ybf->crop_heights[is_uv]; in aom_extend_frame_borders_plane_row_c() 127 const int right = left + ybf->widths[is_uv] - ybf->crop_widths[is_uv]; in aom_extend_frame_borders_plane_row_c() [all …]
|
/external/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 | 144 void vp8_extend_mb_row(YV12_BUFFER_CONFIG *ybf, unsigned char *YPtr, in vp8_extend_mb_row() argument 148 YPtr += ybf->y_stride * 14; in vp8_extend_mb_row() 149 UPtr += ybf->uv_stride * 6; in vp8_extend_mb_row() 150 VPtr += ybf->uv_stride * 6; in vp8_extend_mb_row() 158 YPtr += ybf->y_stride; in vp8_extend_mb_row() 159 UPtr += ybf->uv_stride; in vp8_extend_mb_row() 160 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/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/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_plane_row/, "const struct yv12_buffer_config *ybf, int p… 50 add_proto qw/void aom_extend_frame_borders/, "struct yv12_buffer_config *ybf, const int num_planes"; 52 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 | 124 int aom_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 135 int aom_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, int width, int height, 142 int aom_free_frame_buffer(YV12_BUFFER_CONFIG *ybf); 152 void aom_remove_metadata_from_frame_buffer(YV12_BUFFER_CONFIG *ybf); 167 int aom_copy_metadata_to_frame_buffer(YV12_BUFFER_CONFIG *ybf,
|
/external/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/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_plane_row_c(const struct yv12_buffer_config *ybf, int plane, int v_st… 23 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 26 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 62 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 83 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/libaom/config/riscv64/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_plane_row_c(const struct yv12_buffer_config *ybf, int plane, int v_st… 23 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 26 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 62 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 83 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_plane_row_c(const struct yv12_buffer_config *ybf, int plane, int v_st… 23 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 26 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 62 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 83 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_plane_row_c(const struct yv12_buffer_config *ybf, int plane, int v_st… 23 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 26 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 62 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 83 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_plane_row_c(const struct yv12_buffer_config *ybf, int plane, int v_st… 23 void aom_extend_frame_borders_y_c(struct yv12_buffer_config *ybf); 26 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 62 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 83 int aom_yv12_realloc_with_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_ali…
|
/external/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/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/ |
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/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/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/av1/common/ |
D | av1_common_int.h | 1103 YV12_BUFFER_CONFIG *ybf = &frame_bufs[i].buf; in get_free_fb() local 1104 ybf->y_buffer = ybf->store_buf_adr[0]; in get_free_fb() 1105 ybf->u_buffer = ybf->store_buf_adr[1]; in get_free_fb() 1106 ybf->v_buffer = ybf->store_buf_adr[2]; in get_free_fb() 1107 ybf->use_external_reference_buffers = 0; in get_free_fb()
|