2
0

Changed rocDecode API header variable naming to Google C++ style. (#196)

* * rocDecode: Changed rocDecode API header variable naming to Google C++ style.

* * rocDecode: Unified AVC/H264 naming to AVC. Minor naming changes on HEVC related names.

* * rocDecode: Minor comment fix based on code review.
Este cometimento está contido em:
jeffqjiangNew
2024-01-24 18:03:46 -05:00
cometido por GitHub
ascendente f352cb7548
cometimento cd6401750e
15 ficheiros modificados com 500 adições e 514 eliminações
+3 -3
Ver ficheiro
@@ -42,15 +42,15 @@ private:
std::shared_ptr<RocVideoParser> roc_parser_ = nullptr;
void ClearErrors() { error_ = ""; }
void CreateParser(RocdecParserParams *params) {
switch(params->CodecType) {
case rocDecVideoCodec_H264:
switch(params->codec_type) {
case rocDecVideoCodec_AVC:
roc_parser_ = std::make_shared<AvcVideoParser>();
break;
case rocDecVideoCodec_HEVC:
roc_parser_ = std::make_shared<HevcVideoParser>();
break;
default:
THROW("Unsupported parser type "+ TOSTR(params->CodecType));
THROW("Unsupported parser type "+ TOSTR(params->codec_type));
break;
}