summaryrefslogtreecommitdiff
path: root/chip/mt_scp/mt8195/video.c
blob: dc4b7b339758238d9289fa3630b286c784256e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}