整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
32
video/hisi/mpp5/Util.h
Normal file
32
video/hisi/mpp5/Util.h
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#ifndef CFE2FF99_0E17_46AD_B839_023CAED87EE5
|
||||
#define CFE2FF99_0E17_46AD_B839_023CAED87EE5
|
||||
/*
|
||||
*******************************************************************************
|
||||
* INCLUDE
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "../../core/SampleFormat.h"
|
||||
#include "../../core/CodecID.h"
|
||||
#include <hi_common_aio.h>
|
||||
|
||||
namespace Video
|
||||
{
|
||||
namespace MPP5
|
||||
{
|
||||
/*
|
||||
*******************************************************************************
|
||||
* CLASS DECLARE
|
||||
*******************************************************************************
|
||||
*/
|
||||
class Util
|
||||
{
|
||||
public:
|
||||
static hi_audio_bit_width getBitWidth(Core::SampleFormat format);
|
||||
static hi_audio_snd_mode getSndMode(Core::ChannelLayout layout);
|
||||
|
||||
static hi_payload_type getPayloadType(Core::CodecID id);
|
||||
static uint32_t getChannelId(const std::string& name);
|
||||
};
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue