Searched refs:V4L2Device (Results 1 – 10 of 10) sorted by relevance
/external/v4l2_codec2/vda/ |
D | v4l2_device.cc | 26 V4L2Device::V4L2Device() {} in V4L2Device() function in media::V4L2Device 28 V4L2Device::~V4L2Device() { in ~V4L2Device() 33 VideoPixelFormat V4L2Device::V4L2PixFmtToVideoPixelFormat(uint32_t pix_fmt) { in V4L2PixFmtToVideoPixelFormat() 62 uint32_t V4L2Device::VideoPixelFormatToV4L2PixFmt(VideoPixelFormat format) { in VideoPixelFormatToV4L2PixFmt() 83 uint32_t V4L2Device::VideoCodecProfileToV4L2PixFmt(VideoCodecProfile profile) { in VideoCodecProfileToV4L2PixFmt() 97 std::vector<VideoCodecProfile> V4L2Device::V4L2PixFmtToVideoCodecProfiles( in V4L2PixFmtToVideoCodecProfiles() 137 int V4L2Device::Ioctl(int request, void* arg) { in Ioctl() 142 bool V4L2Device::Poll(bool poll_device, bool* event_pending) { in Poll() 167 void* V4L2Device::Mmap(void* addr, in Mmap() 176 void V4L2Device::Munmap(void* addr, unsigned int len) { in Munmap() [all …]
|
D | v4l2_device.h | 35 class V4L2Device : public base::RefCountedThreadSafe<V4L2Device> { 37 V4L2Device(); 38 ~V4L2Device(); 117 friend class base::RefCountedThreadSafe<V4L2Device>; 159 DISALLOW_COPY_AND_ASSIGN(V4L2Device);
|
D | v4l2_video_decode_accelerator.h | 88 const scoped_refptr<V4L2Device>& device); 400 scoped_refptr<V4L2Device> device_;
|
D | v4l2_video_decode_accelerator.cc | 122 const scoped_refptr<V4L2Device>& device) in V4L2VideoDecodeAccelerator() 189 V4L2Device::VideoCodecProfileToV4L2PixFmt(video_profile_); in Initialize() 191 if (!device_->Open(V4L2Device::Type::kDecoder, input_format_fourcc_)) { in Initialize() 349 V4L2Device::V4L2PixFmtToVideoPixelFormat(output_format_fourcc_)) { in ImportBufferForPicture() 475 scoped_refptr<V4L2Device> device(new V4L2Device()); in GetSupportedProfiles() 1949 V4L2Device::V4L2PixFmtToVideoPixelFormat(output_format_fourcc_); in CreateOutputBuffers()
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
D | media_v4l2_device.cc | 22 V4L2Device::V4L2Device(const char* dev_name, in V4L2Device() function in V4L2Device 34 V4L2Device::~V4L2Device() { in ~V4L2Device() 44 bool V4L2Device::OpenDevice() { in OpenDevice() 84 void V4L2Device::CloseDevice() { in CloseDevice() 90 bool V4L2Device::InitDevice(IOMethod io, in InitDevice() 190 bool V4L2Device::UninitDevice() { in UninitDevice() 232 bool V4L2Device::StartCapture() { in StartCapture() 257 bool V4L2Device::StopCapture() { in StopCapture() 279 void V4L2Device::ProcessImage(const void* p) { in ProcessImage() 285 bool V4L2Device::Run(uint32_t time_in_sec) { in Run() [all …]
|
D | media_v4l2_unittest.cc | 16 bool ExerciseControl(V4L2Device* v4l2_dev, uint32_t id, const char* control) { in ExerciseControl() 33 V4L2Device v4l2_dev1(dev_name, 4); in TestMultipleOpen() 34 V4L2Device v4l2_dev2(dev_name, 4); in TestMultipleOpen() 48 void TestMultipleInit(const char* dev_name, V4L2Device::IOMethod io) { in TestMultipleInit() 49 V4L2Device::ConstantFramerate constant_framerate = in TestMultipleInit() 50 V4L2Device::DEFAULT_FRAMERATE_SETTING; in TestMultipleInit() 51 V4L2Device v4l2_dev1(dev_name, 4); in TestMultipleInit() 52 V4L2Device v4l2_dev2(dev_name, 4); in TestMultipleInit() 84 V4L2Device v4l2_dev1(dev_name, 4); in TestEnumInputAndStandard() 96 V4L2Device v4l2_dev(dev_name, 4); in TestEnumControl() [all …]
|
D | media_v4l2_test.cc | 72 int RunTest(V4L2Device* device, V4L2Device::IOMethod io, in RunTest() 75 V4L2Device::ConstantFramerate constant_framerate, in RunTest() 98 V4L2Device* device, SupportedFormats* supported_formats) { in GetSupportedFormats() 256 V4L2Device::ConstantFramerate constant_framerate = in TestIO() 257 V4L2Device::DEFAULT_FRAMERATE_SETTING; in TestIO() 259 std::unique_ptr<V4L2Device> device( in TestIO() 260 new V4L2Device(dev_name.c_str(), buffers)); in TestIO() 270 int mmap_ret = RunTest(device.get(), V4L2Device::IO_METHOD_MMAP, buffers, in TestIO() 273 int userp_ret = RunTest(device.get(), V4L2Device::IO_METHOD_USERPTR, in TestIO() 304 V4L2Device::IOMethod io = V4L2Device::IO_METHOD_MMAP; in TestResolutions() [all …]
|
D | media_v4l2_device.h | 22 class V4L2Device { 41 V4L2Device(const char* dev_name, 43 virtual ~V4L2Device();
|
D | media_v4l2_is_capture_device.cc | 16 V4L2Device v4l2_dev(argv[1], 4); in main()
|
/external/v4l2_codec2/ |
D | C2VDAAdaptor.cpp | 43 scoped_refptr<media::V4L2Device> device = new media::V4L2Device(); in initialize() 140 media::V4L2Device::VideoCodecProfileToV4L2PixFmt(profile.profile)) { in GetSupportedProfiles()
|