Home
last modified time | relevance | path

Searched refs:V4L2Device (Results 1 – 13 of 13) sorted by relevance

/external/v4l2_codec2/accel/
Dv4l2_device.cc68 static std::unique_ptr<V4L2Buffer> Create(scoped_refptr<V4L2Device> device,
80 V4L2Buffer(scoped_refptr<V4L2Device> device,
87 scoped_refptr<V4L2Device> device_;
103 std::unique_ptr<V4L2Buffer> V4L2Buffer::Create(scoped_refptr<V4L2Device> device, in Create()
118 V4L2Buffer::V4L2Buffer(scoped_refptr<V4L2Device> device, in V4L2Buffer()
716 VPLOGF(level) << "(" << V4L2Device::V4L2BufferTypeToString(type_) << ") "
718 VLOGF(level) << "(" << V4L2Device::V4L2BufferTypeToString(type_) << ") "
720 DVLOGF(level) << "(" << V4L2Device::V4L2BufferTypeToString(type_) << ") "
722 V4L2Queue::V4L2Queue(scoped_refptr<V4L2Device> dev, in V4L2Queue()
760 format.fmt.pix_mp.num_planes = V4L2Device::GetNumPlanesOfV4L2PixFmt(fourcc); in SetFormat()
[all …]
Dgeneric_v4l2_device.h26 class GenericV4L2Device : public V4L2Device {
83 void EnumerateDevicesForType(V4L2Device::Type type);
88 const Devices& GetDevicesForType(V4L2Device::Type type);
92 std::string GetDevicePathFor(V4L2Device::Type type, uint32_t pixfmt);
96 std::map<V4L2Device::Type, Devices> devices_by_type_;
Dv4l2_device.h243 class V4L2Device; variable
373 scoped_refptr<V4L2Device> device_;
377 V4L2Queue(scoped_refptr<V4L2Device> dev,
391 class V4L2Device : public base::RefCountedThreadSafe<V4L2Device> {
439 static scoped_refptr<V4L2Device> Create();
552 friend class base::RefCountedThreadSafe<V4L2Device>;
553 V4L2Device();
554 virtual ~V4L2Device();
Dv4l2_device_poller.h19 class V4L2Device; variable
40 V4L2DevicePoller(V4L2Device* const device, const std::string& thread_name);
72 V4L2Device* const device_;
Dv4l2_video_decode_accelerator.h85 const scoped_refptr<V4L2Device>& device);
389 scoped_refptr<V4L2Device> device_;
Dv4l2_device_poller.cc19 V4L2DevicePoller::V4L2DevicePoller(V4L2Device* const device, in V4L2DevicePoller()
Dv4l2_video_decode_accelerator.cc154 const scoped_refptr<V4L2Device>& device) in V4L2VideoDecodeAccelerator()
220 V4L2Device::VideoCodecProfileToV4L2PixFmt(video_profile_, false); in Initialize()
222 if (!device_->Open(V4L2Device::Type::kDecoder, input_format_fourcc_)) { in Initialize()
535 scoped_refptr<V4L2Device> device(new GenericV4L2Device()); in GetSupportedProfiles()
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2EncodeComponent.h31 class V4L2Device; variable
221 scoped_refptr<media::V4L2Device> mDevice;
DV4L2EncodeInterface.h21 class V4L2Device; variable
DV4L2Decoder.h81 scoped_refptr<media::V4L2Device> mDevice;
/external/v4l2_codec2/components/
DV4L2EncodeComponent.cpp572 media::V4L2Device::VideoCodecProfileToV4L2PixFmt(outputProfile, false); in initializeEncoder()
578 mDevice = media::V4L2Device::Create(); in initializeEncoder()
584 if (!mDevice->Open(media::V4L2Device::Type::kEncoder, outputPixelFormat)) { in initializeEncoder()
658 mDevice->PreferredInputFormat(media::V4L2Device::Type::kEncoder); in configureInputFormat()
672 auto layout = media::V4L2Device::V4L2FormatToVideoFrameLayout(*format); in configureInputFormat()
687 mInputCodedSize = media::V4L2Device::AllocatedSizeFromV4L2Format(*format); in configureInputFormat()
760 media::V4L2Device::VideoCodecProfileToV4L2PixFmt(outputProfile, false), mVisibleSize, in configureOutputFormat()
824 int32_t profile = media::V4L2Device::VideoCodecProfileToV4L2H264Profile(outputProfile); in configureDevice()
835 media::V4L2Device::H264LevelIdcToV4L2H264Level(h264Level)); in configureDevice()
DV4L2EncodeInterface.cpp247 scoped_refptr<media::V4L2Device> device = media::V4L2Device::Create(); in Initialize()
DV4L2Decoder.cpp97 mDevice = media::V4L2Device::Create(); in start()
100 if (!mDevice->Open(media::V4L2Device::Type::kDecoder, inputPixelFormat)) { in start()