|
|
@ -207,7 +207,7 @@ int NdkCamera::selfTest(const std::string& cameraId, int& maxResolutionX, int& m
|
|
|
|
int32_t format = e.data.i32[i + 0];
|
|
|
|
int32_t format = e.data.i32[i + 0];
|
|
|
|
if (input) continue;
|
|
|
|
if (input) continue;
|
|
|
|
|
|
|
|
|
|
|
|
// if (format == AIMAGE_FORMAT_YUV_420_888 || format == AIMAGE_FORMAT_JPEG)
|
|
|
|
if (format == AIMAGE_FORMAT_YUV_420_888 || format == AIMAGE_FORMAT_JPEG)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (e.data.i32[i + 1] * e.data.i32[i + 2] > (maxResolutionX * maxResolutionY))
|
|
|
|
if (e.data.i32[i + 1] * e.data.i32[i + 2] > (maxResolutionX * maxResolutionY))
|
|
|
|
{
|
|
|
|
{
|
|
|
|