Debian Codegraph @

src/imagination/common/pvr_ycbcr.h

raw
1 /*
2 * Copyright © 2026 Imagination Technologies Ltd.
3 * SPDX-License-Identifier: MIT
4 */
5 #ifndef PVR_YCBCR_H
6 #define PVR_YCBCR_H
7
8 #include <stdint.h>
9
10 void pvr_setup_static_yuv_csc_table(uint8_t *const heap_ptr,
11 uint64_t yuv_table_offset_in_bytes);
12
13 #define PVR_YCBCR_SLOT_RGB_IDENTITY 0
14 #define PVR_YCBCR_SLOT_YCBCR_IDENTITY_FULL 1
15 #define PVR_YCBCR_SLOT_YCBCR_IDENTITY 2
16 #define PVR_YCBCR_SLOT_YCBCR_709_FULL 3
17 #define PVR_YCBCR_SLOT_YCBCR_709 4
18 #define PVR_YCBCR_SLOT_YCBCR_601_FULL 5
19 #define PVR_YCBCR_SLOT_YCBCR_601 6
20 #define PVR_YCBCR_SLOT_YCBCR_2020_FULL 7
21 #define PVR_YCBCR_SLOT_YCBCR_2020 8
22
23 #endif /* PVR_YCBCR_H */