• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/

Lines Matching refs:mb_type

296     const int mb_type = s->current_picture.f.mb_type[mb_xy];
303 if(IS_16X16(mb_type)){
305 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs);
306 }else if(IS_16X8(mb_type)){
308 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs);
310 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs);
311 }else if(IS_8X16(mb_type)){
313 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1), nrefs);
315 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1), nrefs);
319 assert(IS_8X8(mb_type));
726 const int mb_type = s->current_picture.f.mb_type[mb_xy];
728 assert(IS_INTER(mb_type));
734 if(IS_16X16(mb_type)){
738 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1),
740 }else if(IS_16X8(mb_type)){
744 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1),
749 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1),
751 }else if(IS_8X16(mb_type)){
755 IS_DIR(mb_type, 0, 0), IS_DIR(mb_type, 0, 1),
760 IS_DIR(mb_type, 1, 0), IS_DIR(mb_type, 1, 1),
765 assert(IS_8X8(mb_type));
1742 static av_always_inline void hl_decode_mb_predict_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass,
1751 if(IS_INTRA4x4(mb_type)){
1753 if(IS_8x8DCT(mb_type)){
1845 static av_always_inline void hl_decode_mb_idct_luma(H264Context *h, int mb_type, int is_h264, int simple, int transform_bypass,
1852 if(!IS_INTRA4x4(mb_type)){
1854 if(IS_INTRA16x16(mb_type)){
1869 const int di = IS_8x8DCT(mb_type) ? 4 : 1;
1870 idct_add= IS_8x8DCT(mb_type) ? s->dsp.add_pixels8 : s->dsp.add_pixels4;
1877 if(IS_8x8DCT(mb_type)){
1888 ff_svq3_add_idct_c(ptr, h->mb + i*16 + p*256, linesize, s->qscale, IS_INTRA(mb_type) ? 1 : 0);
1901 const int mb_type = s->current_picture.f.mb_type[mb_xy];
1934 if(!USES_LIST(mb_type, list))
1936 if(IS_16X16(mb_type)){
1954 if (!simple && IS_INTRA_PCM(mb_type)) {
2012 if(IS_INTRA(mb_type)){
2021 hl_decode_mb_predict_luma(h, mb_type, is_h264, simple, transform_bypass, pixel_shift, block_offset, linesize, dest_y, 0);
2043 hl_decode_mb_idct_luma(h, mb_type, is_h264, simple, transform_bypass, pixel_shift, block_offset, linesize, dest_y, 0);
2048 if(IS_INTRA(mb_type) && h->sps.profile_idc==244 && (h->chroma_pred_mode==VERT_PRED8x8 || h->chroma_pred_mode==HOR_PRED8x8)){
2077 h->h264dsp.h264_chroma_dc_dequant_idct(h->mb + (16*16*1 << pixel_shift), h->dequant4_coeff[IS_INTRA(mb_type) ? 1:4][qp[0]][0]);
2079 h->h264dsp.h264_chroma_dc_dequant_idct(h->mb + (16*16*2 << pixel_shift), h->dequant4_coeff[IS_INTRA(mb_type) ? 2:5][qp[1]][0]);
2084 h->h264dsp.h264_chroma_dc_dequant_idct(h->mb + 16*16*1, h->dequant4_coeff[IS_INTRA(mb_type) ? 1:4][h->chroma_qp[0]][0]);
2085 h->h264dsp.h264_chroma_dc_dequant_idct(h->mb + 16*16*2, h->dequant4_coeff[IS_INTRA(mb_type) ? 2:5][h->chroma_qp[1]][0]);
2098 if(h->cbp || IS_INTRA(mb_type))
2110 const int mb_type = s->current_picture.f.mb_type[mb_xy];
2135 if(!USES_LIST(mb_type, list))
2137 if(IS_16X16(mb_type)){
2153 if (!simple && IS_INTRA_PCM(mb_type)) {
2174 if(IS_INTRA(mb_type)){
2179 hl_decode_mb_predict_luma(h, mb_type, 1, simple, transform_bypass, pixel_shift, block_offset, linesize, dest[p], p);
2192 hl_decode_mb_idct_luma(h, mb_type, 1, simple, transform_bypass, pixel_shift, block_offset, linesize, dest[p], p);
2194 if(h->cbp || IS_INTRA(mb_type))
2229 const int mb_type = s->current_picture.f.mb_type[mb_xy];
2230 int is_complex = CONFIG_SMALL || h->is_complex || IS_INTRA_PCM(mb_type) || s->qscale == 0;
3351 static av_always_inline void fill_filter_caches_inter(H264Context *h, MpegEncContext * const s, int mb_type, int top_xy,
3357 if(IS_INTER(mb_type) || IS_DIRECT(mb_type)){
3372 if(!IS_INTERLACED(mb_type^left_type[LTOP])){
3398 if(!USES_LIST(mb_type, list)){
3431 static int fill_filter_caches(H264Context *h, int mb_type){
3446 const int left_mb_field_flag = IS_INTERLACED(s->current_picture.f.mb_type[mb_xy - 1]);
3447 const int curr_mb_field_flag = IS_INTERLACED(mb_type);
3454 top_xy += s->mb_stride & (((s->current_picture.f.mb_type[top_xy] >> 7) & 1) - 1);
3481 top_type = s->current_picture.f.mb_type[top_xy];
3482 left_type[LTOP] = s->current_picture.f.mb_type[left_xy[LTOP]];
3483 left_type[LBOT] = s->current_picture.f.mb_type[left_xy[LBOT]];
3495 if(IS_INTRA(mb_type))
3498 fill_filter_caches_inter(h, s, mb_type, top_xy, left_xy, top_type, left_type, mb_xy, 0);
3500 fill_filter_caches_inter(h, s, mb_type, top_xy, left_xy, top_type, left_type, mb_xy, 1);
3540 if(IS_8x8DCT(mb_type)){
3570 int mb_xy, mb_type;
3573 mb_type = s->current_picture.f.mb_type[mb_xy];
3577 h->mb_mbaff = h->mb_field_decoding_flag = !!IS_INTERLACED(mb_type);
3599 if(fill_filter_caches(h, mb_type))
3622 int mb_type = (h->slice_table[mb_xy-1] == h->slice_num)
3623 ? s->current_picture.f.mb_type[mb_xy - 1]
3625 ? s->current_picture.f.mb_type[mb_xy - s->mb_stride]
3627 h->mb_mbaff = h->mb_field_decoding_flag = IS_INTERLACED(mb_type) ? 1 : 0;