1 /* 2 * Copyright(c) 2019 Intel Corporation 3 * 4 * This source code is subject to the terms of the BSD 2 Clause License and 5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 6 * was not distributed with this source code in the LICENSE file, you can 7 * obtain it at https://www.aomedia.org/license/software-license. If the Alliance for Open 8 * Media Patent License 1.0 was not distributed with this source code in the 9 * PATENTS file, you can obtain it at https://www.aomedia.org/license/patent-license. 10 */ 11 12 #ifndef EbIntraCommon_h 13 #define EbIntraCommon_h 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 typedef struct CflCtx { 20 // Q3 reconstructed luma pixels (only Q2 is required, but Q3 is used to avoid 21 // shifts) 22 EB_ALIGN(64) int16_t recon_buf_q3[CFL_BUF_SQUARE]; 23 24 // Height and width currently used in the CfL prediction buffer. 25 int32_t buf_height, buf_width; 26 27 int32_t are_parameters_computed; 28 29 // Chroma subsampling 30 int32_t subsampling_x, subsampling_y; 31 } CflCtx; 32 33 #ifdef __cplusplus 34 } 35 #endif 36 #endif // EbIntraCommon_h 37