summaryrefslogtreecommitdiff
path: root/libavdevice
Commit message (Collapse)AuthorAge
* Add more Bayer colour spaces to the video4linux2 device wrapper.Carl Eugen Hoyos2014-02-23
|
* avdevice/v4l2: add V4L2_PIX_FMT_SRGGB8Peter Ross2014-02-23
|
* Add decklink_enc.h to SKIPHEADERS.Carl Eugen Hoyos2014-02-19
| | | | Fixes make checkheaders without decklink headers.
* lavd: add list devices APILukasz Marek2014-02-16
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc_shaders: fix gray* shaderLukasz Marek2014-02-16
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/avdevice: add param to create window buffer messageLukasz Marek2014-02-14
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/opengl_enc: implement uncoded frame callbackLukasz Marek2014-02-13
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: add gray8/16 formatsLukasz Marek2014-02-13
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavf/lavd: version bump and APIchanges for uncoded frames.Nicolas George2014-02-11
|
* lavd/xv: preliminary support of uncoded frame.Nicolas George2014-02-11
|
* lavd/alsa: preliminary support of uncoded frame.Nicolas George2014-02-11
|
* lavd: add decklink output deviceRamiro Polla2014-02-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: reset context variables after destroyLukasz Marek2014-02-08
| | | | | | | | | | | | | SDL device reports double free or hangs when quiting. Reseting variables solves the issue. The issue is caused by double call of write_trailer callback. It is called for the first time in write_packet when quit flag is set. Second call comes from ffmpeg.c or may come from other client application. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/sdl: make waiting spurious wakeup awareLukasz Marek2014-02-08
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/opengl_enc: fix parentheses in if conditionLukasz Marek2014-02-02
| | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/opengl_enc: remove inlinesLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: fix window captionLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: simplify opengl_load_procedures usageLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: factorize deinit_context functionLukasz Marek2014-02-02
| | | | | | | | This commit also fixes opengl deinitialization. Program and shaders where not deleted. Could impact MacOS implementation based on SDL window. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: factorize create/release window functionsLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: rename GL_RED_COMPONENT defineLukasz Marek2014-02-02
| | | | | | | Rename GL_RED_COMPONENT into FF_GL_RED_COMPONENT to explicity mark it is internal define, not OpenGL API. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc: create format description tableLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd/opengl_enc_shaders: make shaders code static and constLukasz Marek2014-02-02
| | | | Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* avdevice/v4l2: only use average frame rate if setMichael Niedermayer2014-02-02
| | | | | | It might be unset on some platforms with some drivers and some input Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avdevice/v4l2: only use frame period from v4l2 if validMichael Niedermayer2014-02-02
| | | | | | | There is evidence that some drivers do not set a valid value See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718805 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd: add opengl deviceLukasz Marek2014-01-27
| | | | | | It can render to OpenGL context provided by application or into SDL window Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add avdevice_dev_to_app_control_message APILukasz Marek2014-01-27
| | | | | | New API allows to send messages from devices to application. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* lavd: add avdevice_app_to_dev_control_message APILukasz Marek2014-01-27
| | | | | | New API allows to send messages from application to devices. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* pulse: get latency only when neededFederico Simoncelli2014-01-05
| | | | | Signed-off-by: Federico Simoncelli <fsimonce@redhat.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* pulse: set time_base as multiple of sample_rateFederico Simoncelli2014-01-05
| | | | | | | | | The stream time_base has been changed to be a multiple of the device sample_rate. Now the frame_duration computation is simpler and a message will warn about problematic frame_size values. Signed-off-by: Federico Simoncelli <fsimonce@redhat.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* v4l2: setting device parameters earlyFederico Simoncelli2014-01-05
| | | | | | | | | | | | Setting the v4l2 device parameters may influence video properties such as width, height and pixel format. This patch moves v4l2_set_parameters to be executed before fetching the video properties, avoiding errors such as (pal vs ntsc): The v4l2 frame is 829440 bytes, but 691200 bytes are expected Signed-off-by: Federico Simoncelli <fsimonce@redhat.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavd/xv: report if no adaptor present.Nicolas George2013-12-29
|
* Merge commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0'Michael Niedermayer2013-12-27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'b83d1ee3b41cfe8357836e2582104db2f3364cb0': avutil: Move library version related macros to version.h Conflicts: libavcodec/version.h libavresample/version.h libavutil/avutil.h libavutil/utils.c See: 183117fed7d0a910b5f65e5c78b065f125abf369 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | | | | | This is a more sensible place for these macros.
* | lavu,lavfi,lavd: do not hardcode AV_PIX_FMT_NB value when setting pixel ↵Stefano Sabatini2013-12-26
| | | | | | | | | | | | | | | | | | | | | | | | format max value The constant may change in libavutil but the library may be compiled against an older version, thus rejecting a value which is otherwise supported by the new libavutil. INT_MAX is used here to denote the max allowed value for a pixel format. The opt-test code is changed to provide a valid reference example.
* | Merge commit 'd64341e498fa46c6cf4c23d408177d7489559654'Michael Niedermayer2013-12-09
|\| | | | | | | | | | | | | | | | | | | | | * commit 'd64341e498fa46c6cf4c23d408177d7489559654': configure: Prefix libc-related variables with "libc_" Conflicts: libavdevice/Makefile libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: Prefix libc-related variables with "libc_"Diego Biurrun2013-12-09
| | | | | | | | Simplifies host/target libc detection splitting.
| * alsa-audio-dec: explicitly cast the delay to a signed int64Anton Khirnov2013-12-03
| | | | | | | | | | | | Otherwise the expression will be evaluated as unsigned, which will break when the result should be negative. CC:libav-stable@libav.org
| * timefilter: Handle memory allocation failureDerek Buitenhuis2013-10-29
| | | | | | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* | lavd/fbdev_enc: add default deviceLukasz Marek2013-12-06
| | | | | | | | | | | | Use device specified by environment variable FRAMEBUFFER or /dev/fb0 as default. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
* | Add Windows resource file support for shared librariesJames Almer2013-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Originally written by James Almer <jamrial@gmail.com> With the following contributions by Timothy Gu <timothygu99@gmail.com> * Use descriptions of libraries from the pkg-config file generation function * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser) * Use "FFmpeg" for ProductName as MSDN says "name of the product with which the file is distributed" [1]. * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1]. * Only build the .rc files when --enable-small is not enabled. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavd/pulse_audio_enc: add buffer size control optionsLukasz Marek2013-11-27
| | | | | | | | | | | | | | Add options to control the size of the PulseAudio buffer. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavd/sdl: add delay when no events are found in the event queueStefano Sabatini2013-11-26
| | | | | | | | | | | | Avoid busy loops and decrease CPU usage. Suggested-By: Roger Pack
* | lavd/sdl: apply misc cosmetics to optionsStefano Sabatini2013-11-26
| |
* | lavd/sdl: allow to change window sizeStefano Sabatini2013-11-26
| |
* | lavd/sdl: move compute_overlay_rect() before event_thread()Stefano Sabatini2013-11-26
| | | | | | | | It will be used in event_thread() in a pending patch.
* | lavd/sdl: factorize overlay rect size in a separate functionStefano Sabatini2013-11-26
| |
* | lavd/sdl: add event handler threadStefano Sabatini2013-11-26
| | | | | | | | | | | | | | SDL_Init() is called on the event handler thread, as required by SDL in Windows to avoid deadlocks as discovered by Roger Pack. Fix trac ticket #1743 and #1744.
* | lavd/sdl: do not manually free window_title and icon_title fieldsStefano Sabatini2013-11-24
| | | | | | | | They are automatically freed when calling av_write_trailer(). Simplify.
* | lavd/xv: free resources on errorsLukasz Marek2013-11-15
| | | | | | | | | | | | | | xv_write_header callback leave not freed resources on errors. Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>