| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /*
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | struct btcx_riscmem { | 
					
						
							|  |  |  | 	unsigned int   size; | 
					
						
							| 
									
										
										
										
											2008-05-21 00:31:51 -03:00
										 |  |  | 	__le32         *cpu; | 
					
						
							|  |  |  | 	__le32         *jmp; | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 	dma_addr_t     dma; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | struct btcx_skiplist { | 
					
						
							|  |  |  | 	int start; | 
					
						
							|  |  |  | 	int end; | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | int  btcx_riscmem_alloc(struct pci_dev *pci, | 
					
						
							|  |  |  | 			struct btcx_riscmem *risc, | 
					
						
							|  |  |  | 			unsigned int size); | 
					
						
							|  |  |  | void btcx_riscmem_free(struct pci_dev *pci, | 
					
						
							|  |  |  | 		       struct btcx_riscmem *risc); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | int btcx_screen_clips(int swidth, int sheight, struct v4l2_rect *win, | 
					
						
							|  |  |  | 		      struct v4l2_clip *clips, unsigned int n); | 
					
						
							|  |  |  | int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, | 
					
						
							|  |  |  | 	       unsigned int n, int mask); | 
					
						
							|  |  |  | void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); | 
					
						
							| 
									
										
										
										
											2008-09-03 17:11:54 -03:00
										 |  |  | void btcx_calc_skips(int line, int width, int *maxy, | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | 		     struct btcx_skiplist *skips, unsigned int *nskips, | 
					
						
							|  |  |  | 		     const struct v4l2_clip *clips, unsigned int nclips); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /*
 | 
					
						
							|  |  |  |  * Local variables: | 
					
						
							|  |  |  |  * c-basic-offset: 8 | 
					
						
							|  |  |  |  * End: | 
					
						
							|  |  |  |  */ |