It's meant to turn it off, then run the input init api, and then turn the digitizer back on, this is the way the encoder is recommended to be setup before a capture. So anything else there, power down, probably doesn't belong because that function is really specific to just the disable of the digitizer (to keep it from having any video output) during that input init API call. I'd make a new ioctl call possibly for that I guess, don't think it'd be good to do anything else during that process since it's in the middle of capture setup and possibly should be an ioctl to use by applications to shut it down (since probably would add to delay of starting a capture).
Thanks, Chris On Thu, Jun 02, 2005 at 05:31:50PM -0400, Bryan Mayland wrote: > I went in this afternoon and added code to power down unused AFE > channels (by input), and power down everything when not encoding. I was > curious if this was safely doable, because logically it should be (why > run the ADCs if we're not capturing? etc) > > I came across something else though and I was wondering if it was > supposed to be that way. I added my code to the DECODER_ENABLE_OUTPUT > ioctl, but it wasn't getting called when I thought it would be (as > indicated by cx25840: decoder disable/enable output log messages). > Module load: Decoder disabled then enabled > Capture: I believe in the VBI DMA init, decoder disabled then enabled. > > I was thinking that cx25840's DECODER_ENABLE_OUTPUT was supposed to be > turning on and off the digitizer when needed for capture. Is this not > the case? > > PS - I hacked in setting DECODER_ENABLE_OUTPUT as needed in > ivtv-fileops.c and it looks like we can power down all 3 AFE channels, > both ADCs and their DLLs, as well as the "filter tuning" circuitry while > not doing a capture with no adverse affects! I'd love to get this in > once I resolve where is should be. > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > ivtv-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ivtv-devel -- --- Chris Kennedy / [EMAIL PROTECTED] Engineer KMOS-TV/KTBG-FM Broadcasting Services Department Central Missouri State University ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
