[astyle]: formating coding style

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@186 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2008-01-24 21:36:21 +00:00
parent 95704e887c
commit 608671728d
8 changed files with 26 additions and 30 deletions

View File

@@ -7,7 +7,6 @@ add_library(mpp_codec STATIC
mpp_buf_slot.cpp mpp_buf_slot.cpp
mpp_enc.cpp mpp_enc.cpp
mpp_dec.cpp mpp_dec.cpp
) )
set_target_properties(mpp_codec PROPERTIES FOLDER "mpp/codec") set_target_properties(mpp_codec PROPERTIES FOLDER "mpp/codec")
add_subdirectory(dec) add_subdirectory(dec)

View File

@@ -34,7 +34,8 @@ extern RK_U32 mpp_debug;
#define mpp_dbg(flag, fmt, ...) _mpp_dbg(mpp_debug, flag, fmt, ## __VA_ARGS__) #define mpp_dbg(flag, fmt, ...) _mpp_dbg(mpp_debug, flag, fmt, ## __VA_ARGS__)
class Mpp { class Mpp
{
public: public:
Mpp(MppCtxType type, MppCodingType coding); Mpp(MppCtxType type, MppCodingType coding);
~Mpp(); ~Mpp();

View File

@@ -20,8 +20,7 @@
#include "rk_type.h" #include "rk_type.h"
enum __MIDL___MIDL_itf_dxva2api_0000_0000_0012 enum __MIDL___MIDL_itf_dxva2api_0000_0000_0012 {
{
DXVA2_PictureParametersBufferType = 0, DXVA2_PictureParametersBufferType = 0,
DXVA2_MacroBlockControlBufferType = 1, DXVA2_MacroBlockControlBufferType = 1,
DXVA2_ResidualDifferenceBufferType = 2, DXVA2_ResidualDifferenceBufferType = 2,
@@ -33,8 +32,7 @@ enum __MIDL___MIDL_itf_dxva2api_0000_0000_0012
DXVA2_FilmGrainBuffer = 8 DXVA2_FilmGrainBuffer = 8
}; };
typedef struct _DXVA2_ConfigPictureDecode typedef struct _DXVA2_ConfigPictureDecode {
{
//GUID guidConfigBitstreamEncryption; //GUID guidConfigBitstreamEncryption;
//GUID guidConfigMBcontrolEncryption; //GUID guidConfigMBcontrolEncryption;
//GUID guidConfigResidDiffEncryption; //GUID guidConfigResidDiffEncryption;
@@ -52,10 +50,9 @@ typedef struct _DXVA2_ConfigPictureDecode
//UINT Config4GroupedCoefs; //UINT Config4GroupedCoefs;
//USHORT ConfigMinRenderTargetBuffCount; //USHORT ConfigMinRenderTargetBuffCount;
//USHORT ConfigDecoderSpecific; //USHORT ConfigDecoderSpecific;
}DXVA2_ConfigPictureDecode; } DXVA2_ConfigPictureDecode;
typedef struct _DXVA2_DecodeBufferDesc typedef struct _DXVA2_DecodeBufferDesc {
{
RK_U32 CompressedBufferType; RK_U32 CompressedBufferType;
RK_U32 BufferIndex; RK_U32 BufferIndex;
RK_U32 DataOffset; RK_U32 DataOffset;

View File

@@ -418,8 +418,7 @@ typedef struct _DXVA_PicParams_H264_MVC {
} DXVA_PicParams_H264_MVC, *LPDXVA_PicParams_H264_MVC; } DXVA_PicParams_H264_MVC, *LPDXVA_PicParams_H264_MVC;
typedef struct h264d_syntax_t typedef struct h264d_syntax_t {
{
RK_U32 num; RK_U32 num;
DXVA2_DecodeBufferDesc *buf; DXVA2_DecodeBufferDesc *buf;
} H264D_Syntax_t; } H264D_Syntax_t;