All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Walls <awalls@radix.net>
To: linux-media@vger.kernel.org
Cc: Devin Heitmueller <dheitmueller@kernellabs.com>
Subject: Re: Any saa711x users out there?
Date: Sun, 07 Feb 2010 19:10:39 -0500	[thread overview]
Message-ID: <1265587839.4186.16.camel@localhost> (raw)

> I'll try to perform a quick test with my PVR-350 with NTSC and the YUV
> capture device BTW.

OK.  So my test setup:

a. DTV STB tuned to the SuperBowl :)

b. Composite out from the STB feeding my PVR-350/SAA7115 with an NTSC
CVBS input.

c. mplayer capturing raw YUV video from the PVR-350's composite input:
$ mplayer /dev/video32 -demuxer rawvideo -rawvideo w=720:h=480:format=hm12:ntsc


I did this:

# v4l2-dbg -d /dev/video32 -S
host0: cx23415    revision 0x00000000
i2c 0x21: saa7115    revision 0x00000000
i2c 0x40: msp4448g   revision 0x02173043
i2c 0x44: saa7129    revision 0x00000000

# v4l2-dbg -d /dev/video32 -c 0x21 --list-registers=min=0x00,max=0xff
ioctl: VIDIOC_DBG_G_REGISTER

          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000: 10 48 80 20 90 90 eb e0 68 53 80 44 40 00 07 2e 
00000010: 06 00 9d 80 00 03 11 9c 40 80 77 42 a9 01 81 b1 
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
00000030: cd 20 03 00 ce fb 30 00 03 10 00 00 00 00 00 00 
00000040: 20 ff ff ff ff ff ff ff ff dd dd dd dd dd dd dd 
00000050: dd dd dd dd dd ff ff ff 40 47 06 83 00 bd 35 00 
00000060: 00 00 00 00 00 00 a9 00 00 00 00 aa 00 00 00 00 
00000070: 00 00 aa 00 00 00 00 aa 00 00 00 00 00 00 00 00 
00000080: 30 01 00 00 20 21 c5 01 f0 00 00 00 00 00 00 3b 
00000090: 80 48 40 84 01 00 d0 02 05 00 0c 00 a0 05 0c 00 
000000a0: 01 00 00 00 80 40 40 00 00 02 00 00 00 01 00 00 
000000b0: 00 04 00 04 01 00 00 00 00 00 00 00 00 00 00 00 
000000c0: 00 08 00 80 02 00 d0 02 12 00 f8 00 d0 02 f8 00 
000000d0: 01 00 00 00 80 40 40 00 00 04 00 00 00 02 00 00 
000000e0: 00 04 00 04 01 00 00 00 00 00 00 00 00 00 00 00 
000000f0: ad 05 50 46 00 ad 01 4b 00 4b 00 4b 00 00 00 88 

# v4l2-dbg -d /dev/video32 -c 0x21 -g 2
ioctl: VIDIOC_DBG_G_REGISTER
Register 0x00000002 = 80h (128d  10000000b)

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0xc0
Register 0x00000002 set to 0xc0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x80
Register 0x00000002 set to 0x80

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0xc0
Register 0x00000002 set to 0xc0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x0
Register 0x00000002 set to 0x0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x40
Register 0x00000002 set to 0x40

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x00
Register 0x00000002 set to 0x0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x40
Register 0x00000002 set to 0x40

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x00
Register 0x00000002 set to 0x0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x40
Register 0x00000002 set to 0x40

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x0
Register 0x00000002 set to 0x0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x80
Register 0x00000002 set to 0x80

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x40
Register 0x00000002 set to 0x40

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x80
Register 0x00000002 set to 0x80

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0xc0
Register 0x00000002 set to 0xc0

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x40
Register 0x00000002 set to 0x40

# v4l2-dbg -d /dev/video32 -c 0x21 -s 2 0x80
Register 0x00000002 set to 0x80


My observations:

1. With the amplifier on and anti-alias filter off things looked fine.
2. With the amplifier on and anti-alias filter on things looked fine.
3. With the amplifier off and anti-alias filter off things looked fine.
4. With the amplifier off and anti-alias filter on the screen washed brighter/whiter.

I guess the anti-alias filter peaks the luma a little or attenuates the color a little.
The amplifier and AGC is probably essential when using the anti-alias filter.

Regards,
Andy



             reply	other threads:[~2010-02-08  0:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08  0:10 Andy Walls [this message]
2010-02-08 15:36 ` Any saa711x users out there? Devin Heitmueller
  -- strict thread matches above, loose matches on Subject: below --
2010-02-02 22:51 Devin Heitmueller
2010-02-03  0:29 ` Mauro Carvalho Chehab
2010-02-03 15:57   ` Devin Heitmueller
2010-02-03 16:41     ` Mauro Carvalho Chehab
2010-02-04  1:51 ` Andy Walls
2010-02-04 15:24   ` Devin Heitmueller
2010-02-05  4:15     ` Andy Walls
2010-02-05  4:34       ` Devin Heitmueller
2010-02-05 16:21         ` Franklin Meng
2010-02-06 16:37         ` Andy Walls

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1265587839.4186.16.camel@localhost \
    --to=awalls@radix.net \
    --cc=dheitmueller@kernellabs.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.