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