Lines Matching refs:codec
5 * Interface for MJPEG (and maybe later MPEG/WAVELETS) codec's
71 * one codec which may be quite similar to access, nevertheless it
76 * set_mode -> this fn-ref. resets the entire codec, and sets up the mode
83 * additional setup may be available, too - but the codec should work with
90 * setup_interrupt -> codec irq setup (not needed for 36050/60)
91 * handle_interrupt -> codec irq handling (not needed for 36050/60)
94 * put_image -> puts image data to the codec (not needed for 36050/60)
95 * get_image -> gets image data from the codec (not needed for 36050/60)
132 /* this are the current codec flags I think they are needed */
134 #define CODEC_FLAG_JPEG 0x00000001L // JPEG codec
135 #define CODEC_FLAG_MPEG 0x00000002L // MPEG1/2/4 codec
136 #define CODEC_FLAG_DIVX 0x00000004L // DIVX codec
137 #define CODEC_FLAG_WAVELET 0x00000008L // WAVELET codec
141 #define CODEC_FLAG_HARDWARE 0x00001000L // is a hardware codec
158 /* this are the current codec types I want to implement */
168 #define CODEC_G_STATUS 0x0000 /* codec status (query only) */
169 #define CODEC_S_CODEC_MODE 0x0001 /* codec mode (baseline JPEG, MPEG1,... */
241 unsigned int type; /* codec type */
252 int (*setup)(struct videocodec *codec);
253 int (*unset)(struct videocodec *codec);
257 int (*set_mode)(struct videocodec *codec, int mode);
258 // setup picture size and norm (for the codec's video frontend)
259 int (*set_video)(struct videocodec *codec, const struct tvnorm *norm,
262 int (*control)(struct videocodec *codec, int type, int size, void *data);
266 int (*setup_interrupt)(struct videocodec *codec, long mode);
267 int (*handle_interrupt)(struct videocodec *codec, int source, long flag);
269 long (*put_image)(struct videocodec *codec, int tr_type, int block,
271 long (*get_image)(struct videocodec *codec, int tr_type, int block,
284 __u32 (*readreg)(struct videocodec *codec, __u16 reg);
285 void (*writereg)(struct videocodec *codec, __u16 reg, __u32 value);
298 int videocodec_detach(struct videocodec *codec);
302 int videocodec_register(const struct videocodec *codec);
304 int videocodec_unregister(const struct videocodec *codec);
318 static inline struct zoran *videocodec_to_zoran(struct videocodec *codec)
320 struct videocodec_master *master = codec->master_data;