Home
last modified time | relevance | path

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

/external/v4l2_codec2/common/include/v4l2_codec2/common/
DV4L2Device.h168 class V4L2Device; variable
305 scoped_refptr<V4L2Device> mDevice;
309 V4L2Queue(scoped_refptr<V4L2Device> dev, enum v4l2_buf_type type, base::OnceClosure destroyCb);
319 class V4L2Device : public base::RefCountedThreadSafe<V4L2Device> {
376 static scoped_refptr<V4L2Device> create();
464 friend class base::RefCountedThreadSafe<V4L2Device>;
465 V4L2Device();
466 ~V4L2Device();
468 V4L2Device(const V4L2Device&) = delete;
469 V4L2Device& operator=(const V4L2Device&) = delete;
[all …]
DV4L2DevicePoller.h19 class V4L2Device; variable
39 V4L2DevicePoller(V4L2Device* const device, const std::string& threadName);
67 V4L2Device* const mDevice;
/external/v4l2_codec2/common/
DV4L2Device.cpp63 format.fmt.pix_mp.num_planes = V4L2Device::getNumPlanesOfV4L2PixFmt(fourcc); in buildV4L2Format()
90 static std::unique_ptr<V4L2Buffer> create(scoped_refptr<V4L2Device> device,
103 V4L2Buffer(scoped_refptr<V4L2Device> device, enum v4l2_buf_type type, enum v4l2_memory memory,
107 scoped_refptr<V4L2Device> mDevice;
120 std::unique_ptr<V4L2Buffer> V4L2Buffer::create(scoped_refptr<V4L2Device> device, in create()
131 V4L2Buffer::V4L2Buffer(scoped_refptr<V4L2Device> device, enum v4l2_buf_type type, in V4L2Buffer()
695 #define ALOGEQ(fmt, ...) ALOGE("(%s)" fmt, V4L2Device::v4L2BufferTypeToString(mType), ##__VA_ARGS__)
696 #define ALOGVQ(fmt, ...) ALOGD("(%s)" fmt, V4L2Device::v4L2BufferTypeToString(mType), ##__VA_ARGS__)
698 V4L2Queue::V4L2Queue(scoped_refptr<V4L2Device> dev, enum v4l2_buf_type type, in V4L2Queue()
1044 static scoped_refptr<V4L2Queue> createQueue(scoped_refptr<V4L2Device> dev, in createQueue()
[all …]
DAndroid.bp26 "V4L2Device.cpp",
DV4L2DevicePoller.cpp19 V4L2DevicePoller::V4L2DevicePoller(V4L2Device* const device, const std::string& threadName) in V4L2DevicePoller()
/external/v4l2_codec2/components/
DV4L2Encoder.cpp204 uint32_t outputPixelFormat = V4L2Device::C2ProfileToV4L2PixFmt(outputProfile, false); in initialize()
210 mDevice = V4L2Device::create(); in initialize()
216 if (!mDevice->open(V4L2Device::Type::kEncoder, outputPixelFormat)) { in initialize()
453 mDevice->preferredInputFormat(V4L2Device::Type::kEncoder); in configureInputFormat()
466 auto layout = V4L2Device::v4L2FormatToVideoFrameLayout(*format); in configureInputFormat()
482 mInputCodedSize = V4L2Device::allocatedSizeFromV4L2Format(*format); in configureInputFormat()
550 auto format = mOutputQueue->setFormat(V4L2Device::C2ProfileToV4L2PixFmt(outputProfile, false), in configureOutputFormat()
618 int32_t profile = V4L2Device::c2ProfileToV4L2H264Profile(outputProfile); in configureH264()
DV4L2EncodeInterface.cpp245 scoped_refptr<V4L2Device> device = V4L2Device::create(); in Initialize()
259 V4L2Device::SupportedEncodeProfiles supported_profiles = device->getSupportedEncodeProfiles(); in Initialize()
DV4L2Decoder.cpp107 mDevice = V4L2Device::create(); in start()
110 if (!mDevice->open(V4L2Device::Type::kDecoder, inputPixelFormat)) { in start()
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2Encoder.h25 class V4L2Device; variable
162 scoped_refptr<V4L2Device> mDevice;
DV4L2EncodeInterface.h20 class V4L2Device; variable
DV4L2Decoder.h81 scoped_refptr<V4L2Device> mDevice;