• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching refs:mb_type

633 static av_always_inline int decode_luma_residual(H264Context *h, GetBitContext *gb, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p){
636 if(IS_INTRA16x16(mb_type)){
663 int cqm = (IS_INTRA( mb_type ) ? 0:3)+p;
668 if(IS_8x8DCT(mb_type)){
702 unsigned int mb_type, cbp;
733 mb_type= get_ue_golomb(&h->gb);
735 if(mb_type < 23){
736 partition_count= b_mb_type_info[mb_type].partition_count;
737 mb_type= b_mb_type_info[mb_type].type;
739 mb_type -= 23;
743 if(mb_type < 5){
744 partition_count= p_mb_type_info[mb_type].partition_count;
745 mb_type= p_mb_type_info[mb_type].type;
747 mb_type -= 5;
752 if(h->slice_type == AV_PICTURE_TYPE_SI && mb_type)
753 mb_type--;
755 if(mb_type > 25){
756 av_log(h->avctx, AV_LOG_ERROR, "mb_type %d in %c slice too large at %d %d\n", mb_type, av_get_picture_type_char(h->slice_type), h->mb_x, h->mb_y);
760 cbp= i_mb_type_info[mb_type].cbp;
761 h->intra16x16_pred_mode= i_mb_type_info[mb_type].pred_mode;
762 mb_type= i_mb_type_info[mb_type].type;
766 mb_type |= MB_TYPE_INTERLACED;
770 if(IS_INTRA_PCM(mb_type)){
787 h->cur_pic.mb_type[mb_xy] = mb_type;
794 fill_decode_neighbors(h, mb_type);
795 fill_decode_caches(h, mb_type);
798 if(IS_INTRA(mb_type)){
801 if(IS_INTRA4x4(mb_type)){
805 mb_type |= MB_TYPE_8x8DCT;
853 ff_h264_pred_direct_motion(h, &mb_type);
873 int ref_count = IS_REF0(mb_type) ? 1 : local_ref_count[list];
943 }else if(IS_DIRECT(mb_type)){
944 ff_h264_pred_direct_motion(h, &mb_type);
949 if(IS_16X16(mb_type)){
952 if(IS_DIR(mb_type, 0, list)){
968 if(IS_DIR(mb_type, 0, list)){
978 else if(IS_16X8(mb_type)){
982 if(IS_DIR(mb_type, i, list)){
1002 if(IS_DIR(mb_type, i, list)){
1015 av_assert2(IS_8X16(mb_type));
1019 if(IS_DIR(mb_type, i, list)){ //FIXME optimize
1039 if(IS_DIR(mb_type, i, list)){
1054 if(IS_INTER(mb_type))
1055 write_back_motion(h, mb_type);
1057 if(!IS_INTRA16x16(mb_type)){
1065 if(IS_INTRA4x4(mb_type)) cbp= golomb_to_intra4x4_cbp[cbp];
1072 if(IS_INTRA4x4(mb_type)) cbp= golomb_to_intra4x4_cbp_gray[cbp];
1082 if(dct8x8_allowed && (cbp&15) && !IS_INTRA(mb_type)){
1083 mb_type |= MB_TYPE_8x8DCT*get_bits1(&h->gb);
1087 h->cur_pic.mb_type[mb_xy] = mb_type;
1089 if(cbp || IS_INTRA16x16(mb_type)){
1093 GetBitContext *gb= IS_INTRA(mb_type) ? h->intra_gb_ptr : h->inter_gb_ptr;
1097 if(IS_INTERLACED(mb_type)){
1121 if( (ret = decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 0)) < 0 ){
1126 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 1) < 0 ){
1129 if( decode_luma_residual(h, gb, scan, scan8x8, pixel_shift, mb_type, cbp, 2) < 0 ){
1147 const uint32_t *qmul = h->dequant4_coeff[chroma_idx+1+(IS_INTRA( mb_type ) ? 0:3)][h->chroma_qp[chroma_idx]];