Luca Barbato
cbe5a60c9d
pixdesc: add PIX_FMT_ALPHA flag
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
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
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
Stefano Sabatini
1e896640c4
Implement a name field for AVPixFmtDescriptor.
...
Originally committed as revision 18035 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7867978374
Expand "lsb" to "least significant bits".
...
Originally committed as revision 17978 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d3f766124a
Fix typo: "i" -> "in".
...
Originally committed as revision 17812 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e0cffbe7ea
spelling/wording/grammar cosmetics
...
Originally committed as revision 17588 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
d3bcbf57a9
AVPixFmtDescriptor doxy
...
Originally committed as revision 17549 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9b61d838f6
Pixel Format descriptor, try #1 .
...
(yes its intentionally unused, this is intended as a basis for further
work, and to prevent repeation of the whole discussion dying and the
results being forgotten)
Originally committed as revision 17548 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago