Home
last modified time | relevance | path

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

/hardware/libhardware/modules/camera/3_4/
Dstream_format.cpp38 StreamFormat::StreamFormat(int format, uint32_t width, uint32_t height) in StreamFormat() function in v4l2_camera_hal::StreamFormat
41 v4l2_pixel_format_(StreamFormat::HalToV4L2PixelFormat(format)), in StreamFormat()
46 StreamFormat::StreamFormat(const v4l2_format& format) in StreamFormat() function in v4l2_camera_hal::StreamFormat
54 StreamFormat::StreamFormat(const arc::SupportedFormat& format) in StreamFormat() function in v4l2_camera_hal::StreamFormat
61 void StreamFormat::FillFormatRequest(v4l2_format* format) const { in FillFormatRequest()
71 FormatCategory StreamFormat::Category() const { in Category()
84 bool StreamFormat::operator==(const StreamFormat& other) const { in operator ==()
92 bool StreamFormat::operator!=(const StreamFormat& other) const { in operator !=()
96 int StreamFormat::V4L2ToHalPixelFormat(uint32_t v4l2_pixel_format) { in V4L2ToHalPixelFormat()
119 uint32_t StreamFormat::HalToV4L2PixelFormat(int hal_pixel_format) { in HalToV4L2PixelFormat()
[all …]
Dstream_format.h34 class StreamFormat {
36 StreamFormat(int format, uint32_t width, uint32_t height);
37 StreamFormat(const v4l2_format& format);
38 StreamFormat(const arc::SupportedFormat& format);
39 virtual ~StreamFormat() = default;
52 bool operator==(const StreamFormat& other) const;
53 bool operator!=(const StreamFormat& other) const;
Dformat_metadata_factory.cpp48 int32_t hal_format = StreamFormat::V4L2ToHalPixelFormat(v4l2_format); in GetHalFormats()
127 uint32_t v4l2_format = StreamFormat::HalToV4L2PixelFormat(hal_format); in AddFormatComponents()
139 v4l2_format = StreamFormat::HalToV4L2PixelFormat( in AddFormatComponents()
Dv4l2_wrapper.h81 virtual int SetFormat(const StreamFormat& desired_format,
119 std::unique_ptr<StreamFormat> format_;
Dv4l2_wrapper.cpp94 qualified_formats_ = StreamFormat::GetQualifiedFormats(supported_formats_); in Connect()
491 int V4L2Wrapper::SetFormat(const StreamFormat& desired_format, in SetFormat()
516 if (!StreamFormat::FindBestFitFormat(supported_formats_, qualified_formats_, in SetFormat()
529 const StreamFormat resolved_format(format); in SetFormat()
546 format_.reset(new StreamFormat(new_format)); in SetFormat()
684 StreamFormat::HalToV4L2PixelFormat(stream_buffer->stream->format); in DequeueRequest()
Dv4l2_wrapper_mock.h46 MOCK_METHOD2(SetFormat, int(const StreamFormat& desired_format,
Dv4l2_camera.cpp364 StreamFormat stream_format(format, width, height); in setupStreams()