/aosp_15_r20/external/libvpx/vpx_scale/generic/ |
H A D | yv12config.c | 36 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 …]
|
/aosp_15_r20/external/libaom/aom_scale/generic/ |
H A D | yv12config.c | 37 aom_free(ybf->buffer_alloc); in aom_free_frame_buffer() 114 ybf->buffer_alloc = (uint8_t *)aom_align_addr(fb->data, 32); in realloc_frame_buffer_aligned() 121 memset(ybf->buffer_alloc, 0, (size_t)frame_size); in realloc_frame_buffer_aligned() 126 aom_free(ybf->buffer_alloc); in realloc_frame_buffer_aligned() 127 ybf->buffer_alloc = NULL; in realloc_frame_buffer_aligned() 132 ybf->buffer_alloc = (uint8_t *)aom_memalign(32, (size_t)frame_size); in realloc_frame_buffer_aligned() 133 if (!ybf->buffer_alloc) return AOM_CODEC_MEM_ERROR; in realloc_frame_buffer_aligned() 140 memset(ybf->buffer_alloc, 0, ybf->buffer_alloc_sz); in realloc_frame_buffer_aligned() 160 buf = ybf->buffer_alloc; in realloc_frame_buffer_aligned() 163 buf = CONVERT_TO_BYTEPTR(ybf->buffer_alloc); in realloc_frame_buffer_aligned()
|
/aosp_15_r20/external/libaom/test/ |
H A D | hbd_metrics_test.cc | 119 memset(lbd_src.buffer_alloc, kPixFiller, lbd_src.buffer_alloc_sz); in RunAccuracyCheck() 122 spel = lbd_src.buffer_alloc[i]; in RunAccuracyCheck() 125 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck() 126 ((uint16_t *)(hbd_src.buffer_alloc))[i] = spel << (bit_depth_ - 8); in RunAccuracyCheck() 127 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck() 140 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck() 141 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck() 154 lbd_dst.buffer_alloc[i] = (uint8_t)dpel; in RunAccuracyCheck() 155 ((uint16_t *)(hbd_dst.buffer_alloc))[i] = dpel << (bit_depth_ - 8); in RunAccuracyCheck()
|
H A D | av1_scale_test.cc | 65 memset(img->buffer_alloc, kBufFiller, img->frame_size); in ResetResizeImage() 139 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in RunTest() 152 memcmp(ref_img_.buffer_alloc, dst_img_.buffer_alloc, in RunTest() 186 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in PrintDiff()
|
H A D | temporal_filter_test.cc | 194 frame_to_filter->buffer_alloc = src; in RunTest() 205 frame_to_filter->buffer_alloc + plane * plane_stride * plane_height; in RunTest() 580 frame_to_filter->buffer_alloc = CONVERT_TO_BYTEPTR(src); in RunTest() 592 frame_to_filter->buffer_alloc + plane * plane_stride * plane_height; in RunTest()
|
/aosp_15_r20/external/libvpx/vp8/common/ |
H A D | swapyv12buffer.c | 17 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()
|
H A D | vp8_skin_detection.c | 86 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp8_compute_skin_map()
|
H A D | alloccommon.c | 112 memset(oci->post_proc_buffer.buffer_alloc, 128, in vp8_alloc_frame_buffers()
|
/aosp_15_r20/external/libaom/aom_dsp/ |
H A D | pyramid.c | 191 pyr->buffer_alloc = in aom_alloc_pyramid() 192 aom_memalign(PYRAMID_ALIGNMENT, buffer_size * sizeof(*pyr->buffer_alloc)); in aom_alloc_pyramid() 193 if (!pyr->buffer_alloc) { in aom_alloc_pyramid() 205 layer->buffer = pyr->buffer_alloc + layer_offsets[level]; in aom_alloc_pyramid() 464 aom_free(pyr->buffer_alloc); in aom_free_pyramid()
|
H A D | pyramid.h | 86 uint8_t *buffer_alloc; member
|
/aosp_15_r20/external/libvpx/test/ |
H A D | vp9_scale_test.cc | 87 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in RunTest() 128 if (memcmp(dst_img_.buffer_alloc, ref_img_.buffer_alloc, in PrintDiff()
|
H A D | vpx_scale_test.h | 38 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()
|
/aosp_15_r20/external/mesa3d/src/intel/common/ |
H A D | intel_aux_map.c | 205 struct intel_mapped_pinned_buffer_alloc *buffer_alloc; member 273 buf->buffer = ctx->buffer_alloc->alloc(ctx->driver_ctx, size); in add_buffer() 365 struct intel_mapped_pinned_buffer_alloc *buffer_alloc, in intel_aux_map_init() argument 383 ctx->buffer_alloc = buffer_alloc; in intel_aux_map_init() 412 ctx->buffer_alloc->free(ctx->driver_ctx, buf->buffer); in intel_aux_map_finish()
|
H A D | intel_aux_map.h | 86 struct intel_mapped_pinned_buffer_alloc *buffer_alloc,
|
/aosp_15_r20/packages/modules/Bluetooth/system/hci/src/ |
D | buffer_allocator.cc | 26 static void* buffer_alloc(size_t size) { in buffer_alloc() function 32 static const allocator_t interface = {buffer_alloc, osi_free};
|
/aosp_15_r20/external/libvpx/vp9/common/ |
H A D | vp9_postproc.c | 326 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()
|
/aosp_15_r20/external/libvpx/vp8/encoder/ |
H A D | denoising.c | 403 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()
|
/aosp_15_r20/external/libaom/av1/encoder/ |
H A D | av1_temporal_denoiser.c | 267 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()
|
/aosp_15_r20/external/libvpx/vpx_scale/ |
H A D | yv12config.h | 51 uint8_t *buffer_alloc; member
|
/aosp_15_r20/external/libvpx/vp9/encoder/ |
H A D | vp9_denoiser.c | 267 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()
|
H A D | vp9_skin_detection.c | 149 memset(skinmap.buffer_alloc, 128, skinmap.frame_size); in vp9_output_skin_map()
|
/aosp_15_r20/external/libaom/aom_scale/ |
H A D | yv12config.h | 118 uint8_t *buffer_alloc; member
|
/aosp_15_r20/external/ltp/testcases/kernel/device-drivers/usb/tusb/ |
H A D | st_tusb.h | 40 void *(*buffer_alloc)(struct usb_bus *bus, size_t size, member
|
/aosp_15_r20/external/libvpx/vp9/ |
H A D | vp9_iface_common.c | 73 img->img_data = yv12->buffer_alloc; in yuvconfig2image()
|
/aosp_15_r20/external/libaom/av1/ |
H A D | av1_iface_common.h | 78 img->img_data = yv12->buffer_alloc; in yuvconfig2image()
|