diff options
Diffstat (limited to 'chip/mt_scp/mt8195/video.c')
-rw-r--r-- | chip/mt_scp/mt8195/video.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chip/mt_scp/mt8195/video.c b/chip/mt_scp/mt8195/video.c new file mode 100644 index 0000000000..dc4b7b3397 --- /dev/null +++ b/chip/mt_scp/mt8195/video.c @@ -0,0 +1,19 @@ +/* Copyright 2021 The Chromium OS Authors. All rights reserved. + * 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) +{ + return VENC_CAP_4K; +} + +uint32_t video_get_dec_capability(void) +{ + return VDEC_CAP_MT21C | VDEC_CAP_MM21 | + VDEC_CAP_H264_SLICE | VDEC_CAP_VP8_FRAME | + VDEC_CAP_VP9_FRAME; +} |