Lines Matching refs:android
127 if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in getBPP()
129 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0 || in getBPP()
130 strcmp(format, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) { in getBPP()
132 } else if (strcmp(format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in getBPP()
156 …if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I)… in getPixelFormatConstant()
158 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I; in getPixelFormatConstant()
159 …} else if ( (0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_… in getPixelFormatConstant()
160 …(0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420P)) ) { in getPixelFormatConstant()
163 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP; in getPixelFormatConstant()
164 …} else if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_R… in getPixelFormatConstant()
166 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_RGB565; in getPixelFormatConstant()
167 …} else if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_B… in getPixelFormatConstant()
169 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB; in getPixelFormatConstant()
170 } else if ( 0 == strcmp(parametersFormat, android::CameraParameters::PIXEL_FORMAT_JPEG) ) { in getPixelFormatConstant()
172 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_JPEG; in getPixelFormatConstant()
175 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP; in getPixelFormatConstant()
179 pixelFormat = (const char *) android::CameraParameters::PIXEL_FORMAT_YUV420SP; in getPixelFormatConstant()
190 …if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_YUV422I)… in calculateBufferSize()
192 … } else if ( (0 == strcmp(parametersFormat, android::CameraParameters::PIXEL_FORMAT_YUV420SP)) || in calculateBufferSize()
193 … (0 == strcmp(parametersFormat, android::CameraParameters::PIXEL_FORMAT_YUV420P)) ) { in calculateBufferSize()
195 …} else if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_R… in calculateBufferSize()
197 …} else if ( 0 == strcmp(parametersFormat, (const char *) android::CameraParameters::PIXEL_FORMAT_B… in calculateBufferSize()