aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/btcx-risc.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /drivers/media/video/btcx-risc.h
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'drivers/media/video/btcx-risc.h')
-rw-r--r--drivers/media/video/btcx-risc.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/media/video/btcx-risc.h b/drivers/media/video/btcx-risc.h
new file mode 100644
index 000000000000..41f60395a520
--- /dev/null
+++ b/drivers/media/video/btcx-risc.h
@@ -0,0 +1,35 @@
1/*
2 * $Id: btcx-risc.h,v 1.2 2004/09/15 16:15:24 kraxel Exp $
3 */
4struct btcx_riscmem {
5 unsigned int size;
6 u32 *cpu;
7 u32 *jmp;
8 dma_addr_t dma;
9};
10
11struct btcx_skiplist {
12 int start;
13 int end;
14};
15
16int btcx_riscmem_alloc(struct pci_dev *pci,
17 struct btcx_riscmem *risc,
18 unsigned int size);
19void btcx_riscmem_free(struct pci_dev *pci,
20 struct btcx_riscmem *risc);
21
22int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win,
23 struct v4l2_clip *clips, unsigned int n);
24int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips,
25 unsigned int n, int mask);
26void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips);
27void btcx_calc_skips(int line, int width, unsigned int *maxy,
28 struct btcx_skiplist *skips, unsigned int *nskips,
29 const struct v4l2_clip *clips, unsigned int nclips);
30
31/*
32 * Local variables:
33 * c-basic-offset: 8
34 * End:
35 */