Searched refs:arrbuf2 (Results 1 – 2 of 2) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_resize.c | 431 uint8_t *arrbuf2 = (uint8_t *)calloc(height2, sizeof(*arrbuf2)); in vp9_resize_plane() local 432 if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) in vp9_resize_plane() 443 resize_multistep(arrbuf, height, arrbuf2, height2, tmpbuf); in vp9_resize_plane() 444 fill_arr_to_col(output + i, out_stride, height2, arrbuf2); in vp9_resize_plane() 451 free(arrbuf2); in vp9_resize_plane() 720 uint16_t *arrbuf2 = (uint16_t *)malloc(sizeof(uint16_t) * height2); in vp9_highbd_resize_plane() local 721 if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) in vp9_highbd_resize_plane() 733 highbd_resize_multistep(arrbuf, height, arrbuf2, height2, tmpbuf, bd); in vp9_highbd_resize_plane() 735 arrbuf2); in vp9_highbd_resize_plane() 742 free(arrbuf2); in vp9_highbd_resize_plane()
|
/external/libaom/libaom/av1/common/ |
D | resize.c | 652 uint8_t *arrbuf2 = (uint8_t *)aom_malloc(sizeof(uint8_t) * height2); in av1_resize_plane() local 653 if (intbuf == NULL || tmpbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) in av1_resize_plane() 664 resize_multistep(arrbuf, height, arrbuf2, height2, tmpbuf); in av1_resize_plane() 665 fill_arr_to_col(output + i, out_stride, height2, arrbuf2); in av1_resize_plane() 672 aom_free(arrbuf2); in av1_resize_plane() 681 double *arrbuf2 = (double *)aom_malloc(sizeof(double) * height2); in av1_upscale_plane_double_prec() local 682 if (intbuf == NULL || arrbuf == NULL || arrbuf2 == NULL) goto Error; in av1_upscale_plane_double_prec() 692 upscale_multistep_double_prec(arrbuf, height, arrbuf2, height2); in av1_upscale_plane_double_prec() 693 fill_arr_to_col_double_prec(output + i, out_stride, height2, arrbuf2); in av1_upscale_plane_double_prec() 699 aom_free(arrbuf2); in av1_upscale_plane_double_prec() [all …]
|