summaryrefslogtreecommitdiffstats
path: root/drivers/staging/solo6x10/solo6010-v4l2-enc.c
Commit message (Collapse)AuthorAgeFilesLines
* staging: Solo6x10: Stripped "solo6010-" from file names.Krzysztof Hałasa2011-02-181-1827/+0
| | | | | | | | This driver supports both Solo-6010 and Solo-6110 chips anyway. Renamed solo6010.h -> solo6x10.h. Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Add support for SOLO6110 chip.Krzysztof Hałasa2011-02-181-2/+84
| | | | | Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Align MPEG video on 8-byte boundary instead of 32-byte.Krzysztof Hałasa2011-02-181-1/+1
| | | | | | | Solo-6110 only supports 8-byte alignment anyway. Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: Build MPEG4 headers on the fly.Krzysztof Hałasa2011-02-181-87/+122
| | | | | | | | | | | | | This will make them maintainable. Also, it now works on big-endian systems. This is the slow path (done every 1+ second, per channel) so I guess there is no need to cache the results. I have removed CBR-related bits from the MPEG4 VOL header since we can't do CBR (at least yet). Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Solo6x10: accept WxH >= screen dimentions.Krzysztof Hałasa2011-02-181-4/+8
| | | | | | | | This makes it possible to request full resolution (704x576 or 704x480) independently of the color system used (PAL or NTSC). Signed-off-by: Krzysztof Hałasa <khalasa@piap.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: Fix checkpatch errors and most warningsfacugaich2010-11-101-8/+12
| | | | | | | | | This patch fixes all errors and most warnings reported by checkpatch.pl for all the files in the driver. v2: Fix a typo and update the patch against the latest HEAD Signed-off-by: Facundo Gaich <facugaich@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* solo6x10: Updates to videobuf-dma-sg functions for latest kernelBen Collins2010-11-041-3/+3
| | | | Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* solo6x10: Conversion to videobuf-dma-sg (from dma-cont)Ben Collins2010-11-041-107/+245
| | | | | | | | | | | | | | | | | | | | | | Full rewrite of the P2M DMA Engine to support scatter gather and take advantage of some of the features of the hardware. This includes using repeat DMA operations and line-mode transfers (for copying OSG and video display buffers). What isn't working: For some reason, descriptor mode is not working. I've implemented a psuedo version (still has one-interrupt per DMA operation), but we would get huge improvements if we could hand off a ring of descriptors to the P2M and get back one interrupt when it was done with all of them. Documentation is very vague on this, and even the ODM example code half attempts to get it right, but comments it out of the driver because it just doesn't work *sigh* Converts all v4l2 to dma-sg. So long slow dma-contiguous, but hello more interrupts :( Signed-off-by: Ben Collins <bcollins@bluecherry.net>
* staging: solo6010: fix signess bugVasiliy Kulikov2010-09-161-1/+1
| | | | | | | | video_nr is unsigned, so check video_nr >= 0 doesn't make sense. The only "negative" value may be -1, so explicitly check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: solo6x10: New driver (staging) for Softlogic 6x10Ben Collins2010-06-221-0/+1564
This driver supports Softlogic 6x10 based codec cards Signed-off-by: Ben Collins <bcollins@bluecherry.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
OpenPOWER on IntegriCloud