Nicolas George
e11110dee4
buffersink: add AV_BUFFERSINK_FLAG_NO_REQUEST.
13 years ago
Michael Niedermayer
a502939d64
buffersink: Implement a poll function.
...
With this the application can find out how many frames are available.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
4f7dfe12ea
lavfi: rename vsink_buffer.c to sink_buffer.c, and vsink_buffer.h to buffersink.h
...
This is done in order to clarify the non-video-specific nature of the
buffersink code, as the result of the video/audio API unification of
the previous commit, and for improving overall consistency.
13 years ago
Stefano Sabatini
c4415f6ec9
lavfi: unify asink_buffer and vsink_buffer API
...
The new API is more generic (no distinction between audio/video for
pulling frames), and avoids code duplication.
A backward compatibility layer is kept for avoiding tools ABI breaks
(only for the video binary interface, audio interface was never used
in the tools).
13 years ago
Stefano Sabatini
44f669e7bc
lavfi: add vsink_buffer, and use it in ff* tools
...
Also add the public interface libavfilter/vsink_buffer.h.
14 years ago
Stefano Sabatini
27bcf55f45
vsrc_buffer: add flags param to av_vsrc_buffer_add_video_buffer_ref
...
The new flags parameter allows to specify if the video ref to add
should overwrite the cache, if the flag is not set vsrc_buffer will
complain and abort; otherwise it will clean the already cached video
ref before to overwrite it, thus avoiding a leak.
14 years ago
Stefano Sabatini
ecf72542fa
vsrc_buffer: remove duplicated file description
14 years ago
Stefano Sabatini
75abcdb391
vsrc_buffer.h: add file doxy
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
153382e1b6
multiple inclusion guard cleanup
...
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
14 years ago
Stefano Sabatini
c78a85adf4
vsrc_buffer: document av_vsrc_buffer_add_video_buffer_ref()
14 years ago
Stefano Sabatini
50764e19a8
vsrc_buffer: make the source accept sws_param in init
...
Avoid the need of two distinct av_vsrc_add_video_buffer_ref*
functions. Simplify the interface.
14 years ago
Stefano Sabatini
6070b7e1c5
vsrc_buffer: remove dependency on AVFrame
...
Rename av_vsrc_buffer_add_frame to
av_vsrc_buffer_add_video_buffer_ref(), and change its inteface to make
it accept in input an AVFilterBufferRef rather than an AVFrame.
This way the interface can be used without requiring the
inclusion/installation of libavcodec headers.
14 years ago
Stefano Sabatini
64c06615d2
vsrc_buffer: simplify av_vsrc_buffer_add_frame*() interface
...
Now that pix_fmt, width, and height are directly embedded in the AVFrame,
there is no need to pass these values as separate arguments.
14 years ago
Stefano Sabatini
77e9dee8ae
lavc: add a sample_aspect_ratio field to AVFrame
...
The sample aspect ratio is a per-frame property, so it makes sense to
define it in AVFrame rather than in the codec/stream context.
Simplify application-level sample aspect ratio information extraction,
and allow further simplifications.
14 years ago
Stefano Sabatini
b52a65ccc8
vsrc_buffer.h: add file doxy
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Stefano Sabatini
e601ff19b4
vsrc_buffer.h: add multiple inclusion guards
...
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
14 years ago
Michael Niedermayer
7d948dc424
Support changing pixel formats on avfilter input.
...
Fix issue2217
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Stefano Sabatini
c61cdd0afb
Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
...
libavcodec to libavcore.
Remove another compile-time dependancy of libavfilter on libavcodec.
Originally committed as revision 25923 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Michael Niedermayer
701935968d
add #include so make checkheaders passes
...
Originally committed as revision 23637 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Michael Niedermayer
cf13f204cc
Add "Memory buffer source filter" from SOC.
...
This is needed by the current SOC-ffmpeg.c code.
Originally committed as revision 23039 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vladimir Voroshilov
730c1e4a06
Replace MAX_SUBFRAME_SIZE and ctx->subframe_size with SUBFRAME_SIZE,
...
since subframe length is the same in all G.729 modes.
Originally committed as revision 19187 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
6bf8b3ef03
Remove unnecessary header inclusion from g729.h
...
Originally committed as revision 14916 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
fe3a80d6fa
Move from g729.h all definitions which are used only in g729dec.c
...
Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
5209846850
G.729 decoder main code
...
(just skeleton, contains only parts, explicitly ok'ed by Michael)
Originally committed as revision 14800 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
e76e2bbc09
Mark the source buffer as "const"
...
Originally committed as revision 10877 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
efb775777f
add a comment to indicate which #endif belong to which #define
...
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
699b3f99d0
add multiple inclusion guards to headers
...
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
bd03c380ce
expose av_base64_decode and av_base64_encode
...
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
558b86a5d0
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
...
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roman Shaposhnik
48b1f80012
* adding integer/floating point AAN implementations for DCT 2-4-8
...
Originally committed as revision 2430 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
b4c3816cfa
optionally merge postscale into quantization table for the float aan dct
...
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
65e4c8c919
floating point AAN DCT
...
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
b0368839ac
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
...
bitexact cleanup
Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
bb28568364
* cut&paste fix
...
Originally committed as revision 1249 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
5940262772
* oops fixed bad initialization of ff vals.
...
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now
Originally committed as revision 1227 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
83f238cbf0
* compilation fix (ARM users please check)
...
Originally committed as revision 1225 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
50eb9cbc44
idct_permutation_type variable, so the permutation type can quickly be identified
...
Originally committed as revision 1071 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
676e200cff
trying to fix the non-x86 IDCTs (untested)
...
Originally committed as revision 1006 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
92651f67a0
arm specific code
...
Originally committed as revision 79 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago