48 Commits (f318ee3e37bebb3f498edafdbaf7e164a889a357)

Author SHA1 Message Date
Stefano Sabatini 5d3d238f82 Factorize common code in v4l2_set_parameters(). 14 years ago
Stefano Sabatini 8621a37d9f In video4linux2, in the case the timebase value in ap is 0/0, read the 14 years ago
Stefano Sabatini bd7d9e45a4 In the video4linux2 output device, log an error description in case of 14 years ago
José Miguel Gonçalves 70f77361d8 Allow to set the frame rate in v4l2 devices 14 years ago
Stefano Sabatini 0105889358 Cosmetics: simplify layout of fmt_conversion_table, make it shorter 14 years ago
Stefano Sabatini 680861ca73 Cosmetics: apply minor style fixes. 14 years ago
Stefano Sabatini e16f217ceb Use new imgutils.h API names, fix deprecation warnings. 14 years ago
Pete Eberlein b4f81b7429 Add a mapping for the V4L2_PIX_FMT_NV12 format to PIX_FMT_NV12 for 14 years ago
Stefano Sabatini 6ce9b4310c Remove use of the deprecated function avcodec_check_dimensions(), use 14 years ago
Stefano Sabatini 50f852186f Make device_open() store the VIDIOC_QUERYCAP ioctl errno, and in case 15 years ago
Luca Abeni b01dba14f3 Check the return value of device_try_init() immediately after calling such a 15 years ago
Stefano Sabatini 6e25b78001 Fix weird brace placement. 15 years ago
Luca Abeni 1ace15f58c Reduce the verbosity of the v4l2 input device 15 years ago
Luca Abeni 4f54d924bc Simplify some output messages in the v4l2 input device 15 years ago
Stefano Sabatini 932d775fa2 Implement v4l2 input size autodetection in v4l2_read_header(). 15 years ago
Stefano Sabatini c57a8fefd9 Return meaningful error codes, rather than always -1. 15 years ago
Stefano Sabatini 18225025ff Remove unnecessary width and height variables from v4l2_read_header(). 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Jai Menon 90d0379f5e Avoid using deprecated AVFormatParameters::[audio|video]_codec_id field. 15 years ago
Reinhard Tartler 8040c3b250 Define device_try_init() as static in libavdevice/v4l2.c. 15 years ago
Luca Abeni 3db77ccf38 Support compressed formats in the V4L2 input device. 15 years ago
Luca Abeni 9eb6e9d9d3 Add support for V4L2 compressed formats in the table used for converting 15 years ago
Luca Abeni 9202218e5d Use the correct type for the V4L2 format. 15 years ago
Luca Abeni 158aa9f2db Return pkt->size in v4l2_read_packet(). 15 years ago
Luca Abeni 1c787b1043 Cast a __u64 variable to uint64_t so that it can be printed without warnings 16 years ago
Luca Abeni 5449a787c9 If AVPacket->data == NULL, the packet does not contain any buffer to 16 years ago
Diego Biurrun 406792e7b0 cosmetics: Remove pointless period after copyright statement non-sentences. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Luca Abeni e7b987dc2f Remove the frame rate from struct video_data, and allow using a variable 16 years ago
Stefano Sabatini 5d91e92853 Use avcodec_check_dimensions() for checking the frame size validity. 16 years ago
Stefano Sabatini df2a3f2714 Use more descriptive long_names for Video4Linux input devices. 16 years ago
Aurelien Jacobs 37d3e0667a uses FF_ARRAY_ELEMS() where appropriate 16 years ago
Jens Rosenboom 3d0d9a5e3b The v4l2 driver can silently change the pixel format in the 16 years ago
Brad 1b6e8b734c V4L2 support for OpenBSD, patch by Brad, brad comstyle com 16 years ago
Jean Delvare 92d04e765e Add support for the RGB32 pixel format in video4linux2 devices 16 years ago
Jean Delvare 97a290efcb Add support for the PIX_FMT_RGB555 and PIX_FMT_RGB565 pixel formats in 16 years ago
Michael Niedermayer e9d4b8a533 Workaround bug in types.h that has typedef __u64 under #ifndef __STRICT_ANSI__. 16 years ago
Aurelien Jacobs ea452b54f0 strcasecmp() requires #include <strings.h> 16 years ago
Stefano Sabatini 3241ec1d6f Cosmetics: make a v4l2 error message consistent with r14647. 17 years ago
Stefano Sabatini 99423fa0ee Distinguish the error reporting for the cases of wrong size and wrong 17 years ago
Stefano Sabatini deaab5fc32 Make v4l2_read_header() don't free a stream in case of failure when 17 years ago
Stefano Sabatini bde15e74de Make long_names in lavf/lavdev optional depending on CONFIG_SMALL. 17 years ago
Carl Eugen Hoyos eacced45c4 Replace some occurrences of -1 with PIX_FMT_NONE. 17 years ago
Diego Biurrun 245976da2a Use full path for #includes from another directory. 17 years ago
Diego Biurrun 0e58bf670d Remove #ifdef HAVE_SYS_MMAN_H around sys/mman.h #include. 17 years ago
Diego Biurrun b00675499c Only #include sys/mman.h if configure set HAVE_SYS_MMAN_H. 17 years ago
Michel Bardiaux 48f7e1aeee Clarify the error message when video width, height, or framerate are not 17 years ago
Luca Abeni c721d803cb Introduce libavdevice 17 years ago
Benoit Fouet 411f5c6abd Forward error code when reading a v4l2 frame 17 years ago
Panagiotis Issaris 6f3e0b2174 Replace all occurrences of AVERROR_IO with AVERROR(EIO). 18 years ago