You.i Engine
CYICodecType Class Reference

#include <player/YiCodecType.h>

Public Types

enum  Audio {
  Audio::AAC,
  Audio::AC3,
  Audio::AMRNarrowBand,
  Audio::AMRWideBand,
  Audio::DTS,
  Audio::EAC3,
  Audio::FLAC,
  Audio::GSM,
  Audio::MP2,
  Audio::MP3,
  Audio::Opus,
  Audio::PCM,
  Audio::PCMMuLaw,
  Audio::PCMS16BE,
  Audio::PCMS24BE,
  Audio::Vorbis
}
 
enum  Video {
  Video::H263,
  Video::H264,
  Video::H265,
  Video::H265DolbyVision,
  Video::Indeo3,
  Video::MPEG2,
  Video::MPEG4,
  Video::Theora,
  Video::VC1,
  Video::VP8,
  Video::VP9,
  Video::WMV1,
  Video::WMV2,
  Video::WMV3
}
 

Static Public Member Functions

static bool IsAudioCodec (uint32_t fourCC)
 
static bool IsVideoCodec (uint32_t fourCC)
 
static CYIOptional< AudioGetAudioCodecFromFourCC (uint32_t fourCC)
 
static CYIOptional< VideoGetVideoCodecFromFourCC (uint32_t fourCC)
 
static bool IsAAC (uint32_t fourCC)
 
static bool IsAC3 (uint32_t fourCC)
 
static bool IsAMRNarrowBand (uint32_t fourCC)
 
static bool IsAMRWideBand (uint32_t fourCC)
 
static bool IsDTS (uint32_t fourCC)
 
static bool IsEAC3 (uint32_t fourCC)
 
static bool IsFLAC (uint32_t fourCC)
 
static bool IsGSM (uint32_t fourCC)
 
static bool IsMP2 (uint32_t fourCC)
 
static bool IsMP3 (uint32_t fourCC)
 
static bool IsOpus (uint32_t fourCC)
 
static bool IsPCM (uint32_t fourCC)
 
static bool IsPCMMuLaw (uint32_t fourCC)
 
static bool IsPCMS16BE (uint32_t fourCC)
 
static bool IsPCMS24BE (uint32_t fourCC)
 
static bool IsVorbis (uint32_t fourCC)
 
static bool IsH263 (uint32_t fourCC)
 
static bool IsH264 (uint32_t fourCC)
 
static bool IsH265 (uint32_t fourCC)
 
static bool IsH265DolbyVision (uint32_t fourCC)
 
static bool IsIndeo3 (uint32_t fourCC)
 
static bool IsMPEG2 (uint32_t fourCC)
 
static bool IsMPEG4 (uint32_t fourCC)
 
static bool IsTheora (uint32_t fourCC)
 
static bool IsVC1 (uint32_t fourCC)
 
static bool IsVP8 (uint32_t fourCC)
 
static bool IsVP9 (uint32_t fourCC)
 
static bool IsWMV1 (uint32_t fourCC)
 
static bool IsWMV2 (uint32_t fourCC)
 
static bool IsWMV3 (uint32_t fourCC)
 
static CYIString AudioCodecToString (Audio audioCodec)
 
static CYIString VideoCodecToString (Video videoCodec)
 
static CYIString H265VideoProfileToString (uint8_t profile)
 
static CYIOptional< AudioGetAudioCodecFromRFC6381String (CYIString codecString)
 

Member Enumeration Documentation

◆ Audio

enum CYICodecType::Audio
strong
Enumerator
AAC 
AC3 
AMRNarrowBand 
AMRWideBand 
DTS 
EAC3 
FLAC 
GSM 
MP2 
MP3 
Opus 
PCM 
PCMMuLaw 
PCMS16BE 
PCMS24BE 
Vorbis 

◆ Video

enum CYICodecType::Video
strong
Enumerator
H263 
H264 
H265 
H265DolbyVision 
Indeo3 
MPEG2 
MPEG4 
Theora 
VC1 
VP8 
VP9 
WMV1 
WMV2 
WMV3 

Member Function Documentation

◆ AudioCodecToString()

static CYIString CYICodecType::AudioCodecToString ( Audio  audioCodec)
static

◆ GetAudioCodecFromFourCC()

