Made changes in Android camera classes: now we can get list of possible preview resolutions of Android camera (as string).

Also now work of Android camera is more accurate in the case when the size of grabbed frame buffer does not consist with the expected frame size.
This commit is contained in:
Leonid Beynenson
2011-05-10 12:29:43 +00:00
parent f4c74eb532
commit 7ec77593db
2 changed files with 24 additions and 7 deletions

View File

@@ -354,6 +354,7 @@ enum
CV_CAP_PROP_WHITE_BALANCE_RED_V =26,
CV_CAP_PROP_MAX_DC1394 =27,
CV_CAP_PROP_AUTOGRAB =1024, // property for highgui class CvCapture_Android only
CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING=1025, // tricky property, returns cpnst char* indeed
// OpenNI map generators
CV_CAP_OPENNI_DEPTH_GENERATOR = 0,
CV_CAP_OPENNI_IMAGE_GENERATOR = 1 << 31,