Diego Biurrun
5ce04c14dd
Use correct Doxygen syntax
11 years ago
Thilo Borgmann
f18ccb529f
Fix wrong use of "an" in some comments.
11 years ago
Diego Biurrun
bf4b0ed1d5
Add missing deprecation attributes
11 years ago
Anton Khirnov
e6c4ac7b5f
pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_*
12 years ago
Kieran Kunhya
ede75ebc9b
Clarify output of av_get_bits_per_pixel
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
12 years ago
Janne Grunau
74652af821
pixdesc: add function to return pixel format with swapped endiannes
12 years ago
Michael Niedermayer
20e99a9c10
avutil/pixdesc: support for self-checking the descriptors
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Anton Khirnov
2c328a9079
pixdesc: add a function for counting planes in a pixel format.
12 years ago
Clément Bœsch
6abb554fd6
lavc,lavu: fix two doxy mixup between h/v chroma shift.
12 years ago
Michael Niedermayer
649d8bd8a5
pixdesc: add av_get_padded_bits_per_pixel()
...
This will be needed to allow removing the PixFmtInfo table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
cbe5a60c9d
pixdesc: add PIX_FMT_ALPHA flag
12 years ago
Michael Niedermayer
d4e74d5d6d
Remove deprecation of avcodec_get_chroma_sub_sample.
...
Add explanations what the difference between the 2 functions are and
when either should be used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Luca Barbato
c1a02e884a
pixdesc: add av_pix_fmt_get_chroma_sub_sample
...
Deprecate avcodec_get_chroma_sub_sample.
12 years ago
Anton Khirnov
d2fcb356ca
pixdesc: add functions for accessing pixel format descriptors.
...
Make av_pix_fmt_descriptors table static on next major bump.
Making the table public is dangerous, since the caller has no way to
know how large it actually is. It also prevents adding new fields to
AVPixFmtDescriptor without a major bump.
12 years ago
Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Michael Niedermayer
c496224374
pixdesc: fix project reference in comment
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Nicolas George
38c3b68e3a
pixdesc: put components always in the same order.
13 years ago
Anton Khirnov
38d5533228
pixdesc: mark pseudopaletted formats with a special flag.
...
This makes it possible to dintinguish them from PAL8.
Fixes an invalid write in avpicture_layout().
13 years ago
Ronald S. Bultje
6b0768e202
Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].
13 years ago
Stefano Sabatini
263f57c6d7
pixdesc: remove duplicated header inclusion
14 years ago
Stefano Sabatini
e71f26086a
lavu: add av_get_pix_fmt_name() convenience function
...
Also deprecate avcodec_get_pix_fmt_name() in its favor.
14 years ago
Stefano Sabatini
8f653e28f5
lavu: add av_get_pix_fmt_name() convenience function
...
Also deprecate avcodec_get_pix_fmt_name() in its favor.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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
bb4afa13dd
Deprecate avcodec_pix_fmt_string() in favor of
...
av_get_pix_fmt_string(), added to libavutil/pixdesc.h.
Originally committed as revision 25879 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
ee4355808c
Reindent after r24101.
...
Originally committed as revision 24126 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ce1cd1cba2
Rename read/write_line() to av_read/write_image_line().
...
The old names were not av_ prefixed, and they were causing linking
failure on many platforms. The new names are also more descriptive.
Patch by Stefano Sabatini.
Originally committed as revision 24101 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
9a58234fea
Fix misspelled parameter names in Doxygen documentation.
...
This fixes one Doxygen warning each.
Originally committed as revision 23970 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
49bd8e4b84
Fix grammar errors in documentation
...
Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f47a7cb777
Move read_line() and write_line() definition from pixdesc.h to
...
pixdesc.c, which are now not anymore marked as static inline.
Fix the inclusion of the private header intreadwrite.h in the public
header pixdesc.h.
Originally committed as revision 21854 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
351aff72a4
Fix grammar: write to DST THING -> write THING to DST.
...
Originally committed as revision 21576 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
80a07f6e47
Implement av_get_pix_fmt(), and deprecate avcodec_get_pix_fmt().
...
Originally committed as revision 21545 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
60fa95683d
Clarify PIX_FMT_BE flag doxy. Increase consistency / pickiness.
...
Originally committed as revision 20592 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
357561e73f
Clarify relations between log2_chroma_w, log2_chroma_h and comp.
...
Originally committed as revision 20550 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
b8873c2a8f
Rename AVPixFmtDescriptor.nb_channels to nb_components, the new name
...
is more clear and lexically more consistent with API and
documentation.
Originally committed as revision 20545 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
51135d1d8e
Move pixdesc.{h,c} from libavcodec to libavutil.
...
This way pixdescs can be used without requiring a dependency on
libavcodec.
Originally committed as revision 20389 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
6b27353cfd
Add a PIX_FMT_HWACCEL flag to the AVPixFmtDescriptor.flags.
...
It is used to mark the pixel format used for hardware acceleration
support.
Originally committed as revision 20374 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
bf7e799c9e
Remove '\p', '\c' and '\e' doxygen markup from doxy, as it should
...
improve plain text doxy readability.
See the thread: "[RFC] Should we use doxygen markup?".
Originally committed as revision 19122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5efccce2a9
Implement av_get_bits_per_pixel().
...
Originally committed as revision 18709 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
297b5a3f99
Make read_line() do not depend on put_bits.h and speed up it.
...
Originally committed as revision 18653 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
5499a31322
Add missing header inclusion guard.
...
Originally committed as revision 18647 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9401d18fa5
Implement a write_line() function.
...
Originally committed as revision 18646 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
084c7cc54a
Do not use full include path for get_bits.h, since the header is in
...
the same directory.
Consistent with r16260.
Originally committed as revision 18496 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
0a47f60aa8
Extend read_line() to make it take a read_pal_component parameter.
...
Originally committed as revision 18303 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
59b053508f
Reindent after the last patch.
...
Originally committed as revision 18292 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
c95dd8d382
Add/fix support for bitstream formats reading in read_line().
...
Originally committed as revision 18291 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
21010f6b2a
Make the step and offset fields of the component descriptor express a
...
number of bits for bitstreams formats.
Originally committed as revision 18290 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9b34899ecf
Document read_line().
...
Originally committed as revision 18286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
30266c9286
Make read_line() take as parameter a const AVPixFmtDescriptor * rather than a
...
(non const) AVPixFmtDescriptor *.
Originally committed as revision 18275 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d2863e72ab
Export to pixdesc.h the av_pix_fmt_descriptors array.
...
Originally committed as revision 18152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago