S_FMT vs. CROP vs...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all

I have been guessing around these operations for a while now, and 
eventually have decided to ask.

My current understanding is, that S_FMT in terms of window geometry should 
(ideally) set user window sizes, while the view area should preferably be 
kept maximum, i.e., it should scale, if supported. For example on mt9t031 
binning and skipping are used for that. Whereas CROP uses the current 
scaling configuration and selects a sub-window, so, once you've done S_FMT 
to 320x240, a crop request for 640x480 might well fail. For this you have 
to issue a S_FMT, i.e., change scaling. Or would one have to re-scale 
transparently?

Is this interpretation correct? It seems to reflect the API as documented 
on http://v4l2spec.bytesex.org/spec/book1.htm correctly.

If it is correct, then what should CROP_CAP return as maximum supported 
window sizes? Should it return them according to the current scaling or 
according to scale 1?

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux