18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * These are the FWHT state controls for use with stateless FWHT
48c2ecf20Sopenharmony_ci * codec drivers.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * It turns out that these structs are not stable yet and will undergo
78c2ecf20Sopenharmony_ci * more changes. So keep them private until they are stable and ready to
88c2ecf20Sopenharmony_ci * become part of the official public API.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci#ifndef _FWHT_CTRLS_H_
128c2ecf20Sopenharmony_ci#define _FWHT_CTRLS_H_
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci#define V4L2_CTRL_TYPE_FWHT_PARAMS 0x0105
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#define V4L2_CID_MPEG_VIDEO_FWHT_PARAMS	(V4L2_CID_MPEG_BASE + 292)
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_cistruct v4l2_ctrl_fwht_params {
198c2ecf20Sopenharmony_ci	__u64 backward_ref_ts;
208c2ecf20Sopenharmony_ci	__u32 version;
218c2ecf20Sopenharmony_ci	__u32 width;
228c2ecf20Sopenharmony_ci	__u32 height;
238c2ecf20Sopenharmony_ci	__u32 flags;
248c2ecf20Sopenharmony_ci	__u32 colorspace;
258c2ecf20Sopenharmony_ci	__u32 xfer_func;
268c2ecf20Sopenharmony_ci	__u32 ycbcr_enc;
278c2ecf20Sopenharmony_ci	__u32 quantization;
288c2ecf20Sopenharmony_ci};
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ci#endif
32