Anton Khirnov
145f741e11
AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*
2011-10-12 16:51:16 +02:00
Diego Biurrun
e83c2ddebf
Fix 'heigth' vs. 'height' typos.
2011-10-05 11:12:01 +02:00
Diego Biurrun
30b4ee7901
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
2011-09-24 12:11:17 +02:00
Anton Khirnov
4d77d57d20
alsa: add missing header
...
Fixes compile with next lavc major.
2011-09-21 13:51:53 +02:00
Anton Khirnov
e417d80d28
lavd: add libcdio-paranoia input device for audio CD grabbing
2011-09-17 06:45:26 +02:00
Anton Khirnov
c14fe6bc99
lavf,lavd: remove all usage of AVFormatParameters from demuxers.
...
AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant.
2011-08-15 19:59:48 +02:00
Anton Khirnov
a7c93dae55
jack: add 'channels' private option.
...
Get rid of AVFormatParameters usage.
2011-08-15 19:56:55 +02:00
Yu-Jie Lin
1442d29533
x11grab: add show_region AVOption.
...
Draw the current grabbing region for indication.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-31 14:26:08 +02:00
Yu-Jie Lin
085791a92e
x11grab: add follow_mouse AVOption.
...
-follow_mouse centered|PIXELS
move grabbing region to where mouse pointer at the center; or
only move when pointer reaches within PIXELS to the edge.
Signed-off-by: Yu-Jie Lin <livibetter@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-07-31 14:25:00 +02:00
Diego Biurrun
ad4cd0c2a4
doxygen: use Doxygen markup for authors and web links where appropriate
2011-07-15 02:01:21 +02:00
Justin Ruggles
e35c674d13
alsa: limit buffer_size to 32768 frames.
...
In testing, the file output plugin gave a max buffer size of about 20 million
frames, which is way more than what is really needed and causes a memory
allocation error on my system.
2011-07-09 16:01:06 -04:00
Justin Ruggles
8bfd7f6a47
alsa: fallback to buffer_size/4 for period_size.
...
buffer_size/4 is the value used by aplay. This fixes output to null
devices, e.g. writing ALSA output to a file.
2011-07-09 16:00:56 -04:00
Anton Khirnov
ce558c8f59
x11grab: replace undocumented nomouse hackery with a private option.
2011-07-08 18:30:21 +02:00
Diego Biurrun
f9853c1b9c
libavdevice: Remove disabled code.
2011-07-07 22:53:51 +02:00
Diego Biurrun
d3f751e603
Add some missing mathematics.h #includes for av_rescale().
2011-07-05 20:16:38 +02:00
Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-06-28 18:15:19 +01:00
Diego Biurrun
a6213f3dce
build: Remove redundant config.mak includes from subdirectory Makefiles.
...
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
2011-06-25 13:02:51 +02:00
Stefano Sabatini
41b68dce4d
lavdev: improve feedback in case of invalid frame rate/size
...
Show the invalid string in the error message.
While at it also prefer "Could not" over "Couldn't", plain forms are
preferred over contractions (simplify readability, especially for non
English-savvy people).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:49 +02:00
Stefano Sabatini
a4bda40544
vfwcap: prefer "framerate_q" over "fps" in vfw_read_header()
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:49 +02:00
Stefano Sabatini
e60068baeb
v4l2: prefer "framerate_q" over "fps" in v4l2_set_parameters()
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:49 +02:00
Stefano Sabatini
a5351720cc
fbdev: prefer "framerate_q" over "fps" in device context
...
The variable is used for containing the parsed value of framerate,
using a lexically consistent name eases readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:49 +02:00
Stefano Sabatini
da51a7c69c
bktr: prefer "framerate" over "fps" for grab_read_header()
...
The variable is used for containing the parsed value of s1->framerate,
using a lexically consistent name ease readability/understanding.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:48 +02:00
Nicolas George
147bcf27c4
ALSA: implement channel layout for playback.
...
Currently quad, 5.0, 5.1 and 7.1 are implemented.
Implementing support for other formats/layouts and capture should be
straightforward.
5.0 and 7.1 support by Carl Eugen Hoyos.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:48 +02:00
Carl Eugen Hoyos
2359aeb52d
alsa: support unsigned variants of already supported signed formats.
2011-06-23 08:49:48 +02:00
Carl Eugen Hoyos
921715edff
alsa: add support for more formats.
...
Specifically, f32, f64, s32, s24, a-law and mu-law.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-23 08:49:48 +02:00
Sven C. Dack
2f2c60400a
x11grab: remove a memory allocation and the associated memcpy.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-12 12:18:05 +02:00
Reimar Döffinger
c673c90515
oss,sndio: simplify by using FFMIN.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-09 22:53:17 +02:00
Luca Barbato
2c6fb9f032
v4l2: do not force NTSC as standard
...
Setting a standard is meaningful only for analog capture devices.
2011-06-05 14:20:56 -05:00
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
2011-06-05 15:01:36 +02:00
Anton Khirnov
ff494cbdaf
x11grab: add framerate private option.
2011-06-04 19:49:56 +02:00
Anton Khirnov
a3b15e411d
fbdev,v4l2: remove some forgotten uses of AVFormatParameters.time_base.
2011-06-04 19:48:08 +02:00
Anton Khirnov
1572484f62
bktr: don't error when AVFormatParameters.time_base isn't set.
...
There's a private option for it now.
2011-06-04 19:47:59 +02:00
Stefano Sabatini
94bed8e582
Replace avcodec_get_pix_fmt_name() by av_get_pix_fmt_name().
...
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-06-03 13:55:55 +02:00
Anton Khirnov
bd7c1d35a6
bktr: get default framerate from video standard.
2011-06-03 08:11:05 +02:00
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
2011-06-03 00:44:06 +02:00
Diego Biurrun
2366462429
Replace #ifdef + av_log() combinations by av_dlog().
2011-06-03 00:44:03 +02:00
Anton Khirnov
fefa67d536
v4l2: remove one forgotten use of AVFormatParameters.pix_fmt.
2011-06-02 21:52:15 +02:00
Anton Khirnov
4078ed2631
vfwcap: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
c21324eeb6
v4l2: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
121ef2e26d
libdc1394: add a framerate private option.
2011-06-02 21:52:15 +02:00
Anton Khirnov
1556186a62
fbdev: add a framerate private option.
2011-06-02 21:52:12 +02:00
Anton Khirnov
3e3db4d93d
bktr: add a framerate private option.
2011-06-02 21:50:17 +02:00
Anton Khirnov
7a70e01b26
v4l2: don't leak video standard string on error.
2011-05-29 15:10:35 +02:00
Anton Khirnov
d576bbf3eb
v4l2: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2e0e1e712a
libdc1394: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
Anton Khirnov
724a900c45
x11grab: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3102fb0351
x11grab: factorize returning error codes.
2011-05-27 06:52:52 +02:00
Anton Khirnov
3e15ea2150
vfwcap: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
8fe7b6443f
v4l2: add video_size private option.
2011-05-27 06:52:51 +02:00
Anton Khirnov
82b5aa0add
v4l2: factorize returning error codes.
...
This will be useful in the following commit.
2011-05-27 06:52:51 +02:00