Searched refs:pix_fmt (Results 1 – 7 of 7) sorted by relevance
/device/generic/goldfish/camera/ |
D | EmulatedCamera.cpp | 345 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 …]
|
D | EmulatedQemuCameraDevice.cpp | 136 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()
|
D | EmulatedCameraDevice.cpp | 197 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()
|
D | EmulatedCameraDevice.h | 93 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);
|
D | EmulatedQemuCameraDevice.h | 71 status_t startDevice(int width, int height, uint32_t pix_fmt);
|
D | EmulatedFakeCameraDevice.h | 75 status_t startDevice(int width, int height, uint32_t pix_fmt);
|
D | EmulatedFakeCameraDevice.cpp | 106 uint32_t pix_fmt) in startDevice() argument 122 EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); in startDevice()
|