Home
last modified time | relevance | path

Searched refs:buffer_alloc (Results 1 – 25 of 28) sorted by relevance

12

/external/libvpx/vpx_scale/generic/
Dyv12config.c36 vpx_free(ybf->buffer_alloc); in vp8_yv12_de_alloc_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()
76 memset(ybf->buffer_alloc, 0, frame_size); in vp8_yv12_realloc_frame_buffer()
110 ybf->y_buffer = ybf->buffer_alloc + (border * y_stride) + border; in vp8_yv12_realloc_frame_buffer()
112 ybf->buffer_alloc + yplane_size + (border / 2 * uv_stride) + border / 2; in vp8_yv12_realloc_frame_buffer()
113 ybf->v_buffer = ybf->buffer_alloc + yplane_size + uvplane_size + in vp8_yv12_realloc_frame_buffer()
138 vpx_free(ybf->buffer_alloc); in vpx_free_frame_buffer()
221 ybf->buffer_alloc = (uint8_t *)yv12_align_addr(fb->data, 32); in vpx_realloc_frame_buffer()
[all …]
/external/libaom/aom_scale/generic/
Dyv12config.c32 aom_free(ybf->buffer_alloc); in aom_free_frame_buffer()
90 ybf->buffer_alloc = (uint8_t *)aom_align_addr(fb->data, 32); in realloc_frame_buffer_aligned()
97 memset(ybf->buffer_alloc, 0, (size_t)frame_size); in realloc_frame_buffer_aligned()
102 aom_free(ybf->buffer_alloc); in realloc_frame_buffer_aligned()
103 ybf->buffer_alloc = NULL; in realloc_frame_buffer_aligned()
108 ybf->buffer_alloc = (uint8_t *)aom_memalign(32, (size_t)frame_size); in realloc_frame_buffer_aligned()
109 if (!ybf->buffer_alloc) return AOM_CODEC_MEM_ERROR; in realloc_frame_buffer_aligned()
116 memset(ybf->buffer_alloc, 0, ybf->buffer_alloc_sz); in realloc_frame_buffer_aligned()
136 buf = ybf->buffer_alloc; in realloc_frame_buffer_aligned()
139 buf = CONVERT_TO_BYTEPTR(ybf->buffer_alloc); in realloc_frame_buffer_aligned()
/external/libvpx/vp8/common/
Dswapyv12buffer.c17 temp = last_frame->buffer_alloc; in vp8_swap_yv12_buffer()
18 last_frame->buffer_alloc = new_frame->buffer_alloc; in vp8_swap_yv12_buffer()
19 new_frame->buffer_alloc = temp; in vp8_swap_yv12_buffer()
Dvp8_skin_detection.c86 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp8_compute_skin_map()
Dalloccommon.c112 memset(oci->post_proc_buffer.buffer_alloc, 128, in vp8_alloc_frame_buffers()
Dpostproc.c195 memset((&oci->post_proc_buffer_int)->buffer_alloc, 128, in vp8_post_proc_frame()
/external/libaom/test/
Dhbd_metrics_test.cc120 memset(lbd_src.buffer_alloc, kPixFiller, lbd_src.buffer_alloc_sz); in RunAccuracyCheck()
123 spel = lbd_src.buffer_alloc[i]; in RunAccuracyCheck()
126 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck()
127 ((uint16_t *)(hbd_src.buffer_alloc))[i] = spel << (bit_depth_ - 8); in RunAccuracyCheck()
128 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
141 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck()
142 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
155 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck()
156 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
Dtemporal_filter_test.cc193 ref_frame->buffer_alloc = src; in RunTest()
204 ref_frame->buffer_alloc + plane * plane_stride * plane_height; in RunTest()
458 ref_frame->buffer_alloc = CONVERT_TO_BYTEPTR(src); in RunTest()
469 ref_frame->buffer_alloc + plane * plane_stride * plane_height; in RunTest()
/external/libvpx/test/
Dvp9_scale_test.cc88 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in RunTest()
129 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in PrintDiff()
Dvpx_scale_test.h38 memset(img->buffer_alloc, kBufFiller, img->frame_size); in ResetImage()
64 memset(img->buffer_alloc, kBufFiller, img->frame_size); in ResetScaleImage()
190 EXPECT_EQ(0, memcmp(ref_img_.buffer_alloc, actual.buffer_alloc, in CompareImages()
/external/mesa3d/src/intel/common/
Dgen_aux_map.c104 struct gen_mapped_pinned_buffer_alloc *buffer_alloc; member
121 buf->buffer = ctx->buffer_alloc->alloc(ctx->driver_ctx, size); in add_buffer()
202 struct gen_mapped_pinned_buffer_alloc *buffer_alloc, in gen_aux_map_init() argument
217 ctx->buffer_alloc = buffer_alloc; in gen_aux_map_init()
245 ctx->buffer_alloc->free(ctx->driver_ctx, buf->buffer); in gen_aux_map_finish()
Dgen_aux_map.h56 struct gen_mapped_pinned_buffer_alloc *buffer_alloc,
/external/libvpx/vpx_scale/
Dyv12config.h51 uint8_t *buffer_alloc; member
/external/libaom/aom_scale/
Dyv12config.h98 uint8_t *buffer_alloc; member
/external/libvpx/vp9/common/
Dvp9_postproc.c326 if ((flags & VP9D_MFQE) && !cm->post_proc_buffer_int.buffer_alloc) { in vp9_post_proc_frame()
344 memset(cm->post_proc_buffer_int.buffer_alloc, 128, in vp9_post_proc_frame()
386 if ((flags & VP9D_DEMACROBLOCK) && cm->post_proc_buffer_int.buffer_alloc) { in vp9_post_proc_frame()
/external/ltp/testcases/kernel/device-drivers/usb/tusb/
Dst_tusb.h40 void *(*buffer_alloc)(struct usb_bus *bus, size_t size, member
/external/libvpx/vp8/encoder/
Ddenoising.c403 memset(denoiser->yv12_running_avg[i].buffer_alloc, 0, in vp8_denoiser_allocate()
414 memset(denoiser->yv12_mc_running_avg.buffer_alloc, 0, in vp8_denoiser_allocate()
422 memset(denoiser->yv12_last_source.buffer_alloc, 0, in vp8_denoiser_allocate()
/external/libvpx/vp9/
Dvp9_iface_common.c73 img->img_data = yv12->buffer_alloc; in yuvconfig2image()
/external/libaom/av1/
Dav1_iface_common.h78 img->img_data = yv12->buffer_alloc; in yuvconfig2image()
/external/libaom/av1/encoder/
Dav1_temporal_denoiser.c267 if (denoiser->running_avg_y[frame].buffer_alloc == NULL) { in perform_motion_compensation()
413 if (denoiser->running_avg_y[i + shift].buffer_alloc != NULL) in av1_denoiser_update_frame_info()
487 if (denoiser->running_avg_y[fb_idx].buffer_alloc == NULL) { in av1_denoiser_realloc_svc_helper()
Dfirstpass.c972 fwrite(last_frame->buffer_alloc, last_frame->frame_size, 1, recon_file); in print_reconstruction_frame()
/external/libvpx/vp9/encoder/
Dvp9_denoiser.c267 if (denoiser->running_avg_y[frame].buffer_alloc == NULL) { in perform_motion_compensation()
478 if (denoiser->running_avg_y[i + shift].buffer_alloc != NULL) in vp9_denoiser_update_frame_info()
553 if (denoiser->running_avg_y[fb_idx].buffer_alloc == NULL) { in vp9_denoiser_realloc_svc_helper()
Dvp9_skin_detection.c149 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp9_output_skin_map()
Dvp9_svc_layercontext.c101 memset(cpi->svc.empty_frame.img.buffer_alloc, 0x80, in vp9_init_layer_context()
/external/libvpx/vp8/
Dvp8_dx_iface.c230 img->img_data = yv12->buffer_alloc; in yuvconfig2image()

12