1. 26 1月, 2008 18 次提交
  2. 07 1月, 2008 1 次提交
  3. 12 12月, 2007 2 次提交
  4. 05 11月, 2007 2 次提交
    • T
      V4L/DVB (6392): bttv: Update initial image size when set via V4L1 VIDIOCMCAPTURE · a8ab68bf
      Trent Piepho 提交于
      The V4L1 spec says that the image size should be with with VIDIOCSWIN before
      requesting buffers with VIDIOCGMBUF and capturing into them with
      VIDIOCMCAPTURE.
      
      But it seems that many apps don't do this.  They set the size using the fields
      in the VIDIOCMCAPTURE ioctl.  The driver doesn't know what size to capture
      until it actually starts to capture.  In particular, it doesn't know what size
      to capture until it has already mmap the captured buffers.  Which is quite
      stupid.  Why V4L1 has size and format fields for VIDIOCMCAPTURE I have no idea.
      
      Many drivers don't support this, including those using v4l1-compat.
      
      The bttv does, which is probably the only reason such broken software is so
      prevalent.
      
      But, the driver doesn't adjust its idea of what size is being captured when it
      is set this way.  If you try to query the driver's current setting with
      v4l2-ctl, it won't be correct.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      a8ab68bf
    • T
      V4L/DVB (6391): bttv: SPICT ioctl doesn't work with vlc · 35378434
      Trent Piepho 提交于
      The bttv driver instists that the depth specified in the call to VIDIOCSPICT
      match the pixel format specified in the same call.
      
      vlc doesn't set the depth field, which makes the SPICT ioctl always fail.
      
      The V4L1 standard is not clear on how most operation are supposed to work, and
      this is no exception.  The depth field would appear to be entirely redundant,
      as the pixel format specifies a specific depth.  It could be that this field
      was only meant for output from the *G*PICT ioctl and should be ignored in
      *S*PICT.  This is in fact what the v4l1-compat wrapper does.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      35378434
  5. 02 11月, 2007 1 次提交
  6. 22 10月, 2007 1 次提交
  7. 20 10月, 2007 2 次提交
  8. 14 10月, 2007 1 次提交
  9. 11 10月, 2007 1 次提交
  10. 10 10月, 2007 6 次提交
  11. 31 7月, 2007 1 次提交
    • T
      V4L/DVB (5899): bttv: Fix Viewcast Osprey 440 support · cf784d55
      Trent Piepho 提交于
      Various gpio and mux settings for the Osprey 440 weren't correct.  Fix them
      and provide some documentation about how the gpios work.
      
      The osprey eeprom routine wasn't run for the 440, add it.  It was also crap,
      re-written to be better.
      
      Add the Osprey 440 to the Bt878 ALSA driver's whitelist.  Currently the sample
      rate is fixed at 32kHz, as the driver doesn't support different rates for
      digital input mode, though the card can select the rate from 32, 44.1, or 48
      kHz via gpio.
      
      Setting the audio gain via ALSA isn't supported yet; a userspace tool that
      programs the X9221 via i2c-dev must be used.
      
      The Bt878 digital audio format isn't programmed correctly for the CS5331A ADC
      used, resulting in extremely garbled sound.  That is fixed in a followup
      patch.
      Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      cf784d55
  12. 21 7月, 2007 1 次提交
  13. 19 7月, 2007 3 次提交