summaryrefslogtreecommitdiffstats
path: root/include/media/fwht-ctrls.h
blob: a918b49609e1d7fa4a722ee78060561b673d0fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * These are the FWHT state controls for use with stateless FWHT
 * codec drivers.
 *
 * It turns out that these structs are not stable yet and will undergo
 * more changes. So keep them private until they are stable and ready to
 * become part of the official public API.
 */

#ifndef _FWHT_CTRLS_H_
#define _FWHT_CTRLS_H_

#define V4L2_CTRL_TYPE_FWHT_PARAMS 0x0105

#define V4L2_CID_MPEG_VIDEO_FWHT_PARAMS	(V4L2_CID_CODEC_BASE + 292)

struct v4l2_ctrl_fwht_params {
	__u64 backward_ref_ts;
	__u32 version;
	__u32 width;
	__u32 height;
	__u32 flags;
	__u32 colorspace;
	__u32 xfer_func;
	__u32 ycbcr_enc;
	__u32 quantization;
};


#endif