Stefano Sabatini
dead4580e2
lavfi/avcodec: apply cosmetics style fixes
12 years ago
Michael Niedermayer
91141f2a13
lavfi: add qp_table_size
...
This avoid recalculating it and in case w/h changed avoids crashes.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Michael Niedermayer
c9a0f9bf3c
libavfilter: pass QP table through the filter chain
...
Any volunteers to port the pp and spp filters from libmpcodec?
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Stefano Sabatini
316f6df9cc
lavfi/avcodec: rename picref->samplesref variable in avfilter_get_audio_buffer_ref_from_frame()
...
The new name is more meaningful in that context.
12 years ago
Nicolas George
5c5f75b92b
lavfi: add avfilter_get_buffer_ref_from_frame.
13 years ago
Stefano Sabatini
43583fb85c
lavfi/avcodec: deprecate avfilter_fill_frame_from_*_buffer_ref API
...
Deprecate functions:
avfilter_fill_frame_from_buffer_ref
avfilter_fill_frame_from_audio_buffer_ref
avfilter_fill_frame_from_video_buffer_ref
and schedule to drop them at the next API major bump.
The function avfilter_copy_buf_props() should be used instead.
13 years ago
Stefano Sabatini
db142a8395
lavfi/avcodec: make avfilter_fill_frame_from*() functions use avfilter_copy_buf_props()
...
The code in avfilter_copy_buf_props() is more generic, allow code
factorization.
13 years ago
Stefano Sabatini
8f8d8b9538
lavfi/avcodec: always use av_frame* accessors in avfilter_copy_buf_props()
...
Use av_frame_* accessors for the newly added fields in AVFrame (for which
we are supposed to use such accessors), and group the istructions
accordingly.
13 years ago
Stefano Sabatini
d5761fe47d
lavfi/avcodec: copy pos field from AVFilterBuffer to AVFrame pkt_pos
13 years ago
Stefano Sabatini
f0394f28c3
lavfi/avcodec: add consistency checks in avfilter_copy_buf_props()
...
The function will abort through an assert if the source is not defined,
or if the internal state of the source is inconsistent (e.g. type = AUDIO
&& !src->audio).
13 years ago
Stefano Sabatini
465a72b4b4
lavfi: move definition of avfilter_copy_buf_props() from buffer.c to avcodec.c
...
avcodec.c is where it is defined the lavc/lavfi interface code, so seems
a more adequate location (and doesn't force the inclusion of
libavcodec/avcodec.h where it is not required).
13 years ago
Stefano Sabatini
0da9bce5a3
lavfi: move avfilter_copy_frame_props() definition from buffer.c to avcodec.c
...
The new location is more suited, as it is where the lavfi/lavc glue is
defined.
13 years ago
Michael Niedermayer
59a78290b6
lavfi: use getter/setter functions for AVFrame.pkt_pos
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Robert Nagy
c2eae4bae7
lavfi: Fill linesize, sample_rate and channel_layout fields in avfilter_fill_frame_from_audio_buffer_ref.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
83995411f7
lavfi/avcodec.c: fix copyright
...
git blame:
45 Stefano Sabatini
23 Clément Bœsch
4 Michael Niedermayer
3 Robert Nagy
3 Nicolas George
2 Roger Pau Monné
Initial commit:
commit 566666caf3
Author: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Sun May 1 14:47:05 2011 +0200
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
47aae2bc2e
lavfi: switch to _alt functions
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
d8407bba0e
lavfi/avcodec: implement audio copy_frame_prop.
13 years ago
Nicolas George
32094285ad
lavfi: implement avfilter_get_audio_buffer_ref_from_frame.
13 years ago
Robert Nagy
a80217a5ee
copy pts and format props between lavfi buffer and frame.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8c2045c979
avfilter: set w/h in avfilter_fill_frame_from_video_buffer_ref().
...
This fixes issues with AVFrame w/h being wrong in some cases
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
a67d9cfa58
lavfi: add avfilter_fill_frame_from_{audio_,}buffer_ref().
13 years ago
Stefano Sabatini
3fe6bbd5dc
libavfilter: implement avfilter_fill_frame_from_video_buffer_ref()
14 years ago
Stefano Sabatini
9fdf77217b
lavfi: add avfilter_get_video_buffer_ref_from_frame to avcodec.h
...
Simplify passing AVFrame data to av_vsrc_buffer_add_video_buffer_ref().
14 years ago
Stefano Sabatini
566666caf3
lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()
...
avfilter_copy_frame_props() avoids code duplication and increases
robustness.
The added files libavfilter/avcodec.[ch] are used for containing
utilities useful for gluing togheter libavfilter and libavcodec.
14 years ago
Michael Niedermayer
24009f3601
Make find_pix_fmt() non static
...
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
6531b5c9f4
Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
...
The new name is shorter and consistent with the FFmpeg style.
Originally committed as revision 23206 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
406792e7b0
cosmetics: Remove pointless period after copyright statement non-sentences.
...
Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
95240bf3e3
Fix some icc warnings by using enum PixelFormat instead of int where appropriate.
...
Originally committed as revision 15611 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
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
Aurelien Jacobs
3a763f0f0b
split rawvideo encoder and decoder in their own files
...
Originally committed as revision 9560 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
Michel Bardiaux
76ebb18f16
Segregate code common to BMP decoder and future encoder
...
patch by Michel Bardiaux, mbardiaux mediaxim be
Originally committed as revision 7721 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
04d7f60143
Add official LGPL license headers to the files that were missing them.
...
Originally committed as revision 6219 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Baptiste Coudurier
86329cce04
GXF muxer
...
Originally committed as revision 5787 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago