summaryrefslogtreecommitdiff
path: root/chip/mt_scp/mt818x/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/mt_scp/mt818x/video.c')
-rw-r--r--chip/mt_scp/mt818x/video.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/chip/mt_scp/mt818x/video.c b/chip/mt_scp/mt818x/video.c
new file mode 100644
index 0000000000..10ea586575
--- /dev/null
+++ b/chip/mt_scp/mt818x/video.c
@@ -0,0 +1,19 @@
+/* Copyright 2022 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "common.h"
+#include "video.h"
+
+uint32_t video_get_enc_capability(void)
+{
+ /* not support 4K */
+ return 0;
+}
+
+uint32_t video_get_dec_capability(void)
+{
+ return VDEC_CAP_MM21 | VDEC_CAP_4K_DISABLED | VDEC_CAP_H264_SLICE |
+ VDEC_CAP_VP8_FRAME | VDEC_CAP_VP9_FRAME;
+}