Lines Matching refs:V4L2Device

63     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()
1051 V4L2Device::V4L2Device() { in V4L2Device() function in android::V4L2Device
1055 V4L2Device::~V4L2Device() { in ~V4L2Device()
1059 scoped_refptr<V4L2Queue> V4L2Device::getQueue(enum v4l2_buf_type type) { in getQueue()
1078 this, type, base::BindOnce(&V4L2Device::onQueueDestroyed, this, type)); in getQueue()
1084 void V4L2Device::onQueueDestroyed(v4l2_buf_type bufType) { in onQueueDestroyed()
1093 scoped_refptr<V4L2Device> V4L2Device::create() { in create()
1095 return scoped_refptr<V4L2Device>(new V4L2Device()); in create()
1098 bool V4L2Device::open(Type type, uint32_t v4l2PixFmt) { in open()
1123 int V4L2Device::ioctl(int request, void* arg) { in ioctl()
1128 bool V4L2Device::poll(bool pollDevice, bool* eventPending) { in poll()
1153 void* V4L2Device::mmap(void* addr, unsigned int len, int prot, int flags, unsigned int offset) { in mmap()
1158 void V4L2Device::munmap(void* addr, unsigned int len) { in munmap()
1162 bool V4L2Device::setDevicePollInterrupt() { in setDevicePollInterrupt()
1173 bool V4L2Device::clearDevicePollInterrupt() { in clearDevicePollInterrupt()
1189 std::vector<base::ScopedFD> V4L2Device::getDmabufsForV4L2Buffer(int index, size_t numPlanes, in getDmabufsForV4L2Buffer()
1213 std::vector<uint32_t> V4L2Device::preferredInputFormat(Type type) { in preferredInputFormat()
1220 uint32_t V4L2Device::C2ProfileToV4L2PixFmt(C2Config::profile_t profile, bool sliceBased) { in C2ProfileToV4L2PixFmt()
1247 C2Config::profile_t V4L2Device::v4L2ProfileToC2Profile(VideoCodec codec, uint32_t profile) { in v4L2ProfileToC2Profile()
1293 std::vector<C2Config::profile_t> V4L2Device::v4L2PixFmtToC2Profiles(uint32_t pixFmt, in v4L2PixFmtToC2Profiles()
1323 V4L2Device::v4L2ProfileToC2Profile(codec, queryMenu.index); in v4L2PixFmtToC2Profiles()
1370 int32_t V4L2Device::c2ProfileToV4L2H264Profile(C2Config::profile_t profile) { in c2ProfileToV4L2H264Profile()
1401 int32_t V4L2Device::h264LevelIdcToV4L2H264Level(uint8_t levelIdc) { in h264LevelIdcToV4L2H264Level()
1442 ui::Size V4L2Device::allocatedSizeFromV4L2Format(const struct v4l2_format& format) { in allocatedSizeFromV4L2Format()
1519 const char* V4L2Device::v4L2MemoryToString(const v4l2_memory memory) { in v4L2MemoryToString()
1535 const char* V4L2Device::v4L2BufferTypeToString(const enum v4l2_buf_type bufType) { in v4L2BufferTypeToString()
1551 std::string V4L2Device::v4L2FormatToString(const struct v4l2_format& format) { in v4L2FormatToString()
1580 std::string V4L2Device::v4L2BufferToString(const struct v4l2_buffer& buffer) { in v4L2BufferToString()
1615 std::optional<VideoFrameLayout> V4L2Device::v4L2FormatToVideoFrameLayout( in v4L2FormatToVideoFrameLayout()
1692 size_t V4L2Device::getNumPlanesOfV4L2PixFmt(uint32_t pixFmt) { in getNumPlanesOfV4L2PixFmt()
1700 void V4L2Device::getSupportedResolution(uint32_t pixelFormat, ui::Size* minResolution, in getSupportedResolution()
1740 std::vector<uint32_t> V4L2Device::enumerateSupportedPixelformats(v4l2_buf_type bufType) { in enumerateSupportedPixelformats()
1755 V4L2Device::SupportedDecodeProfiles V4L2Device::getSupportedDecodeProfiles( in getSupportedDecodeProfiles()
1775 V4L2Device::SupportedEncodeProfiles V4L2Device::getSupportedEncodeProfiles() { in getSupportedEncodeProfiles()
1794 V4L2Device::SupportedDecodeProfiles V4L2Device::enumerateSupportedDecodeProfiles( in enumerateSupportedDecodeProfiles()
1824 V4L2Device::SupportedEncodeProfiles V4L2Device::enumerateSupportedEncodeProfiles() { in enumerateSupportedEncodeProfiles()
1851 bool V4L2Device::startPolling(android::V4L2DevicePoller::EventCallback eventCallback, in startPolling()
1866 bool V4L2Device::stopPolling() { in stopPolling()
1872 void V4L2Device::schedulePoll() { in schedulePoll()
1880 bool V4L2Device::isCtrlExposed(uint32_t ctrlId) { in isCtrlExposed()
1890 bool V4L2Device::setExtCtrls(uint32_t ctrlClass, std::vector<V4L2ExtCtrl> ctrls) { in setExtCtrls()
1903 bool V4L2Device::isCommandSupported(uint32_t commandId) { in isCommandSupported()
1913 bool V4L2Device::hasCapabilities(uint32_t capabilities) { in hasCapabilities()
1926 bool V4L2Device::openDevicePath(const std::string& path, Type /*type*/) { in openDevicePath()
1935 void V4L2Device::closeDevice() { in closeDevice()
1941 void V4L2Device::enumerateDevicesForType(Type type) { in enumerateDevicesForType()
1992 const V4L2Device::Devices& V4L2Device::getDevicesForType(Type type) { in getDevicesForType()
1999 std::string V4L2Device::getDevicePathFor(Type type, uint32_t pixFmt) { in getDevicePathFor()