• 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

1288     ctx += h->mb_field_decoding_flag & !!h->mb_x; //for FMO:(s->current_picture.mb_type[mba_xy] >> 7) & (h->slice_table[mba_xy] == h->slice_num);
1289 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == h->slice_num);
1296 int mb_type;
1315 mb_type = 1; /* I16x16 */
1316 mb_type += 12 * get_cabac_noinline( &h->cabac, &state[1] ); /* cbp_luma != 0 */
1318 mb_type += 4 + 4 * get_cabac_noinline( &h->cabac, &state[2+intra_slice] );
1319 mb_type += 2 * get_cabac_noinline( &h->cabac, &state[3+intra_slice] );
1320 mb_type += 1 * get_cabac_noinline( &h->cabac, &state[3+2*intra_slice] );
1321 return mb_type;
1333 && MB_FIELD(h) == !!IS_INTERLACED( h->cur_pic.mb_type[mba_xy] ) )
1339 && IS_INTERLACED( h->cur_pic.mb_type[mbb_xy] ) )
1349 if( h->slice_table[mba_xy] == h->slice_num && !IS_SKIP(h->cur_pic.mb_type[mba_xy] ))
1351 if( h->slice_table[mbb_xy] == h->slice_num && !IS_SKIP(h->cur_pic.mb_type[mbb_xy] ))
1834 static av_always_inline void decode_cabac_luma_residual( H264Context *h, const uint8_t *scan, const uint8_t *scan8x8, int pixel_shift, int mb_type, int cbp, int p )
1840 if( IS_INTRA16x16( mb_type ) ) {
1857 int cqm = (IS_INTRA( mb_type ) ? 0:3) + p;
1860 if( IS_8x8DCT(mb_type) ) {
1886 int mb_type, partition_count, cbp = 0;
1905 h->cur_pic.mb_type[mb_xy] = MB_TYPE_SKIP;
1941 mb_type= 0; /* B_Direct_16x16 */
1943 mb_type= 1 + get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] ); /* B_L[01]_16x16 */
1951 mb_type= bits + 3; /* B_Bi_16x16 through B_L1_L0_16x8 */
1953 mb_type= decode_cabac_intra_mb_type(h, 32, 0);
1956 mb_type= 11; /* B_L1_L0_8x16 */
1958 mb_type= 22; /* B_8x8 */
1961 mb_type= bits - 4; /* B_L0_Bi_* through B_Bi_Bi_* */
1964 partition_count= b_mb_type_info[mb_type].partition_count;
1965 mb_type= b_mb_type_info[mb_type].type;
1971 mb_type= 3 * get_cabac_noinline( &h->cabac, &h->cabac_state[16] );
1974 mb_type= 2 - get_cabac_noinline( &h->cabac, &h->cabac_state[17] );
1976 partition_count= p_mb_type_info[mb_type].partition_count;
1977 mb_type= p_mb_type_info[mb_type].type;
1979 mb_type= decode_cabac_intra_mb_type(h, 17, 0);
1983 mb_type= decode_cabac_intra_mb_type(h, 3, 1);
1984 if(h->slice_type == AV_PICTURE_TYPE_SI && mb_type)
1985 mb_type--;
1989 cbp= i_mb_type_info[mb_type].cbp;
1990 h->intra16x16_pred_mode= i_mb_type_info[mb_type].pred_mode;
1991 mb_type= i_mb_type_info[mb_type].type;
1994 mb_type |= MB_TYPE_INTERLACED;
1998 if(IS_INTRA_PCM(mb_type)) {
2027 h->cur_pic.mb_type[mb_xy] = mb_type;
2035 fill_decode_caches(h, mb_type);
2037 if( IS_INTRA( mb_type ) ) {
2039 if( IS_INTRA4x4( mb_type ) ) {
2041 mb_type |= MB_TYPE_8x8DCT;
2083 ff_h264_pred_direct_motion(h, &mb_type);
2178 } else if( IS_DIRECT(mb_type) ) {
2179 ff_h264_pred_direct_motion(h, &mb_type);
2185 if(IS_16X16(mb_type)){
2187 if(IS_DIR(mb_type, 0, list)){
2201 if(IS_DIR(mb_type, 0, list)){
2212 else if(IS_16X8(mb_type)){
2215 if(IS_DIR(mb_type, i, list)){
2232 if(IS_DIR(mb_type, i, list)){
2247 av_assert2(IS_8X16(mb_type));
2250 if(IS_DIR(mb_type, i, list)){ //FIXME optimize
2267 if(IS_DIR(mb_type, i, list)){
2284 if( IS_INTER( mb_type ) ) {
2286 write_back_motion( h, mb_type );
2289 if( !IS_INTRA16x16( mb_type ) ) {
2302 if( dct8x8_allowed && (cbp&15) && !IS_INTRA( mb_type ) ) {
2303 mb_type |= MB_TYPE_8x8DCT * get_cabac_noinline( &h->cabac, &h->cabac_state[399 + h->neighbor_transform_size] );
2308 if (CHROMA444(h) && IS_8x8DCT(mb_type)){
2318 nnz_cache[3+8*12 + 2*8*i]= IS_INTRA(mb_type) ? 64 : 0;
2322 uint32_t top_empty = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 0x40404040;
2328 h->cur_pic.mb_type[mb_xy] = mb_type;
2330 if( cbp || IS_INTRA16x16( mb_type ) ) {
2334 if(IS_INTERLACED(mb_type)){
2372 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 0);
2374 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 1);
2375 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 2);
2389 qmul = h->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][h->chroma_qp[c]];
2412 qmul = h->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][h->chroma_qp[c]];