Home
last modified time | relevance | path

Searched refs:fmtdesc (Results 1 – 4 of 4) sorted by relevance

/external/v4l2_codec2/vda/
Dv4l2_device.cc334 v4l2_fmtdesc fmtdesc; in EnumerateSupportedPixelformats() local
335 memset(&fmtdesc, 0, sizeof(fmtdesc)); in EnumerateSupportedPixelformats()
336 fmtdesc.type = buf_type; in EnumerateSupportedPixelformats()
338 for (; Ioctl(VIDIOC_ENUM_FMT, &fmtdesc) == 0; ++fmtdesc.index) { in EnumerateSupportedPixelformats()
339 DVLOGF(3) << "Found " << fmtdesc.description << std::hex << " (0x" in EnumerateSupportedPixelformats()
340 << fmtdesc.pixelformat << ")"; in EnumerateSupportedPixelformats()
341 pixelformats.push_back(fmtdesc.pixelformat); in EnumerateSupportedPixelformats()
Dv4l2_video_decode_accelerator.cc1874 struct v4l2_fmtdesc fmtdesc; in SetupFormats() local
1875 memset(&fmtdesc, 0, sizeof(fmtdesc)); in SetupFormats()
1876 fmtdesc.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in SetupFormats()
1878 while (device_->Ioctl(VIDIOC_ENUM_FMT, &fmtdesc) == 0) { in SetupFormats()
1879 if (fmtdesc.pixelformat == input_format_fourcc_) { in SetupFormats()
1883 ++fmtdesc.index; in SetupFormats()
1903 memset(&fmtdesc, 0, sizeof(fmtdesc)); in SetupFormats()
1904 fmtdesc.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; in SetupFormats()
1905 while (device_->Ioctl(VIDIOC_ENUM_FMT, &fmtdesc) == 0) { in SetupFormats()
1906 if (IsSupportedOutputFormat(fmtdesc.pixelformat)) { in SetupFormats()
[all …]
/external/libgsm/src/
Dtoast.c52 struct fmtdesc { struct
92 struct fmtdesc * alldescs[] = {
97 (struct fmtdesc *)NULL
102 struct fmtdesc * f_format = 0;
427 static void prepare_io P1(( desc), struct fmtdesc * desc)
436 static struct fmtdesc * grok_format P1((name), char * name)
439 struct fmtdesc ** f;
456 return (struct fmtdesc *)0;
461 struct fmtdesc * f = f_format;
740 static void set_format P1((f), struct fmtdesc * f)
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c720 struct v4l2_fmtdesc fmtdesc; in do_set_formats_enum() local
735 memset(&fmtdesc, 0, sizeof(fmtdesc)); in do_set_formats_enum()
736 fmtdesc.index = i; in do_set_formats_enum()
737 fmtdesc.type = type; in do_set_formats_enum()
739 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUM_FMT, &fmtdesc); in do_set_formats_enum()
751 format_max.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
798 fmtdesc.pixelformat); in do_set_formats_enum()
828 format_min.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
875 fmtdesc.pixelformat); in do_set_formats_enum()
995 format_min.fmt.pix.pixelformat = fmtdesc.pixelformat; in do_set_formats_enum()
[all …]