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:
jeffqjiangNew
2024-11-14 10:17:46 -05:00
committed by GitHub
parent b3f8fec41b
commit 3eb6bc2192
8 changed files with 1573 additions and 15 deletions
+4
View File
@@ -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;