Lines Matching refs:pix_fmt
345 const char* pix_fmt = mParameters.getPictureFormat();
346 if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420P) == 0) {
348 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_RGBA8888) == 0) {
350 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) {
352 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_JPEG) == 0) {
356 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt);
390 reinterpret_cast<const char*>(&org_fmt), pix_fmt, width, height);
573 const char* pix_fmt = NULL;
580 pix_fmt = mParameters.get(CameraParameters::KEY_VIDEO_FRAME_FORMAT);
584 if (pix_fmt == NULL) {
585 pix_fmt = mParameters.getPreviewFormat();
587 if (pix_fmt == NULL) {
595 if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420P) == 0) {
597 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_RGBA8888) == 0) {
599 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) {
602 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt);
607 width, height, reinterpret_cast<const char*>(&org_fmt), pix_fmt);