Lines Matching refs:pix_fmt
498 const char* pix_fmt = mParameters.getPictureFormat();
499 if (!GetFourCcFormatFromCameraParam(pix_fmt, &org_fmt)) {
502 if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_JPEG) == 0) {
506 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt);
527 reinterpret_cast<const char*>(&org_fmt), pix_fmt, width, height);
773 const char* pix_fmt = nullptr;
781 pix_fmt = mParameters.get(CameraParameters::KEY_VIDEO_FRAME_FORMAT);
783 if (pix_fmt == nullptr) {
784 pix_fmt = mParameters.getPreviewFormat();
786 if (pix_fmt == nullptr) {
791 if (!GetFourCcFormatFromCameraParam(pix_fmt, pixelFormat)) {
792 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt);