Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dyv12config.c30 vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_de_alloc_frame_buffer() argument
31 if (ybf) { in vp8_yv12_de_alloc_frame_buffer()
34 if (ybf->buffer_alloc_sz > 0) { in vp8_yv12_de_alloc_frame_buffer()
35 vpx_free(ybf->buffer_alloc); in vp8_yv12_de_alloc_frame_buffer()
41 vpx_memset(ybf, 0, sizeof(YV12_BUFFER_CONFIG)); in vp8_yv12_de_alloc_frame_buffer()
49 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf, in vp8_yv12_realloc_frame_buffer() argument
51 if (ybf) { in vp8_yv12_realloc_frame_buffer()
64 if (!ybf->buffer_alloc) { in vp8_yv12_realloc_frame_buffer()
65 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); in vp8_yv12_realloc_frame_buffer()
66 ybf->buffer_alloc_sz = frame_size; in vp8_yv12_realloc_frame_buffer()
[all …]
Dyv12extend.c58 void vp8_yv12_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf) { in vp8_yv12_extend_frame_borders_c() argument
59 assert(ybf->y_height - ybf->y_crop_height < 16); in vp8_yv12_extend_frame_borders_c()
60 assert(ybf->y_width - ybf->y_crop_width < 16); in vp8_yv12_extend_frame_borders_c()
61 assert(ybf->y_height - ybf->y_crop_height >= 0); in vp8_yv12_extend_frame_borders_c()
62 assert(ybf->y_width - ybf->y_crop_width >= 0); in vp8_yv12_extend_frame_borders_c()
64 extend_plane(ybf->y_buffer, ybf->y_stride, in vp8_yv12_extend_frame_borders_c()
65 ybf->y_crop_width, ybf->y_crop_height, in vp8_yv12_extend_frame_borders_c()
66 ybf->border, ybf->border, in vp8_yv12_extend_frame_borders_c()
67 ybf->border + ybf->y_height - ybf->y_crop_height, in vp8_yv12_extend_frame_borders_c()
68 ybf->border + ybf->y_width - ybf->y_crop_width); in vp8_yv12_extend_frame_borders_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dsetupintrarecon.c15 void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf) in vp8_setup_intra_recon() argument
20 vpx_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 vpx_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 vpx_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.h19 extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
20 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 …
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/mips/dspr2/
Dyv12extend_dspr2.c107 static void extend_frame(YV12_BUFFER_CONFIG *const ybf, in extend_frame() argument
110 const int c_w = ybf->uv_crop_width; in extend_frame()
111 const int c_h = ybf->uv_crop_height; in extend_frame()
115 const int c_eb = c_ext_size + ybf->uv_height - ybf->uv_crop_height; in extend_frame()
116 const int c_er = c_ext_size + ybf->uv_width - ybf->uv_crop_width; in extend_frame()
118 assert(ybf->y_height - ybf->y_crop_height < 16); in extend_frame()
119 assert(ybf->y_width - ybf->y_crop_width < 16); in extend_frame()
120 assert(ybf->y_height - ybf->y_crop_height >= 0); in extend_frame()
121 assert(ybf->y_width - ybf->y_crop_width >= 0); in extend_frame()
123 extend_plane(ybf->y_buffer, ybf->y_stride, in extend_frame()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/
Dyv12config.h60 int vp8_yv12_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
62 int vp8_yv12_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
64 int vp8_yv12_de_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf);
66 int vp9_alloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
76 int vp9_realloc_frame_buffer(YV12_BUFFER_CONFIG *ybf,
82 int vp9_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";
28 add_proto qw/void vp9_extend_frame_borders/, "struct yv12_buffer_config *ybf";
31 add_proto qw/void vp9_extend_frame_inner_borders/, "struct yv12_buffer_config *ybf";
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips-dspr2/
Dvpx_scale_rtcd.h33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_…
43 void vp9_extend_frame_borders_dspr2(struct yv12_buffer_config *ybf, int subsampling_x, int subsampl…
46 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsam…
47 void vp9_extend_frame_inner_borders_dspr2(struct yv12_buffer_config *ybf, int subsampling_x, int su…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a-neon/
Dvpx_scale_rtcd.h33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
34 void vp8_yv12_extend_frame_borders_neon(struct yv12_buffer_config *ybf);
45 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_…
48 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsam…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/generic/
Dvpx_scale_rtcd.h33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_…
45 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsam…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/mips/
Dvpx_scale_rtcd.h33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_…
45 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsam…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/x86/
Dvpx_scale_rtcd.h40 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
43 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf);
46 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/armv7a/
Dvpx_scale_rtcd.h33 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
42 void vp9_extend_frame_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsampling_…
45 void vp9_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, int subsampling_x, int subsam…
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodeframe.c304 static void yv12_extend_frame_top_c(YV12_BUFFER_CONFIG *ybf) in yv12_extend_frame_top_c() argument
316 Border = ybf->border; in yv12_extend_frame_top_c()
317 plane_stride = ybf->y_stride; in yv12_extend_frame_top_c()
318 src_ptr1 = ybf->y_buffer - Border; in yv12_extend_frame_top_c()
331 plane_stride = ybf->uv_stride; in yv12_extend_frame_top_c()
333 src_ptr1 = ybf->u_buffer - Border; in yv12_extend_frame_top_c()
346 src_ptr1 = ybf->v_buffer - Border; in yv12_extend_frame_top_c()
356 static void yv12_extend_frame_bottom_c(YV12_BUFFER_CONFIG *ybf) in yv12_extend_frame_bottom_c() argument
369 Border = ybf->border; in yv12_extend_frame_bottom_c()
370 plane_stride = ybf->y_stride; in yv12_extend_frame_bottom_c()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/arm/neon/
Dvp8_vpxyv12_extendframeborders_neon.asm20 ;void vp8_yv12_extend_frame_borders_neon (YV12_BUFFER_CONFIG *ybf);