mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
706bd8ea19
* qatar/master: (35 commits) h264_idct_10bit: port x86 assembly to cpuflags. x86inc: clip num_args to 7 on x86-32. x86inc: sync to latest version from x264. fft: rename "z" to "zc" to prevent name collision. wv: return meaningful error codes. wv: return AVERROR_EOF on EOF, not EIO. mp3dec: forward errors for av_get_packet(). mp3dec: remove a pointless local variable. mp3dec: remove commented out cruft. lavfi: bump minor to mark stabilizing the ABI. FATE: add tests for yadif. FATE: add a test for delogo video filter. FATE: add a test for amix audio filter. audiogen: allow specifying random seed as a commandline parameter. vc1dec: Override invalid macroblock quantizer vc1: avoid reading beyond the last line in vc1_draw_sprites() vc1dec: check that coded slice positions and interlacing match. vc1dec: Do not ignore ff_vc1_parse_frame_header_adv return value configure: Move parts that should not be user-selectable to CONFIG_EXTRA lavf: remove commented out cruft in avformat_find_stream_info() ... Conflicts: Makefile configure libavcodec/vc1dec.c libavcodec/x86/h264_deblock.asm libavcodec/x86/h264_deblock_10bit.asm libavcodec/x86/h264dsp_mmx.c libavfilter/version.h libavformat/mp3dec.c libavformat/utils.c libavformat/wv.c libavutil/x86/x86inc.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
70 lines
2.1 KiB
C
70 lines
2.1 KiB
C
/*
|
|
* This file is part of FFmpeg.
|
|
*
|
|
* FFmpeg is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with FFmpeg; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
|
|
#ifndef AVDEVICE_AVDEVICE_H
|
|
#define AVDEVICE_AVDEVICE_H
|
|
|
|
#include "version.h"
|
|
|
|
/**
|
|
* @file
|
|
* @ingroup lavd
|
|
* Main libavdevice API header
|
|
*/
|
|
|
|
/**
|
|
* @defgroup lavd Special devices muxing/demuxing library
|
|
* @{
|
|
* Libavdevice is a complementary library to @ref libavf "libavformat". It
|
|
* provides various "special" platform-specific muxers and demuxers, e.g. for
|
|
* grabbing devices, audio capture and playback etc. As a consequence, the
|
|
* (de)muxers in libavdevice are of the AVFMT_NOFILE type (they use their own
|
|
* I/O functions). The filename passed to avformat_open_input() often does not
|
|
* refer to an actually existing file, but has some special device-specific
|
|
* meaning - e.g. for x11grab it is the display name.
|
|
*
|
|
* To use libavdevice, simply call avdevice_register_all() to register all
|
|
* compiled muxers and demuxers. They all use standard libavformat API.
|
|
* @}
|
|
*/
|
|
|
|
#include "libavformat/avformat.h"
|
|
|
|
/**
|
|
* Return the LIBAVDEVICE_VERSION_INT constant.
|
|
*/
|
|
unsigned avdevice_version(void);
|
|
|
|
/**
|
|
* Return the libavdevice build-time configuration.
|
|
*/
|
|
const char *avdevice_configuration(void);
|
|
|
|
/**
|
|
* Return the libavdevice license.
|
|
*/
|
|
const char *avdevice_license(void);
|
|
|
|
/**
|
|
* Initialize libavdevice and register all the input and output devices.
|
|
* @warning This function is not thread safe.
|
|
*/
|
|
void avdevice_register_all(void);
|
|
|
|
#endif /* AVDEVICE_AVDEVICE_H */
|