Home
last modified time | relevance | path

Searched refs:parameters_format (Results 1 – 4 of 4) sorted by relevance

/hardware/ti/omap4xxx/camera/
DANativeWindowDisplayAdapter.cpp38 OMX_COLOR_FORMATTYPE toOMXPixFormat(const char* parameters_format) in toOMXPixFormat() argument
42 if ( parameters_format != NULL ) in toOMXPixFormat()
44 if (strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in toOMXPixFormat()
49 … else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) in toOMXPixFormat()
54 … else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) in toOMXPixFormat()
73 const char* getPixFormatConstant(const char* parameters_format) in getPixFormatConstant() argument
77 if ( parameters_format != NULL ) in getPixFormatConstant()
79 if (strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in getPixFormatConstant()
84 … else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420SP) == 0 || in getPixFormatConstant()
85 … strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_YUV420P) == 0) in getPixFormatConstant()
[all …]
/hardware/ti/omap4-aah/camera/
DBufferSourceAdapter.cpp27 static int getANWFormat(const char* parameters_format) in getANWFormat() argument
31 if (parameters_format != NULL) { in getANWFormat()
32 if (strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) { in getANWFormat()
35 … } else if (strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in getANWFormat()
38 } else if (strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0) { in getANWFormat()
42 … } else if (strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_BAYER_RGGB) == 0) { in getANWFormat()
DANativeWindowDisplayAdapter.cpp34 OMX_COLOR_FORMATTYPE toOMXPixFormat(const char* parameters_format) in toOMXPixFormat() argument
38 if ( parameters_format != NULL ) in toOMXPixFormat()
40 if (strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_YUV422I) == 0) in toOMXPixFormat()
45 else if(strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) in toOMXPixFormat()
50 else if(strcmp(parameters_format, android::CameraParameters::PIXEL_FORMAT_RGB565) == 0) in toOMXPixFormat()
/hardware/ti/omap4-aah/camera/inc/
DCameraHal.h1287 static const char* getPixelFormatConstant(const char* parameters_format);
1288 static size_t calculateBufferSize(const char* parameters_format, int width, int height);