summaryrefslogtreecommitdiff
path: root/chip/mt_scp/mt8192/video.c
blob: 2f9b9a7808c240f3ab86cab6da2d2126ebe0d68c (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_4K_DISABLED | VDEC_CAP_MM21 |
		VDEC_CAP_H264_SLICE | VDEC_CAP_VP8_FRAME |
		VDEC_CAP_VP9_FRAME;
}