mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[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:
@@ -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)
|
||||||
|
@@ -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();
|
||||||
|
@@ -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;
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user