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