• 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

1289     ctx += h->mb_field_decoding_flag & !!s->mb_x; //for FMO:(s->current_picture.f.mb_type[mba_xy] >> 7) & (h->slice_table[mba_xy] == h->slice_num);
1290 ctx += (s->current_picture.f.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == h->slice_num);
1297 int mb_type;
1316 mb_type = 1; /* I16x16 */
1317 mb_type += 12 * get_cabac_noinline( &h->cabac, &state[1] ); /* cbp_luma != 0 */
1319 mb_type += 4 + 4 * get_cabac_noinline( &h->cabac, &state[2+intra_slice] );
1320 mb_type += 2 * get_cabac_noinline( &h->cabac, &state[3+intra_slice] );
1321 mb_type += 1 * get_cabac_noinline( &h->cabac, &state[3+2*intra_slice] );
1322 return mb_type;
1335 && MB_FIELD == !!IS_INTERLACED( s->current_picture.f.mb_type[mba_xy] ) )
1341 && IS_INTERLACED( s->current_picture.f.mb_type[mbb_xy] ) )
1351 if( h->slice_table[mba_xy] == h->slice_num && !IS_SKIP( s->current_picture.f.mb_type[mba_xy] ))
1353 if( h->slice_table[mbb_xy] == h->slice_num && !IS_SKIP( s->current_picture.f.mb_type[mbb_xy] ))
1816 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 )
1823 if( IS_INTRA16x16( mb_type ) ) {
1842 int cqm = (IS_INTRA( mb_type ) ? 0:3) + p;
1845 if( IS_8x8DCT(mb_type) ) {
1873 int mb_type, partition_count, cbp = 0;
1891 s->current_picture.f.mb_type[mb_xy] = MB_TYPE_SKIP;
1927 mb_type= 0; /* B_Direct_16x16 */
1929 mb_type= 1 + get_cabac_noinline( &h->cabac, &h->cabac_state[27+5] ); /* B_L[01]_16x16 */
1937 mb_type= bits + 3; /* B_Bi_16x16 through B_L1_L0_16x8 */
1939 mb_type= decode_cabac_intra_mb_type(h, 32, 0);
1942 mb_type= 11; /* B_L1_L0_8x16 */
1944 mb_type= 22; /* B_8x8 */
1947 mb_type= bits - 4; /* B_L0_Bi_* through B_Bi_Bi_* */
1950 partition_count= b_mb_type_info[mb_type].partition_count;
1951 mb_type= b_mb_type_info[mb_type].type;
1957 mb_type= 3 * get_cabac_noinline( &h->cabac, &h->cabac_state[16] );
1960 mb_type= 2 - get_cabac_noinline( &h->cabac, &h->cabac_state[17] );
1962 partition_count= p_mb_type_info[mb_type].partition_count;
1963 mb_type= p_mb_type_info[mb_type].type;
1965 mb_type= decode_cabac_intra_mb_type(h, 17, 0);
1969 mb_type= decode_cabac_intra_mb_type(h, 3, 1);
1970 if(h->slice_type == AV_PICTURE_TYPE_SI && mb_type)
1971 mb_type--;
1975 cbp= i_mb_type_info[mb_type].cbp;
1976 h->intra16x16_pred_mode= i_mb_type_info[mb_type].pred_mode;
1977 mb_type= i_mb_type_info[mb_type].type;
1980 mb_type |= MB_TYPE_INTERLACED;
1984 if(IS_INTRA_PCM(mb_type)) {
2012 s->current_picture.f.mb_type[mb_xy] = mb_type;
2022 fill_decode_caches(h, mb_type);
2024 if( IS_INTRA( mb_type ) ) {
2026 if( IS_INTRA4x4( mb_type ) ) {
2028 mb_type |= MB_TYPE_8x8DCT;
2069 ff_h264_pred_direct_motion(h, &mb_type);
2164 } else if( IS_DIRECT(mb_type) ) {
2165 ff_h264_pred_direct_motion(h, &mb_type);
2171 if(IS_16X16(mb_type)){
2173 if(IS_DIR(mb_type, 0, list)){
2187 if(IS_DIR(mb_type, 0, list)){
2198 else if(IS_16X8(mb_type)){
2201 if(IS_DIR(mb_type, i, list)){
2218 if(IS_DIR(mb_type, i, list)){
2233 assert(IS_8X16(mb_type));
2236 if(IS_DIR(mb_type, i, list)){ //FIXME optimize
2253 if(IS_DIR(mb_type, i, list)){
2270 if( IS_INTER( mb_type ) ) {
2272 write_back_motion( h, mb_type );
2275 if( !IS_INTRA16x16( mb_type ) ) {
2283 if( dct8x8_allowed && (cbp&15) && !IS_INTRA( mb_type ) ) {
2284 mb_type |= MB_TYPE_8x8DCT * get_cabac_noinline( &h->cabac, &h->cabac_state[399 + h->neighbor_transform_size] );
2289 if (CHROMA444 && IS_8x8DCT(mb_type)){
2299 nnz_cache[3+8*12 + 2*8*i]= IS_INTRA(mb_type) ? 64 : 0;
2303 uint32_t top_empty = CABAC && !IS_INTRA(mb_type) ? 0 : 0x40404040;
2309 s->current_picture.f.mb_type[mb_xy] = mb_type;
2311 if( cbp || IS_INTRA16x16( mb_type ) ) {
2315 if(IS_INTERLACED(mb_type)){
2353 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 0);
2355 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 1);
2356 decode_cabac_luma_residual(h, scan, scan8x8, pixel_shift, mb_type, cbp, 2);
2372 qmul = h->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][h->chroma_qp[c]];
2398 qmul = h->dequant4_coeff[c+1+(IS_INTRA( mb_type ) ? 0:3)][h->chroma_qp[c]];