Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
DEmulatedCamera.cpp493 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()
[all …]
DEmulatedQemuCameraDevice.cpp132 uint32_t pix_fmt) in startDevice() argument
148 status_t res = EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); in startDevice()
177 reinterpret_cast<const char*>(&pix_fmt), width, height); in startDevice()
DEmulatedCameraDevice.cpp342 uint32_t pix_fmt) in commonStartDevice() argument
345 switch (pix_fmt) { in commonStartDevice()
368 __FUNCTION__, reinterpret_cast<const char*>(&pix_fmt)); in commonStartDevice()
375 mPixelFormat = pix_fmt; in commonStartDevice()
DEmulatedCameraDevice.h98 virtual status_t startDevice(int width, int height, uint32_t pix_fmt) = 0;
381 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.cpp123 uint32_t pix_fmt) in startDevice() argument
139 EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); in startDevice()
DEmulatedFakeRotatingCameraDevice.h65 status_t startDevice(int width, int height, uint32_t pix_fmt);
DEmulatedFakeRotatingCameraDevice.cpp470 uint32_t pix_fmt) in startDevice() argument
486 mPixelFormat = pix_fmt; in startDevice()
/device/generic/vulkan-cereal/host-common/
DMediaH264DecoderVideoToolBox.cpp97 OSType pix_fmt) { in createOutputBufferAttributes() argument
106 cv_pix_fmt = CFNumberCreate(kCFAllocatorDefault, kCFNumberSInt32Type, &pix_fmt); in createOutputBufferAttributes()
117 if (pix_fmt) { in createOutputBufferAttributes()
DMediaH264DecoderVideoToolBox.h97 OSType pix_fmt);