nx_cloud_storage_sdk  1.0
Cloud Storage SDK
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
nx::sdk::cloud_storage::CodecInfoData Struct Reference

Public Member Functions

 CodecInfoData (const char *jsonData) noexcept(false)
 
 CodecInfoData (const nx::kit::Json &json) noexcept(false)
 
 CodecInfoData (const nx::sdk::cloud_storage::ICodecInfo *codecInfo)
 
template<typename T >
 CodecInfoData (const T &)=delete
 
bool operator== (const CodecInfoData &) const
 
nx::kit::Json to_json () const
 

Static Public Member Functions

static ValueOrError< CodecInfoDatafromJson (const char *jsonStr) noexcept
 
static ValueOrError< CodecInfoDatafromJson (const nx::kit::Json &json) noexcept
 

Public Attributes

nxcip::CompressionType compressionType = nxcip::CompressionType::AV_CODEC_ID_NONE
 
nxcip::PixelFormat pixelFormat = nxcip::PixelFormat::AV_PIX_FMT_YUV420P
 
nxcip::MediaType mediaType = nxcip::MediaType::AVMEDIA_TYPE_UNKNOWN
 
int width = -1
 
int height = -1
 
int64_t codecTag = -1
 
int64_t bitRate = -1
 
int channels = -1
 
int frameSize = -1
 
int blockAlign = -1
 
int sampleRate = -1
 
nxcip::SampleFormat sampleFormat = nxcip::SampleFormat::AV_SAMPLE_FMT_NONE
 
int bitsPerCodedSample = -1
 
int64_t channelLayout = -1
 
std::string extradataBase64
 
int channelNumber = -1
 

The documentation for this struct was generated from the following files: