/external/libaom/libaom/av1/encoder/ |
D | ransac.c | 230 double *a = (double *)aom_malloc(sizeof(*a) * (np2 * 5 + 20)); in find_rotzoom() 269 double *a = (double *)aom_malloc(sizeof(*a) * (np2 * 7 + 42)); in find_affine() 410 points1 = (double *)aom_malloc(sizeof(*points1) * npoints * 2); in ransac() 411 points2 = (double *)aom_malloc(sizeof(*points2) * npoints * 2); in ransac() 412 corners1 = (double *)aom_malloc(sizeof(*corners1) * npoints * 2); in ransac() 413 corners2 = (double *)aom_malloc(sizeof(*corners2) * npoints * 2); in ransac() 414 image1_coord = (double *)aom_malloc(sizeof(*image1_coord) * npoints * 2); in ransac() 417 (RANSAC_MOTION *)aom_malloc(sizeof(RANSAC_MOTION) * num_desired_motions); in ransac() 420 (int *)aom_malloc(sizeof(*motions->inlier_indices) * npoints); in ransac() 424 (int *)aom_malloc(sizeof(*current_motion.inlier_indices) * npoints); in ransac() [all …]
|
D | global_motion.c | 583 ImagePyramid *pyr = aom_malloc(sizeof(*pyr)); in alloc_pyramid() 589 pyr->level_buffer = aom_malloc(buffer_size); in alloc_pyramid() 596 pyr->level_dx_buffer = aom_malloc(gradient_size); in alloc_pyramid() 597 pyr->level_dy_buffer = aom_malloc(gradient_size); in alloc_pyramid() 731 aom_malloc(frm_pyr->strides[0] * frm_pyr->heights[0] * sizeof(*flow_u)); in compute_flow_field() 733 aom_malloc(frm_pyr->strides[0] * frm_pyr->heights[0] * sizeof(*flow_v)); in compute_flow_field() 832 aom_malloc(frm_pyr->strides[0] * frm_pyr->heights[0] * sizeof(*flow_u)); in compute_global_motion_disflow_based() 834 aom_malloc(frm_pyr->strides[0] * frm_pyr->heights[0] * sizeof(*flow_v)); in compute_global_motion_disflow_based() 847 correspondences = aom_malloc(num_frm_corners * 4 * sizeof(*correspondences)); in compute_global_motion_disflow_based()
|
D | ethread.c | 146 aom_malloc(sizeof(*row_mt_sync->mutex_) * rows)); in av1_row_mt_sync_mem_alloc() 154 aom_malloc(sizeof(*row_mt_sync->cond_) * rows)); in av1_row_mt_sync_mem_alloc() 164 aom_malloc(sizeof(*row_mt_sync->cur_col) * rows)); in av1_row_mt_sync_mem_alloc() 382 aom_malloc(num_workers * sizeof(*cpi->workers))); in create_enc_workers() 391 aom_malloc(sizeof(*(cpi->row_mt_mutex_)))); in create_enc_workers() 433 (InterModesInfo *)aom_malloc( in create_enc_workers() 440 (uint32_t *)aom_malloc( in create_enc_workers()
|
D | mathutils.h | 71 scratch_ = (double *)aom_malloc(sizeof(*scratch) * n * (n + 1)); in least_squares() 139 double *rv1 = (double *)aom_malloc(sizeof(*rv1) * (n + 1)); in svdcmp() 322 double **nrU = (double **)aom_malloc((M) * sizeof(*nrU)); in SVD() 323 double **nrV = (double **)aom_malloc((N) * sizeof(*nrV)); in SVD()
|
D | pickcdef.c | 306 int *sb_index = aom_malloc(nvfb * nhfb * sizeof(*sb_index)); in av1_cdef_search() 307 int *selected_strength = aom_malloc(nvfb * nhfb * sizeof(*sb_index)); in av1_cdef_search() 327 mse[0] = aom_malloc(sizeof(**mse) * nvfb * nhfb); in av1_cdef_search() 328 mse[1] = aom_malloc(sizeof(**mse) * nvfb * nhfb); in av1_cdef_search()
|
D | hash_motion.c | 129 (Vector **)aom_malloc(sizeof(p_hash_table->p_lookup_table[0]) * max_addr); in av1_hash_table_create() 139 aom_malloc(sizeof(p_hash_table->p_lookup_table[0][0])); in hash_table_add_to_table()
|
D | aq_cyclicrefresh.c | 73 cr->last_coded_q_map = aom_malloc(last_coded_q_map_size); in av1_cyclic_refresh_alloc()
|
/external/libaom/libaom/test/ |
D | pickrst_test.cc | 47 src_ = (uint8_t *)(aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * in SetUp() 50 dgd_ = (uint8_t *)(aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * in SetUp() 53 flt0_ = (int32_t *)(aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * in SetUp() 56 flt1_ = (int32_t *)(aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * in SetUp() 213 (uint16_t *)aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * sizeof(*src_)); in SetUp() 216 (uint16_t *)aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * sizeof(*dgd_)); in SetUp() 219 (int32_t *)aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * sizeof(*flt0_)); in SetUp() 222 (int32_t *)aom_malloc(MAX_DATA_BLOCK * MAX_DATA_BLOCK * sizeof(*flt1_)); in SetUp()
|
D | av1_nn_predict_test.cc | 40 weights_buf = (float *)aom_malloc(MAX_NODES2 * (NN_MAX_HIDDEN_LAYERS + 1) * in SetUp() 43 (float *)aom_malloc(NN_MAX_NODES_PER_LAYER * in SetUp()
|
D | horver_correlation_test.cc | 35 data_buf_ = (int16_t *)aom_malloc(MAX_SB_SQUARE * sizeof(int16_t)); in SetUp()
|
/external/libaom/libaom/aom_dsp/ |
D | noise_util.c | 40 (struct aom_noise_tx_t *)aom_malloc(sizeof(struct aom_noise_tx_t)); in aom_noise_tx_malloc() 161 mean_x = (double *)aom_malloc(sizeof(*mean_x) * w); in aom_noise_data_validate() 162 var_x = (double *)aom_malloc(sizeof(*var_x) * w); in aom_noise_data_validate() 163 mean_y = (double *)aom_malloc(sizeof(*mean_x) * h); in aom_noise_data_validate() 164 var_y = (double *)aom_malloc(sizeof(*var_y) * h); in aom_noise_data_validate()
|
D | noise_model.c | 110 eqns->A = (double *)aom_malloc(sizeof(*eqns->A) * n * n); in equation_system_init() 111 eqns->b = (double *)aom_malloc(sizeof(*eqns->b) * n); in equation_system_init() 112 eqns->x = (double *)aom_malloc(sizeof(*eqns->x) * n); in equation_system_init() 128 double *b = (double *)aom_malloc(sizeof(*b) * n); in equation_system_solve() 129 double *A = (double *)aom_malloc(sizeof(*A) * n * n); in equation_system_solve() 217 lut->points = (double(*)[2])aom_malloc(num_points * sizeof(*lut->points)); in aom_noise_strength_lut_init() 289 double *A = (double *)aom_malloc(sizeof(*A) * n * n); in aom_noise_strength_solver_solve() 389 double *residual = aom_malloc(solver->num_bins * sizeof(*residual)); in aom_noise_strength_solver_fit_piecewise() 435 AtA_inv = (double *)aom_malloc(kLowPolyNumParams * kLowPolyNumParams * in aom_flat_block_finder_init() 437 A = (double *)aom_malloc(kLowPolyNumParams * n * sizeof(*A)); in aom_flat_block_finder_init() [all …]
|
D | grain_synthesis.c | 259 pred_pos_luma = (int **)aom_malloc(sizeof(*pred_pos_luma) * num_pos_luma); in init_arrays() 262 pred_pos_luma[row] = (int *)aom_malloc(sizeof(**pred_pos_luma) * 3); in init_arrays() 266 (int **)aom_malloc(sizeof(*pred_pos_chroma) * num_pos_chroma); in init_arrays() 269 pred_pos_chroma[row] = (int *)aom_malloc(sizeof(**pred_pos_chroma) * 3); in init_arrays() 309 *y_line_buf = (int *)aom_malloc(sizeof(**y_line_buf) * luma_stride * 2); in init_arrays() 310 *cb_line_buf = (int *)aom_malloc(sizeof(**cb_line_buf) * chroma_stride * in init_arrays() 312 *cr_line_buf = (int *)aom_malloc(sizeof(**cr_line_buf) * chroma_stride * in init_arrays() 316 (int *)aom_malloc(sizeof(**y_col_buf) * (luma_subblock_size_y + 2) * 2); in init_arrays() 318 (int *)aom_malloc(sizeof(**cb_col_buf) * in init_arrays() 322 (int *)aom_malloc(sizeof(**cr_col_buf) * in init_arrays() [all …]
|
D | buf_ans.c | 22 AOM_CHECK_MEM_ERROR(error, c->buf, aom_malloc(c->size * sizeof(*c->buf))); in aom_buf_ans_alloc() 38 aom_malloc(new_size * sizeof(*new_buf))); in aom_buf_ans_grow()
|
D | grain_table.c | 186 aom_film_grain_table_entry_t *new_tail = aom_malloc(sizeof(*new_tail)); in aom_film_grain_table_append() 235 aom_malloc(sizeof(*new_entry)); in aom_film_grain_table_lookup() 280 aom_film_grain_table_entry_t *entry = aom_malloc(sizeof(*entry)); in aom_film_grain_table_read()
|
/external/libaom/libaom/av1/common/ |
D | thread_common.c | 64 aom_malloc(sizeof(*(lf_sync->mutex_[j])) * rows)); in loop_filter_alloc() 72 aom_malloc(sizeof(*(lf_sync->cond_[j])) * rows)); in loop_filter_alloc() 81 aom_malloc(sizeof(*(lf_sync->job_mutex)))); in loop_filter_alloc() 88 aom_malloc(num_workers * sizeof(*(lf_sync->lfdata)))); in loop_filter_alloc() 93 aom_malloc(sizeof(*(lf_sync->cur_sb_col[j])) * rows)); in loop_filter_alloc() 97 aom_malloc(sizeof(*(lf_sync->job_queue)) * rows * MAX_MB_PLANE * 2)); in loop_filter_alloc() 591 aom_malloc(sizeof(*(lr_sync->mutex_[j])) * num_rows_lr)); in loop_restoration_alloc() 599 aom_malloc(sizeof(*(lr_sync->cond_[j])) * num_rows_lr)); in loop_restoration_alloc() 608 aom_malloc(sizeof(*(lr_sync->job_mutex)))); in loop_restoration_alloc() 615 aom_malloc(num_workers * sizeof(*(lr_sync->lrworkerdata)))); in loop_restoration_alloc() [all …]
|
D | resize.c | 648 uint8_t *intbuf = (uint8_t *)aom_malloc(sizeof(uint8_t) * width2 * height); in av1_resize_plane() 650 (uint8_t *)aom_malloc(sizeof(uint8_t) * AOMMAX(width, height)); in av1_resize_plane() 651 uint8_t *arrbuf = (uint8_t *)aom_malloc(sizeof(uint8_t) * height); in av1_resize_plane() 652 uint8_t *arrbuf2 = (uint8_t *)aom_malloc(sizeof(uint8_t) * height2); in av1_resize_plane() 679 double *intbuf = (double *)aom_malloc(sizeof(double) * width2 * height); in av1_upscale_plane_double_prec() 680 double *arrbuf = (double *)aom_malloc(sizeof(double) * height); in av1_upscale_plane_double_prec() 681 double *arrbuf2 = (double *)aom_malloc(sizeof(double) * height2); in av1_upscale_plane_double_prec() 726 tmp_left = (uint8_t *)aom_malloc(sizeof(*tmp_left) * border_cols * height); in upscale_normative_rect() 734 (uint8_t *)aom_malloc(sizeof(*tmp_right) * border_cols * height); in upscale_normative_rect() 1021 uint16_t *intbuf = (uint16_t *)aom_malloc(sizeof(uint16_t) * width2 * height); in av1_highbd_resize_plane() [all …]
|
D | cdef.c | 161 row_cdef = aom_malloc(sizeof(*row_cdef) * (nhfb + 2) * 2); in av1_cdef_frame() 173 linebuf[pli] = aom_malloc(sizeof(*linebuf) * CDEF_VBORDER * stride); in av1_cdef_frame() 175 aom_malloc(sizeof(*colbuf) * in av1_cdef_frame()
|
D | alloccommon.c | 120 CHECK_MEM_ERROR(cm, cm->rlbs, aom_malloc(sizeof(RestorationLineBuffers))); in av1_alloc_restoration_buffers()
|
/external/libaom/libaom/aom_mem/ |
D | aom_mem.c | 63 void *aom_malloc(size_t size) { return aom_memalign(DEFAULT_ALIGNMENT, size); } in aom_malloc() function 67 void *const x = aom_malloc(total_size); in aom_calloc()
|
D | aom_mem.h | 36 void *aom_malloc(size_t size);
|
/external/libaom/libaom/aom/ |
D | exports_com | 21 text aom_malloc
|
/external/libaom/libaom/av1/decoder/ |
D | inspection.c | 19 fd->mi_grid = (insp_mi_data *)aom_malloc(sizeof(insp_mi_data) * fd->mi_rows * in ifd_init_mi_rc()
|
D | decodeframe.c | 2916 aom_malloc(sizeof(*(dec_row_mt_sync->mutex_)) * rows)); in dec_row_mt_alloc() 2924 aom_malloc(sizeof(*(dec_row_mt_sync->cond_)) * rows)); in dec_row_mt_alloc() 2934 aom_malloc(sizeof(*(dec_row_mt_sync->cur_sb_col)) * rows)); in dec_row_mt_alloc() 3718 aom_malloc(sizeof(*tile_mt_info->job_mutex) * num_tiles)); in alloc_dec_jobs() 3726 aom_malloc(sizeof(*tile_mt_info->job_queue) * num_tiles)); in alloc_dec_jobs() 3844 aom_malloc(num_threads * sizeof(*pbi->tile_workers))); in decode_mt_init() 3846 aom_malloc(num_threads * sizeof(*pbi->thread_data))); in decode_mt_init() 4059 aom_malloc(sizeof(*(pbi->row_mt_mutex_)))); in row_mt_frame_init() 4067 aom_malloc(sizeof(*(pbi->row_mt_cond_)))); in row_mt_frame_init()
|
/external/libaom/libaom/examples/ |
D | noise_model.c | 330 uint8_t *flat_blocks = (uint8_t *)aom_malloc(num_blocks_w * num_blocks_h); in main()
|