• H264源码分析(四)


    sub_mb_pred( mb_type ) {  
        for( mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++ )         
            // sub_mb_type[ mbPartIdx ]    指明子宏块的预测类型,在不同的宏块类型中这个句法元素的语义不一样。     
            sub_mb_type[ mbPartIdx ]  
        for( mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++ )             
            if( ( num_ref_idx_l0_active_minus1    >    0    | |  
    mb_field_decoding_flag ) &&
                mb_type    !=    P_8x8ref0    &&
                sub_mb_type[ mbPartIdx ]    !=    B_Direct_8x8    &&
                SubMbPredMode( sub_mb_type[ mbPartIdx ] )    !=    Pred_L1 )
                ref_idx_l0[ mbPartIdx ]   
        for( mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++ )             
            if( (num_ref_idx_l1_active_minus1    >    0    | |    mb_field_decoding_flag )
    &&
                    sub_mb_type[ mbPartIdx ]    !=    B_Direct_8x8    &&
                    SubMbPredMode( sub_mb_type[ mbPartIdx ] )    !=    Pred_L0 )
                ref_idx_l1[ mbPartIdx ]  
        for( mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++ )             
            if( sub_mb_type[ mbPartIdx ]    !=    B_Direct_8x8    &&
                SubMbPredMode( sub_mb_type[ mbPartIdx ] )    !=    Pred_L1 )
                for( subMbPartIdx = 0;  
                          subMbPartIdx < NumSubMbPart( sub_mb_type[ mbPartIdx ] );
                          subMbPartIdx++)
                    for( compIdx = 0; compIdx < 2; compIdx++ )         
                        mvd_l0[ mbPartIdx ][ subMbPartIdx ][ compIdx ]  
        for( mbPartIdx = 0; mbPartIdx < 4; mbPartIdx++ )         
            if( sub_mb_type[ mbPartIdx ]    !=    B_Direct_8x8    &&
                SubMbPredMode( sub_mb_type[ mbPartIdx ] )    !=    Pred_L0 )
                for( subMbPartIdx = 0;  
                          subMbPartIdx < NumSubMbPart( sub_mb_type[ mbPartIdx ] );
                          subMbPartIdx++)
                    for( compIdx = 0; compIdx < 2; compIdx++ )         
                        mvd_l1[ mbPartIdx ][ subMbPartIdx ][ compIdx ]  
    }

  • 相关阅读:
    JSTL EL 详解
    什么是JavaBean
    easy.jsp出现According to TLD or attribute directive in tag file, attribute value does not accept any expressions
    搭建sendmail
    系统运维工程师之路
    centos7 搭建安装zabbix3.0服务端实例(一)
    单例模式
    cassandra-压缩策略
    cassandra的坑-windows平台压缩策略
    Quick Sort
  • 原文地址:https://www.cnblogs.com/javawebsoa/p/3214914.html
Copyright © 2020-2023  润新知