Linux-libre 5.4.49-gnu
[librecmc/linux-libre.git] / include / media / fwht-ctrls.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * These are the FWHT state controls for use with stateless FWHT
4  * codec drivers.
5  *
6  * It turns out that these structs are not stable yet and will undergo
7  * more changes. So keep them private until they are stable and ready to
8  * become part of the official public API.
9  */
10
11 #ifndef _FWHT_CTRLS_H_
12 #define _FWHT_CTRLS_H_
13
14 #define V4L2_CTRL_TYPE_FWHT_PARAMS 0x0105
15
16 #define V4L2_CID_MPEG_VIDEO_FWHT_PARAMS (V4L2_CID_MPEG_BASE + 292)
17
18 struct v4l2_ctrl_fwht_params {
19         __u64 backward_ref_ts;
20         __u32 version;
21         __u32 width;
22         __u32 height;
23         __u32 flags;
24         __u32 colorspace;
25         __u32 xfer_func;
26         __u32 ycbcr_enc;
27         __u32 quantization;
28 };
29
30
31 #endif