Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / drivers / media / pci / bt8xx / btcx-risc.h
blob1ed7a000160a0b79c3a760b3e839a858c8049f6d
1 struct btcx_riscmem {
2 unsigned int size;
3 __le32 *cpu;
4 __le32 *jmp;
5 dma_addr_t dma;
6 };
8 struct btcx_skiplist {
9 int start;
10 int end;
13 int btcx_riscmem_alloc(struct pci_dev *pci,
14 struct btcx_riscmem *risc,
15 unsigned int size);
16 void btcx_riscmem_free(struct pci_dev *pci,
17 struct btcx_riscmem *risc);
19 int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
20 struct v4l2_clip *clips, unsigned int n);
21 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
22 unsigned int n, int mask);
23 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips);
24 void btcx_calc_skips(int line, int width, int *maxy,
25 struct btcx_skiplist *skips, unsigned int *nskips,
26 const struct v4l2_clip *clips, unsigned int nclips);