static CYIOptional<Audio> CYICodecType::GetAudioCodecFromFourCC ( uint32_t  fourCC)
static

◆ GetAudioCodecFromRFC6381String()

static CYIOptional<Audio> CYICodecType::GetAudioCodecFromRFC6381String ( CYIString  codecString)
static

◆ GetVideoCodecFromFourCC()

static CYIOptional<Video> CYICodecType::GetVideoCodecFromFourCC ( uint32_t  fourCC)
static

◆ H265VideoProfileToString()

static CYIString CYICodecType::H265VideoProfileToString ( uint8_t  profile)
static

◆ IsAAC()

static bool CYICodecType::IsAAC ( uint32_t  fourCC)
static

◆ IsAC3()

static bool CYICodecType::IsAC3 ( uint32_t  fourCC)
static

◆ IsAMRNarrowBand()

static bool CYICodecType::IsAMRNarrowBand ( uint32_t  fourCC)
static

◆ IsAMRWideBand()

static bool CYICodecType::IsAMRWideBand ( uint32_t  fourCC)
static

◆ IsAudioCodec()

static bool CYICodecType::IsAudioCodec ( uint32_t  fourCC)
static

◆ IsDTS()

static bool CYICodecType::IsDTS ( uint32_t  fourCC)
static

◆ IsEAC3()

static bool CYICodecType::IsEAC3 ( uint32_t  fourCC)
static

◆ IsFLAC()

static bool CYICodecType::IsFLAC ( uint32_t  fourCC)
static

◆ IsGSM()

static bool CYICodecType::IsGSM ( uint32_t  fourCC)
static

◆ IsH263()

static bool CYICodecType::IsH263 ( uint32_t  fourCC)
static

◆ IsH264()

static bool CYICodecType::IsH264 ( uint32_t  fourCC)
static

◆ IsH265()

static bool CYICodecType::IsH265 ( uint32_t  fourCC)
static

◆ IsH265DolbyVision()

static bool CYICodecType::IsH265DolbyVision ( uint32_t  fourCC)
static

◆ IsIndeo3()

static bool CYICodecType::IsIndeo3 ( uint32_t  fourCC)
static

◆ IsMP2()

static bool CYICodecType::IsMP2 ( uint32_t  fourCC)
static

◆ IsMP3()

static bool CYICodecType::IsMP3 ( uint32_t  fourCC)
static

◆ IsMPEG2()

static bool CYICodecType::IsMPEG2 ( uint32_t  fourCC)
static

◆ IsMPEG4()

static bool CYICodecType::IsMPEG4 ( uint32_t  fourCC)
static

◆ IsOpus()

static bool CYICodecType::IsOpus ( uint32_t  fourCC)
static

◆ IsPCM()

static bool CYICodecType::IsPCM ( uint32_t  fourCC)
static

◆ IsPCMMuLaw()

static bool CYICodecType::IsPCMMuLaw ( uint32_t  fourCC)
static

◆ IsPCMS16BE()

static bool CYICodecType::IsPCMS16BE ( uint32_t  fourCC)
static

◆ IsPCMS24BE()

static bool CYICodecType::IsPCMS24BE ( uint32_t  fourCC)
static

◆ IsTheora()

static bool CYICodecType::IsTheora ( uint32_t  fourCC)
static

◆ IsVC1()

static bool CYICodecType::IsVC1 ( uint32_t  fourCC)
static

◆ IsVideoCodec()

static bool CYICodecType::IsVideoCodec ( uint32_t  fourCC)
static

◆ IsVorbis()

static bool CYICodecType::IsVorbis ( uint32_t  fourCC)
static

◆ IsVP8()

static bool CYICodecType::IsVP8 ( uint32_t  fourCC)
static

◆ IsVP9()

static bool CYICodecType::IsVP9 ( uint32_t  fourCC)
static

◆ IsWMV1()

static bool CYICodecType::IsWMV1 ( uint32_t  fourCC)
static

◆ IsWMV2()

static bool CYICodecType::IsWMV2 ( uint32_t  fourCC)
static

◆ IsWMV3()

static bool CYICodecType::IsWMV3 ( uint32_t  fourCC)
static

◆ VideoCodecToString()

static CYIString CYICodecType::VideoCodecToString ( Video  videoCodec)
static

The documentation for this class was generated from the following file: