av1 initial commit (#298)

This commit is contained in:
Lakshmi Kumar
2024-03-26 15:59:15 -07:00
committed by GitHub
parent 7cf22e5920
commit 6265f675c1
6 changed files with 141 additions and 10 deletions
+4
View File
@@ -26,6 +26,7 @@ THE SOFTWARE.
#include "rocparser.h"
#include "roc_video_parser.h"
#include "avc_parser.h"
#include "av1_parser.h"
#include "hevc_parser.h"
class RocParserHandle {
@@ -49,6 +50,9 @@ private:
case rocDecVideoCodec_HEVC:
roc_parser_ = std::make_shared<HevcVideoParser>();
break;
case rocDecVideoCodec_AV1:
roc_parser_ = std::make_shared<Av1VideoParser>();
break;
default:
THROW("Unsupported parser type "+ TOSTR(params->codec_type));
break;