Home
last modified time | relevance | path

Searched refs:pix_fmt (Results 1 – 7 of 7) sorted by relevance

/device/generic/goldfish/camera/
DEmulatedCamera.cpp345 const char* pix_fmt = mParameters.getPictureFormat(); in takePicture() local
346 if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420P) == 0) { in takePicture()
348 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_RGBA8888) == 0) { in takePicture()
350 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_YUV420SP) == 0) { in takePicture()
352 } else if (strcmp(pix_fmt, CameraParameters::PIXEL_FORMAT_JPEG) == 0) { in takePicture()
356 ALOGE("%s: Unsupported pixel format %s", __FUNCTION__, pix_fmt); in takePicture()
390 reinterpret_cast<const char*>(&org_fmt), pix_fmt, width, height); in takePicture()
573 const char* pix_fmt = NULL; in doStartPreview() local
580 pix_fmt = mParameters.get(CameraParameters::KEY_VIDEO_FRAME_FORMAT); in doStartPreview()
584 if (pix_fmt == NULL) { in doStartPreview()
[all …]
DEmulatedQemuCameraDevice.cpp136 uint32_t pix_fmt) in startDevice() argument
152 status_t res = EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); in startDevice()
179 reinterpret_cast<const char*>(&pix_fmt), width, height); in startDevice()
DEmulatedCameraDevice.cpp197 uint32_t pix_fmt) in commonStartDevice() argument
200 switch (pix_fmt) { in commonStartDevice()
210 __FUNCTION__, reinterpret_cast<const char*>(&pix_fmt)); in commonStartDevice()
217 mPixelFormat = pix_fmt; in commonStartDevice()
DEmulatedCameraDevice.h93 virtual status_t startDevice(int width, int height, uint32_t pix_fmt) = 0;
287 virtual status_t commonStartDevice(int width, int height, uint32_t pix_fmt);
DEmulatedQemuCameraDevice.h71 status_t startDevice(int width, int height, uint32_t pix_fmt);
DEmulatedFakeCameraDevice.h75 status_t startDevice(int width, int height, uint32_t pix_fmt);
DEmulatedFakeCameraDevice.cpp106 uint32_t pix_fmt) in startDevice() argument
122 EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); in startDevice()