linux/drivers/media/pci/zoran/zr36016.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Zoran ZR36016 basic configuration functions - header file
 *
 * Copyright (C) 2001 Wolfgang Scherr <[email protected]>
 */

#ifndef ZR36016_H
#define ZR36016_H

/* data stored for each zoran jpeg codec chip */
struct zr36016 {};

/* direct  register addresses */
#define ZR016_GOSTOP
#define ZR016_MODE
#define ZR016_IADDR
#define ZR016_IDATA

/* indirect  register addresses */
#define ZR016I_SETUP1
#define ZR016I_SETUP2
#define ZR016I_NAX_LO
#define ZR016I_NAX_HI
#define ZR016I_PAX_LO
#define ZR016I_PAX_HI
#define ZR016I_NAY_LO
#define ZR016I_NAY_HI
#define ZR016I_PAY_LO
#define ZR016I_PAY_HI
#define ZR016I_NOL_LO
#define ZR016I_NOL_HI

/* possible values for mode register */
#define ZR016_RGB444_YUV444
#define ZR016_RGB444_YUV422
#define ZR016_RGB444_YUV411
#define ZR016_RGB444_Y400
#define ZR016_RGB444_RGB444
#define ZR016_YUV444_YUV444
#define ZR016_YUV444_YUV422
#define ZR016_YUV444_YUV411
#define ZR016_YUV444_Y400
#define ZR016_YUV444_RGB444
#define ZR016_YUV422_YUV422
#define ZR016_YUV422_YUV411
#define ZR016_YUV422_Y400
#define ZR016_YUV411_YUV411
#define ZR016_YUV411_Y400
#define ZR016_4444_4444
#define ZR016_100_100

#define ZR016_RGB444
#define ZR016_YUV444
#define ZR016_YUV422

#define ZR016_COMPRESSION
#define ZR016_EXPANSION

/* possible values for setup 1 register */
#define ZR016_CKRT
#define ZR016_VERT
#define ZR016_HORZ
#define ZR016_HRFL
#define ZR016_DSFL
#define ZR016_SBFL
#define ZR016_RSTR
#define ZR016_CNTI

/* possible values for setup 2 register */
#define ZR016_SYEN
#define ZR016_CCIR
#define ZR016_SIGN
#define ZR016_YMCS

int zr36016_init_module(void);
void zr36016_cleanup_module(void);
#endif				/*fndef ZR36016_H */