Lines Matching refs:parameters_format
38 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()
91 … else if(strcmp(parameters_format, (const char *) CameraParameters::PIXEL_FORMAT_RGB565) == 0) in getPixFormatConstant()
111 const size_t getBufSize(const char* parameters_format, int width, int height) in getBufSize() argument
115 if ( parameters_format != NULL ) { in getBufSize()
116 if (strcmp(parameters_format, in getBufSize()
120 else if((strcmp(parameters_format, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) || in getBufSize()
121 (strcmp(parameters_format, CameraParameters::PIXEL_FORMAT_YUV420P) == 0)) { in getBufSize()
124 else if(strcmp(parameters_format, in getBufSize()