• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching refs:mb

152             // take top left mv from the middle of the mb, as opposed to all other modes which use the bottom right partition
1032 /* FIXME save sub mb types from previous frames (or derive from MVs)
2473 memcpy(dest_y + i* linesize, h->mb + i*8, 16);
2476 memcpy(dest_cb+ i*uvlinesize, h->mb + 128 + i*4, 8);
2477 memcpy(dest_cr+ i*uvlinesize, h->mb + 160 + i*4, 8);
2503 h->hpc.pred8x8l_add[dir](ptr, h->mb + i*16, linesize);
2509 if(nnz == 1 && h->mb[i*16])
2510 idct_dc_add(ptr, h->mb + i*16, linesize);
2512 idct_add (ptr, h->mb + i*16, linesize);
2529 h->hpc.pred4x4_add[dir](ptr, h->mb + i*16, linesize);
2548 if(nnz == 1 && h->mb[i*16])
2549 idct_dc_add(ptr, h->mb + i*16, linesize);
2551 idct_add (ptr, h->mb + i*16, linesize);
2553 svq3_add_idct_c(ptr, h->mb + i*16, linesize, s->qscale, 0);
2563 h264_luma_dc_dequant_idct_c(h->mb, s->qscale, h->dequant4_coeff[0][s->qscale][0]);
2565 svq3_luma_dc_dequant_idct_c(h->mb, s->qscale);
2582 h->hpc.pred16x16_add[h->intra16x16_pred_mode](dest_y, block_offset, h->mb, linesize);
2585 if(h->non_zero_count_cache[ scan8[i] ] || h->mb[i*16])
2586 s->dsp.add_pixels4(dest_y + block_offset[i], h->mb + i*16, linesize);
2590 s->dsp.h264_idct_add16intra(dest_y, block_offset, h->mb, linesize, h->non_zero_count_cache);
2598 idct_add(dest_y + block_offset[i], h->mb + i*16, linesize);
2603 s->dsp.h264_idct8_add4(dest_y, block_offset, h->mb, linesize, h->non_zero_count_cache);
2605 s->dsp.h264_idct_add16(dest_y, block_offset, h->mb, linesize, h->non_zero_count_cache);
2611 if(h->non_zero_count_cache[ scan8[i] ] || h->mb[i*16]){ //FIXME benchmark weird rule, & below
2613 svq3_add_idct_c(ptr, h->mb + i*16, linesize, s->qscale, IS_INTRA(mb_type) ? 1 : 0);
2623 h->hpc.pred8x8_add[h->chroma_pred_mode](dest[0], block_offset + 16, h->mb + 16*16, uvlinesize);
2624 h->hpc.pred8x8_add[h->chroma_pred_mode](dest[1], block_offset + 20, h->mb + 20*16, uvlinesize);
2628 if(h->non_zero_count_cache[ scan8[i] ] || h->mb[i*16])
2629 idct_add (dest[(i&4)>>2] + block_offset[i], h->mb + i*16, uvlinesize);
2633 chroma_dc_dequant_idct_c(h->mb + 16*16, h->chroma_qp[0], h->dequant4_coeff[IS_INTRA(mb_type) ? 1:4][h->chroma_qp[0]][0]);
2634 chroma_dc_dequant_idct_c(h->mb + 16*16+4*16, h->chroma_qp[1], h->dequant4_coeff[IS_INTRA(mb_type) ? 2:5][h->chroma_qp[1]][0]);
2640 idct_add (dest[(i&4)>>2] + block_offset[i], h->mb + i*16, uvlinesize);
2641 else if(h->mb[i*16])
2642 idct_dc_add(dest[(i&4)>>2] + block_offset[i], h->mb + i*16, uvlinesize);
2646 if(h->non_zero_count_cache[ scan8[i] ] || h->mb[i*16]){
2648 svq3_add_idct_c(ptr, h->mb + i*16, uvlinesize, chroma_qp[s->qscale + 12] - 12, 2);
2656 s->dsp.clear_blocks(h->mb);
4076 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c%s%s pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n",
4366 tprintf(s->avctx, "pic:%d mb:%d/%d\n", h->frame_num, s->mb_x, s->mb_y);
4434 // The pixels are stored in the same order as levels in h->mb array.
4436 ((uint8_t*)h->mb)[x]= get_bits(&s->gb, 8);
4777 if( decode_residual(h, h->intra_gb_ptr, h->mb, LUMA_DC_BLOCK_INDEX, dc_scan, h->dequant4_coeff[0][s->qscale], 16) < 0){
4787 if( decode_residual(h, h->intra_gb_ptr, h->mb + 16*index, index, scan + 1, h->dequant4_coeff[0][s->qscale], 15) < 0 ){
4799 DCTELEM *buf = &h->mb[64*i8x8];
4812 if( decode_residual(h, gb, h->mb + 16*index, index, scan, h->dequant4_coeff[IS_INTRA( mb_type ) ? 0:3][s->qscale], 16) <0 ){
4826 if( decode_residual(h, gb, h->mb + 256 + 16*4*chroma_idx, CHROMA_DC_BLOCK_INDEX, chroma_dc_scan, NULL, 4) < 0){
4836 if( decode_residual(h, gb, h->mb + 16*index, index, scan + 1, qmul, 15) < 0){
5445 tprintf(s->avctx, "pic:%d mb:%d/%d\n", h->frame_num, s->mb_x, s->mb_y);
5448 /* a skipped mb needs the aff flag from the following mb */
5537 // The pixels are stored in the same order as levels in h->mb array.
5538 memcpy(h->mb, ptr, 256); ptr+=256;
5540 memcpy(h->mb+128, ptr, 128); ptr+=128;
5868 decode_cabac_residual( h, h->mb, 0, 0, dc_scan, NULL, 16);
5874 decode_cabac_residual(h, h->mb + 16*i, 1, i, scan + 1, qmul, 15);
5884 decode_cabac_residual(h, h->mb + 64*i8x8, 5, 4*i8x8,
5892 decode_cabac_residual(h, h->mb + 16*index, 2, index, scan, qmul, 16);
5907 decode_cabac_residual(h, h->mb + 256 + 16*4*c, 3, c, chroma_dc_scan, NULL, 4);
5918 decode_cabac_residual(h, h->mb + 16*index, 4, index, scan + 1, qmul, 15);
6336 tprintf(s->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d ls:%d uvls:%d", mb_x, mb_y, dir, edge, qp, tmp_linesize, tmp_uvlinesize);
6459 //tprintf(s->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d, QPc:%d, QPcn:%d\n", mb_x, mb_y, dir, edge, qp, h->chroma_qp, s->current_picture.qscale_table[mbn_xy]);
6460 tprintf(s->avctx, "filter mb:%d/%d dir:%d edge:%d, QPy:%d ls:%d uvls:%d", mb_x, mb_y, dir, edge, qp, linesize, uvlinesize);
6540 // left mb is in picture
6544 // and left mb is in the same slice if deblocking_filter == 2
6593 tprintf(s->avctx, "filter mb:%d/%d MBAFF, QPy:%d/%d, QPb:%d/%d QPr:%d/%d ls:%d uvls:%d", mb_x, mb_y, qp[0], qp[1], bqp[0], bqp[1], rqp[0], rqp[1], linesize, uvlinesize);