Added initial code for VP9 support. (#442)
* * rocDecode/VP9: Initial code for VP9. - Added structures for VA-API. - Added defines for uncompressed header and parsing functions. * * rocDecode/VP9: Added decode frame call to VA-API. * * rocDecode/VP9: Added new sequence notification function. * * rocDecode/VP9: Intra decode started to work. * * rocDecode/VP9: Minor changes based on review comments. --------- Co-authored-by: Kiriti Gowda <kiritigowda@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@ THE SOFTWARE.
|
||||
#include "avc_parser.h"
|
||||
#include "av1_parser.h"
|
||||
#include "hevc_parser.h"
|
||||
#include "vp9_parser.h"
|
||||
|
||||
class RocParserHandle {
|
||||
public:
|
||||
@@ -51,6 +52,9 @@ private:
|
||||
case rocDecVideoCodec_HEVC:
|
||||
roc_parser_ = std::make_shared<HevcVideoParser>();
|
||||
break;
|
||||
case rocDecVideoCodec_VP9:
|
||||
roc_parser_ = std::make_shared<Vp9VideoParser>();
|
||||
break;
|
||||
case rocDecVideoCodec_AV1:
|
||||
roc_parser_ = std::make_shared<Av1VideoParser>();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user