- How can I set the thumbnail quality in OpenMAX? The struct OMX_PARAM_BRCMTHUMBNAILTYPE is the only thing in all the openmax headers with the word "thumb" and it doesn't have any quality field.
- raspistill doesn't use 2 features of this struct:
- Automatic width and height. If both dimensions are set to 0 the width and height are calculated automatically. If one of these dimensions is 0, then the other dimension is calculated automatically based on the other dimension and maintaining the aspect ratio.
--thumb 64:48:35 -> 64x48
--thumb 0:0:35 -> no thumbnail
--thumb 0:48:35 -> no thumbnail
--thumb 64:0:35 -> no thumbnail
width 64, height 48 -> 64x48
width 0, height 0 -> 288x216
width 0, height 48 -> 64x48
width 64, height 0 -> 64x48
- The "bUsePreview" field is not exposed as a parameter. It seems to be false (or true but the preview dimensions exceed the thumbnail max, 1024x1024). If true, the thumbnail is the preview.