#ifndef CX2341X_H
#define CX2341X_H
#include <media/v4l2-ctrls.h>
enum cx2341x_port { … };
enum cx2341x_cap { … };
struct cx2341x_mpeg_params { … };
#define CX2341X_MBOX_MAX_DATA …
extern const u32 cx2341x_mpeg_ctrls[];
cx2341x_mbox_func;
int cx2341x_update(void *priv, cx2341x_mbox_func func,
const struct cx2341x_mpeg_params *old,
const struct cx2341x_mpeg_params *new);
int cx2341x_ctrl_query(const struct cx2341x_mpeg_params *params,
struct v4l2_queryctrl *qctrl);
const char * const *cx2341x_ctrl_get_menu(const struct cx2341x_mpeg_params *p, u32 id);
int cx2341x_ext_ctrls(struct cx2341x_mpeg_params *params, int busy,
struct v4l2_ext_controls *ctrls, unsigned int cmd);
void cx2341x_fill_defaults(struct cx2341x_mpeg_params *p);
void cx2341x_log_status(const struct cx2341x_mpeg_params *p, const char *prefix);
struct cx2341x_handler;
struct cx2341x_handler_ops { … };
struct cx2341x_handler { … };
int cx2341x_handler_init(struct cx2341x_handler *cxhdl,
unsigned nr_of_controls_hint);
void cx2341x_handler_set_50hz(struct cx2341x_handler *cxhdl, int is_50hz);
int cx2341x_handler_setup(struct cx2341x_handler *cxhdl);
void cx2341x_handler_set_busy(struct cx2341x_handler *cxhdl, int busy);
#define CX2341X_FIRM_ENC_FILENAME …
#define CX2341X_FIRM_DEC_FILENAME …
#define CX2341X_DEC_PING_FW …
#define CX2341X_DEC_START_PLAYBACK …
#define CX2341X_DEC_STOP_PLAYBACK …
#define CX2341X_DEC_SET_PLAYBACK_SPEED …
#define CX2341X_DEC_STEP_VIDEO …
#define CX2341X_DEC_SET_DMA_BLOCK_SIZE …
#define CX2341X_DEC_GET_XFER_INFO …
#define CX2341X_DEC_GET_DMA_STATUS …
#define CX2341X_DEC_SCHED_DMA_FROM_HOST …
#define CX2341X_DEC_PAUSE_PLAYBACK …
#define CX2341X_DEC_HALT_FW …
#define CX2341X_DEC_SET_STANDARD …
#define CX2341X_DEC_GET_VERSION …
#define CX2341X_DEC_SET_STREAM_INPUT …
#define CX2341X_DEC_GET_TIMING_INFO …
#define CX2341X_DEC_SET_AUDIO_MODE …
#define CX2341X_DEC_SET_EVENT_NOTIFICATION …
#define CX2341X_DEC_SET_DISPLAY_BUFFERS …
#define CX2341X_DEC_EXTRACT_VBI …
#define CX2341X_DEC_SET_DECODER_SOURCE …
#define CX2341X_DEC_SET_PREBUFFERING …
#define CX2341X_ENC_PING_FW …
#define CX2341X_ENC_START_CAPTURE …
#define CX2341X_ENC_STOP_CAPTURE …
#define CX2341X_ENC_SET_AUDIO_ID …
#define CX2341X_ENC_SET_VIDEO_ID …
#define CX2341X_ENC_SET_PCR_ID …
#define CX2341X_ENC_SET_FRAME_RATE …
#define CX2341X_ENC_SET_FRAME_SIZE …
#define CX2341X_ENC_SET_BIT_RATE …
#define CX2341X_ENC_SET_GOP_PROPERTIES …
#define CX2341X_ENC_SET_ASPECT_RATIO …
#define CX2341X_ENC_SET_DNR_FILTER_MODE …
#define CX2341X_ENC_SET_DNR_FILTER_PROPS …
#define CX2341X_ENC_SET_CORING_LEVELS …
#define CX2341X_ENC_SET_SPATIAL_FILTER_TYPE …
#define CX2341X_ENC_SET_VBI_LINE …
#define CX2341X_ENC_SET_STREAM_TYPE …
#define CX2341X_ENC_SET_OUTPUT_PORT …
#define CX2341X_ENC_SET_AUDIO_PROPERTIES …
#define CX2341X_ENC_HALT_FW …
#define CX2341X_ENC_GET_VERSION …
#define CX2341X_ENC_SET_GOP_CLOSURE …
#define CX2341X_ENC_GET_SEQ_END …
#define CX2341X_ENC_SET_PGM_INDEX_INFO …
#define CX2341X_ENC_SET_VBI_CONFIG …
#define CX2341X_ENC_SET_DMA_BLOCK_SIZE …
#define CX2341X_ENC_GET_PREV_DMA_INFO_MB_10 …
#define CX2341X_ENC_GET_PREV_DMA_INFO_MB_9 …
#define CX2341X_ENC_SCHED_DMA_TO_HOST …
#define CX2341X_ENC_INITIALIZE_INPUT …
#define CX2341X_ENC_SET_FRAME_DROP_RATE …
#define CX2341X_ENC_PAUSE_ENCODER …
#define CX2341X_ENC_REFRESH_INPUT …
#define CX2341X_ENC_SET_COPYRIGHT …
#define CX2341X_ENC_SET_EVENT_NOTIFICATION …
#define CX2341X_ENC_SET_NUM_VSYNC_LINES …
#define CX2341X_ENC_SET_PLACEHOLDER …
#define CX2341X_ENC_MUTE_VIDEO …
#define CX2341X_ENC_MUTE_AUDIO …
#define CX2341X_ENC_SET_VERT_CROP_LINE …
#define CX2341X_ENC_MISC …
#define CX2341X_OSD_GET_FRAMEBUFFER …
#define CX2341X_OSD_GET_PIXEL_FORMAT …
#define CX2341X_OSD_SET_PIXEL_FORMAT …
#define CX2341X_OSD_GET_STATE …
#define CX2341X_OSD_SET_STATE …
#define CX2341X_OSD_GET_OSD_COORDS …
#define CX2341X_OSD_SET_OSD_COORDS …
#define CX2341X_OSD_GET_SCREEN_COORDS …
#define CX2341X_OSD_SET_SCREEN_COORDS …
#define CX2341X_OSD_GET_GLOBAL_ALPHA …
#define CX2341X_OSD_SET_GLOBAL_ALPHA …
#define CX2341X_OSD_SET_BLEND_COORDS …
#define CX2341X_OSD_GET_FLICKER_STATE …
#define CX2341X_OSD_SET_FLICKER_STATE …
#define CX2341X_OSD_BLT_COPY …
#define CX2341X_OSD_BLT_FILL …
#define CX2341X_OSD_BLT_TEXT …
#define CX2341X_OSD_SET_FRAMEBUFFER_WINDOW …
#define CX2341X_OSD_SET_CHROMA_KEY …
#define CX2341X_OSD_GET_ALPHA_CONTENT_INDEX …
#define CX2341X_OSD_SET_ALPHA_CONTENT_INDEX …
#endif