umc_avs_dec_consts.h

来自「audio-video-codecs.rar语音编解码器」· C头文件 代码 · 共 110 行

H
110
字号
/*
//
//              INTEL CORPORATION PROPRIETARY INFORMATION
//  This software is supplied under the terms of a license  agreement or
//  nondisclosure agreement with Intel Corporation and may not be copied
//  or disclosed except in  accordance  with the terms of that agreement.
//    Copyright (c) 2007 Intel Corporation. All Rights Reserved.
//
//
*/

#ifndef __UMC_AVS_DEC_CONSTS_H
#define __UMC_AVS_DEC_CONSTS_H

#include "ippdefs.h"

namespace UMC
{

// declare types of a macroblock
enum eAVSMbType
{
    I_8x8,

    P_Skip,
    P_16x16,
    P_16x8,
    P_8x16,
    P_8x8,

    B_Skip,
    B_Direct_16x16,
    B_Fwd_16x16,
    B_Bck_16x16,
    B_Sym_16x16,
    B_Fwd_Fwd_16x8,
    B_Fwd_Fwd_8x16,
    B_Bck_Bck_16x8,
    B_Bck_Bck_8x16,
    B_Fwd_Bck_16x8,
    B_Fwd_Bck_8x16,
    B_Bck_Fwd_16x8,
    B_Bck_Fwd_8x16,
    B_Fwd_Sym_16x8,
    B_Fwd_Sym_8x16,
    B_Bck_Sym_16x8,
    B_Bck_Sym_8x16,
    B_Sym_Fwd_16x8,
    B_Sym_Fwd_8x16,
    B_Sym_Bck_16x8,
    B_Sym_Bck_8x16,
    B_Sym_Sym_16x8,
    B_Sym_Sym_8x16,
    B_8x8
};

// declare block devision types
enum eAVSDivBlockType
{
    Div_16x16                   = 0,
    Div_16x8                    = 1,
    Div_8x16                    = 2,
    Div_8x8                     = 3
};

// declare block prediction types
enum eAVSPredType
{
    PredIntra                   = 0,
    PredForward                 = 1,
    PredBackward                = 2,
    PredBiDir                   = 3,

    // these two types are used only in decoding process.
    // in reconstruction process only four types above are availeble.
    PredDirect                  = 0,
    PredSym                     = 4 | PredForward
};

// declare block coding types
enum
{
    AVS_INTRA                   = 0,
    AVS_INTER                   = 1,

    AVS_CODING_TYPES
};

// declare block prediction directions types
enum
{
    AVS_FORWARD                 = 0,
    AVS_BACKWARD                = 1,

    AVS_DIRECTIONS
};

// declare picture structure types
enum eAVSPicStructure
{
    AVS_FRAME                   = 0,
    AVS_UPPER_FIELD             = 1,
    AVS_LOWER_FIELD             = 2,
    AVS_FIELD_PAIR              = 3
};

} // namespace UMC

#endif // __UMC_AVS_DEC_CONSTS_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?