1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-02 03:06:28 +02:00
FFmpeg/libavdevice
Olivier Langlois 0a15067047 lavd: Use av_gettime_relative()
Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.

Since v4l2 is compiled only on Linux where av_gettime_relative()
is monotonic, a small wrapper function av_gettime_monotonic() is used
(should be inlined the compiler) to put emphasis on that fact.

Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-18 16:10:12 +02:00
..
alldevices.c Add AVFoundation input device. 2014-04-11 17:51:33 +02:00
alsa-audio-common.c
alsa-audio-dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
alsa-audio-enc.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
alsa-audio.h
avdevice.c lavd: no default device unless explicitly set 2014-04-12 19:14:57 +02:00
avdevice.h Various small spelling fixes. 2014-04-22 20:44:31 +02:00
avdeviceres.rc
avfoundation.m Add AVFoundation input device. 2014-04-11 17:51:33 +02:00
bktr.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
caca.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
decklink_enc_c.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
decklink_enc.cpp
decklink_enc.h
dshow_capture.h dshow: show device name when outputting buffer overflow log message 2014-03-28 00:22:55 +01:00
dshow_common.c
dshow_enummediatypes.c dshow: fixup some COM objects, based on patches from Don Moir 2014-03-31 23:11:35 +02:00
dshow_enumpins.c
dshow_filter.c
dshow_pin.c dshow: show device name when outputting buffer overflow log message 2014-03-28 00:22:55 +01:00
dshow.c dshow: show device name when outputting buffer overflow log message 2014-03-28 00:22:55 +01:00
dv1394.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
dv1394.h
fbdev_common.c lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
fbdev_common.h lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
fbdev_dec.c lavd/fbdev_dec: implement fbdev_get_device_list callback 2014-04-30 00:35:42 +02:00
fbdev_enc.c lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
file_open.c
gdigrab.c Add Win32 GDI-based screen grabbing 2014-04-03 00:41:45 +02:00
iec61883.c Fix pthread-related compile errors in iec61883.c 2014-03-05 22:19:33 +01:00
jack_audio.c lavd/jack_audio: use av_fifo_freep 2014-05-07 23:39:47 +02:00
lavfi.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
libavdevice.v
libcdio.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
libdc1394.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
Makefile Merge commit '449511740f06a4675b0066730fa45cdb764ffafc' 2014-05-13 22:40:32 +02:00
openal-dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
opengl_enc_shaders.h lavd/opengl_enc_shaders: fix gray* shader 2014-02-16 19:56:53 +01:00
opengl_enc.c lavd/opengl_enc: fix window size correction code 2014-05-02 18:04:05 +02:00
oss_audio.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
pulse_audio_common.c lavd/pulse_audio_common: add context helper functions 2014-04-18 01:42:17 +02:00
pulse_audio_common.h lavd/pulse_audio_common: add context helper functions 2014-04-18 01:42:17 +02:00
pulse_audio_dec.c lavd/pulse_audio_dec: implement get_device_list callback 2014-03-29 09:54:09 +01:00
pulse_audio_enc.c lavd/pulse_audio_enc: respect minreq while checking buffer fullness 2014-04-30 00:36:14 +02:00
qtkit.m avdevice/qtkit: fix include 2014-04-24 05:12:07 +02:00
sdl.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
sndio_common.c
sndio_common.h
sndio_dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
sndio_enc.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
timefilter.c
timefilter.h
v4l2-common.c Add more Bayer colour spaces to the video4linux2 device wrapper. 2014-02-23 13:42:41 +01:00
v4l2-common.h
v4l2.c lavd: Use av_gettime_relative() 2014-05-18 16:10:12 +02:00
v4l2enc.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
v4l.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
version.h lavd/opengl_enc: add window size param 2014-05-02 18:03:52 +02:00
vfwcap.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
x11grab.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
xv.c lavd/xv: reident after previous commits 2014-05-02 18:04:05 +02:00