1. 10 10月, 2007 2 次提交
  2. 21 2月, 2007 2 次提交
    • M
      V4L/DVB (5156): Fix: dma free is being called with wrong arguments · feaba7a9
      Michael Schimek 提交于
      Functions buffer_release() in bttv-driver.c and
      vbi_buffer_release() in bttv-vbi.c are ending with:
            bttv_dma_free(&fh->cap,fh->btv,buf);
       
      For vbi it seems to be wrong. Both functions should end with:
       
            bttv_dma_free(q,fh->btv,buf);
      Thanks to Peter Schlaf <peter.schlaf@web.de> for pointing this.
      Signed-off-by: NMichael H. Schimek <mschimek@gmx.at>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      feaba7a9
    • M
      V4L/DVB (5077): Bttv cropping support · e5bd0260
      Michael Schimek 提交于
      Adds the missing VIDIOC_CROPCAP, G_CROP and S_CROP ioctls, permitting 
      applications to capture or overlay a subsection of the picture or to 
      extend the capture window beyond active video, into the VBI area and the 
      horizontal blanking. VBI capturing can start and end on any line, 
      including the picture area, and apps can capture different lines of each 
      field and single fields.
      For compatibility with existing applications, the open() function
      resets the cropping and VBI capturing parameters and a VIDIOC_S_CROP
      call is necessary to actually enable cropping. 
      Regrettably in PAL-M, PAL-N, PAL-Nc and NTSC-JP mode the maximum image 
      width will increase from 640 and 768 to 747 and 923 pixels respectively.
      Like the VBI changes however, this should only affect applications which 
      depend on former driver limitations, such as never getting more than 640 
      pixels regardless of the requested width. 
      Also, new freedoms require additional checks for conflicts and some 
      applications may not expect an EBUSY error from the VIDIOC_QBUF and 
      VIDIOCMCAPTURE ioctls. These errors should be rare though.
      So far, the patch has been tested on a UP machine with a bt878 in PAL-
      BGHI and NTSC-M mode using xawtv, tvtime, mplayer/mencoder, zapping/
      libzvbi and these tools: http://zapping.sf.net/bttv-crop-test.tar.bz2
      I'd be grateful about comments or bug reports.
      Signed-off-by: NMichael H. Schimek <mschimek@gmx.at>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      e5bd0260
  3. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  4. 30 7月, 2006 1 次提交
  5. 02 4月, 2006 1 次提交
  6. 25 3月, 2006 2 次提交
  7. 10 1月, 2006 1 次提交
    • M
      V4L/DVB (3178): bttv VBI fixes · 67f1570a
      Michael H. Schimek 提交于
      - V4L2_(G|S|TRY)_FMT returned incorrect VBI start lines for PAL-M,
      NTSC-JP, and PAL-60. They also returned an inaccurate VBI offset.
      - V4L2_(G|S)_FMT and V4L2_TRY_FMT disagreed about the start of VBI
      capturing in PAL and SECAM second field. Note the start line fixes
      may break applications using VIDIOCSVBIFMT because this ioctl fails
      when the driver does not support exactly the requested parameters.
      - V4L2_TRY_FMT did not clear the reserved field in struct
      v4l2_vbi_format.
      - V4L2_(S|TRY)_FMT did not expect very large or small VBI start or
      count values, returning wrong (but safe) counts due to an overflow.
      - VIDIOCGVBIFMT confused V4L and V4L2 VBI flags. However this had no
      effect because the flags have the same value and bttv never sets
      them.
      - In v4l_compat_translate_ioctl() the VIDIOC(G|S)VBIFMT code did not
      expect V4L2 drivers supporting VBI formats besides V4L2_PIX_FMT_GREY.
      Signed-off-by: NMichael H. Schimek <mschimek@gmx.at>
      Signed-off-by: NHans Verkuil <hverkuil@xs4all.nl>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@brturbo.com.br>
      67f1570a
  8. 10 9月, 2005 1 次提交
  9. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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!
      1da177e4