Lines Matching refs:pix_fmt
493 const char* pix_fmt = mParameters.getPictureFormat(); in takePicture() local
494 if (!GetFourCcFormatFromCameraParam(pix_fmt, &org_fmt)) { in takePicture()
497 if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_JPEG) == 0) { in takePicture()
501 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt); in takePicture()
522 reinterpret_cast<const char*>(&org_fmt), pix_fmt, width, height); in takePicture()
777 const char* pix_fmt = nullptr; in getConfiguredPixelFormat() local
785 pix_fmt = mParameters.get(CameraParameters::KEY_VIDEO_FRAME_FORMAT); in getConfiguredPixelFormat()
787 if (pix_fmt == nullptr) { in getConfiguredPixelFormat()
788 pix_fmt = mParameters.getPreviewFormat(); in getConfiguredPixelFormat()
790 if (pix_fmt == nullptr) { in getConfiguredPixelFormat()
795 if (!GetFourCcFormatFromCameraParam(pix_fmt, pixelFormat)) { in getConfiguredPixelFormat()
796 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt); in getConfiguredPixelFormat()