1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Rockchip Video Decoder CABAC tables 4 * 5 * Copyright (C) 2023 Collabora, Ltd. 6 * Sebastian Fricke <sebastian.fricke@collabora.com> 7 * Copyright (C) 2019 Collabora, Ltd. 8 * Boris Brezillon <boris.brezillon@collabora.com> 9 */ 10 11 #ifndef RKVDEC_CABAC_H_ 12 #define RKVDEC_CABAC_H_ 13 14 #include <linux/types.h> 15 16 #define RKV_HEVC_CABAC_TABLE_SIZE 27456 17 18 extern const s8 rkvdec_h264_cabac_table[4][464][2]; 19 extern const u8 rkvdec_hevc_cabac_table[RKV_HEVC_CABAC_TABLE_SIZE]; 20 21 #endif /* RKVDEC_CABAC_H_ */ 22