CHECKED_ALLOCZ 58 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->vlc_codes, max_level*4*sizeof(*ctx->vlc_codes)); CHECKED_ALLOCZ 59 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->vlc_bits, max_level*4*sizeof(*ctx->vlc_bits)); CHECKED_ALLOCZ 60 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->run_codes, 63*2); CHECKED_ALLOCZ 61 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->run_bits, 63); CHECKED_ALLOCZ 114 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->qmatrix_l, (ctx->m.avctx->qmax+1) * 64 * sizeof(int)); CHECKED_ALLOCZ 115 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->qmatrix_c, (ctx->m.avctx->qmax+1) * 64 * sizeof(int)); CHECKED_ALLOCZ 116 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->qmatrix_l16, (ctx->m.avctx->qmax+1) * 64 * 2 * sizeof(uint16_t)); CHECKED_ALLOCZ 117 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->qmatrix_c16, (ctx->m.avctx->qmax+1) * 64 * 2 * sizeof(uint16_t)); CHECKED_ALLOCZ 145 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->mb_rc, 8160*ctx->m.avctx->qmax*sizeof(RCEntry)); CHECKED_ALLOCZ 147 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->mb_cmp, ctx->m.mb_num*sizeof(RCCMPEntry)); CHECKED_ALLOCZ 206 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->slice_size, ctx->m.mb_height*sizeof(uint32_t)); CHECKED_ALLOCZ 207 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->mb_bits, ctx->m.mb_num *sizeof(uint16_t)); CHECKED_ALLOCZ 208 libavcodec/dnxhdenc.c CHECKED_ALLOCZ(ctx->mb_qscale, ctx->m.mb_num *sizeof(uint8_t)); CHECKED_ALLOCZ 2075 libavcodec/h264.c CHECKED_ALLOCZ(h->intra4x4_pred_mode, big_mb_num * 8 * sizeof(uint8_t)) CHECKED_ALLOCZ 2077 libavcodec/h264.c CHECKED_ALLOCZ(h->non_zero_count , big_mb_num * 16 * sizeof(uint8_t)) CHECKED_ALLOCZ 2078 libavcodec/h264.c CHECKED_ALLOCZ(h->slice_table_base , (big_mb_num+s->mb_stride) * sizeof(*h->slice_table_base)) CHECKED_ALLOCZ 2079 libavcodec/h264.c CHECKED_ALLOCZ(h->cbp_table, big_mb_num * sizeof(uint16_t)) CHECKED_ALLOCZ 2081 libavcodec/h264.c CHECKED_ALLOCZ(h->chroma_pred_mode_table, big_mb_num * sizeof(uint8_t)) CHECKED_ALLOCZ 2082 libavcodec/h264.c CHECKED_ALLOCZ(h->mvd_table[0], 32*big_mb_num * sizeof(uint16_t)); CHECKED_ALLOCZ 2083 libavcodec/h264.c CHECKED_ALLOCZ(h->mvd_table[1], 32*big_mb_num * sizeof(uint16_t)); CHECKED_ALLOCZ 2084 libavcodec/h264.c CHECKED_ALLOCZ(h->direct_table, 32*big_mb_num * sizeof(uint8_t)); CHECKED_ALLOCZ 2089 libavcodec/h264.c CHECKED_ALLOCZ(h->mb2b_xy , big_mb_num * sizeof(uint32_t)); CHECKED_ALLOCZ 2090 libavcodec/h264.c CHECKED_ALLOCZ(h->mb2b8_xy , big_mb_num * sizeof(uint32_t)); CHECKED_ALLOCZ 2137 libavcodec/h264.c CHECKED_ALLOCZ(h->top_borders[0], h->s.mb_width * (16+8+8) * sizeof(uint8_t)) CHECKED_ALLOCZ 2138 libavcodec/h264.c CHECKED_ALLOCZ(h->top_borders[1], h->s.mb_width * (16+8+8) * sizeof(uint8_t)) CHECKED_ALLOCZ 211 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->mb_var , mb_array_size * sizeof(int16_t)) CHECKED_ALLOCZ 212 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->mc_mb_var, mb_array_size * sizeof(int16_t)) CHECKED_ALLOCZ 213 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->mb_mean , mb_array_size * sizeof(int8_t)) CHECKED_ALLOCZ 216 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->mbskip_table , mb_array_size * sizeof(uint8_t)+2) //the +2 is for the slice end check CHECKED_ALLOCZ 217 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->qscale_table , mb_array_size * sizeof(uint8_t)) CHECKED_ALLOCZ 218 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->mb_type_base , (big_mb_num + s->mb_stride) * sizeof(uint32_t)) CHECKED_ALLOCZ 222 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->motion_val_base[i], 2 * (b4_array_size+4) * sizeof(int16_t)) CHECKED_ALLOCZ 224 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->ref_index[i], b8_array_size * sizeof(uint8_t)) CHECKED_ALLOCZ 229 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->motion_val_base[i], 2 * (b8_array_size+4) * sizeof(int16_t)) CHECKED_ALLOCZ 231 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->ref_index[i], b8_array_size * sizeof(uint8_t)) CHECKED_ALLOCZ 236 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->dct_coeff, 64 * mb_array_size * sizeof(DCTELEM)*6) CHECKED_ALLOCZ 239 libavcodec/mpegvideo.c CHECKED_ALLOCZ(pic->pan_scan , 1 * sizeof(AVPanScan)) CHECKED_ALLOCZ 293 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->allocated_edge_emu_buffer, (s->width+64)*2*21*2); //(width + edge + align)*interlaced*MBsize*tolerance CHECKED_ALLOCZ 297 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->me.scratchpad, (s->width+64)*4*16*2*sizeof(uint8_t)) CHECKED_ALLOCZ 303 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->me.map , ME_MAP_SIZE*sizeof(uint32_t)) CHECKED_ALLOCZ 304 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->me.score_map, ME_MAP_SIZE*sizeof(uint32_t)) CHECKED_ALLOCZ 306 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->dct_error_sum, 2 * 64 * sizeof(int)) CHECKED_ALLOCZ 309 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->blocks, 64*12*2 * sizeof(DCTELEM)) CHECKED_ALLOCZ 474 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->mb_index2xy, (s->mb_num+1)*sizeof(int)) //error ressilience code looks cleaner with this CHECKED_ALLOCZ 484 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->p_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 485 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_forw_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 486 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_back_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 487 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_bidir_forw_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 488 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_bidir_back_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 489 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_direct_mv_table_base , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 498 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->ac_stats, 2*2*(MAX_LEVEL+1)*(MAX_RUN+1)*2*sizeof(int)); CHECKED_ALLOCZ 500 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->avctx->stats_out, 256); CHECKED_ALLOCZ 503 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->mb_type , mb_array_size * sizeof(uint16_t)) //needed for encoding CHECKED_ALLOCZ 505 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->lambda_table, mb_array_size * sizeof(int)) CHECKED_ALLOCZ 507 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->q_intra_matrix, 64*32 * sizeof(int)) CHECKED_ALLOCZ 508 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->q_inter_matrix, 64*32 * sizeof(int)) CHECKED_ALLOCZ 509 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->q_intra_matrix16, 64*32*2 * sizeof(uint16_t)) CHECKED_ALLOCZ 510 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->q_inter_matrix16, 64*32*2 * sizeof(uint16_t)) CHECKED_ALLOCZ 511 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->input_picture, MAX_PICTURE_COUNT * sizeof(Picture*)) CHECKED_ALLOCZ 512 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->reordered_input_picture, MAX_PICTURE_COUNT * sizeof(Picture*)) CHECKED_ALLOCZ 515 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->dct_offset, 2 * 64 * sizeof(uint16_t)) CHECKED_ALLOCZ 518 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->picture, MAX_PICTURE_COUNT * sizeof(Picture)) CHECKED_ALLOCZ 520 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->error_status_table, mb_array_size*sizeof(uint8_t)) CHECKED_ALLOCZ 528 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_field_mv_table_base[i][j][k] , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 531 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->b_field_select_table[i][j] , mb_array_size * 2 * sizeof(uint8_t)) CHECKED_ALLOCZ 532 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->p_field_mv_table_base[i][j] , mv_table_size * 2 * sizeof(int16_t)) CHECKED_ALLOCZ 535 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->p_field_select_table[i] , mb_array_size * 2 * sizeof(uint8_t)) CHECKED_ALLOCZ 540 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->ac_val_base, yc_size * sizeof(int16_t) * 16); CHECKED_ALLOCZ 546 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->coded_block_base, y_size); CHECKED_ALLOCZ 550 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->cbp_table , mb_array_size * sizeof(uint8_t)) CHECKED_ALLOCZ 551 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->pred_dir_table, mb_array_size * sizeof(uint8_t)) CHECKED_ALLOCZ 557 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->dc_val_base, yc_size * sizeof(int16_t)); CHECKED_ALLOCZ 566 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->mbintra_table, mb_array_size); CHECKED_ALLOCZ 570 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->mbskip_table, mb_array_size+2); CHECKED_ALLOCZ 572 libavcodec/mpegvideo.c CHECKED_ALLOCZ(s->prev_pict_types, PREV_PICT_TYPES_BUFFER_SIZE);