Ronald S. Bultje
6b0768e202
Clean up swscale pixfmt macros using av_pix_fmt_descriptors[].
13 years ago
Ronald S. Bultje
bd97b2e1ce
pixfmt: add planar RGB formats.
13 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Sebastien Zwickert
d66ee6ac48
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Ronald S. Bultje
dc49bf1270
sws/pixfmt/pixdesc: add support for yuv420p9le/be.
13 years ago
Michael Niedermayer
cfabd35d5e
pixdesc: fix gbr24p
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Themaister
a3e11fa43c
Start adding pixel definitions for planar rgb.
13 years ago
Jean First
9569a3c9f4
Add new pix_fmt RGBA64
13 years ago
Oskar Arvidsson
e59d6b4d72
pix_fmt: Fix number of bits per component in yuv444p9be
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Ronald S. Bultje
103278f7b0
libavutil/swscale: YUV444P10/YUV444P9 support.
...
Also add missing glue code for recently added YUV422P10 formats
to swscale.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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
Baptiste Coudurier
5c511ad4ce
swscale: extend YUV422p support to 10bits depth
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Oskar Arvidsson
42239ced65
Add pixel formats for 9- and 10-bit yuv420p.
...
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
14 years ago
Baptiste Coudurier
299cbe2c9b
PIX_FMT_422P10 support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Baptiste Coudurier
e91946ed23
Rename y400a to gray8a.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Oskar Arvidsson
d4497f6dfb
Add pixel formats for 9- and 10-bit yuv420p.
...
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Peter Ross
73389754c9
pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
...
PIX_FMT_BGR48LE is used by PhantomCINE demuxer.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Peter Ross
e309fdc701
Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
4660143a2c
Apply minor simplification in av_read_image_line().
...
Originally committed as revision 25112 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
78b19cf029
pixdesc: indent
...
Originally committed as revision 25111 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
9525243f59
pixdesc: use 8-bit accesses when possible in av_read/write_image_line()
...
This fixes out of bounds accesses for big endian formats and should be
a little faster.
Originally committed as revision 25110 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
4b9ac6dedc
Cosmetics: use x ? y : z construct and merge intialization and
...
definition for the val variable in av_read_image_line(). Simplify.
Originally committed as revision 25109 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
47bfd50a4b
pixdesc: add missing includes
...
Originally committed as revision 24153 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
Andreas Öman
4744f896e5
Add PIX_FMT_Y400A, 8bit gray, 8bit alpha
...
Originally committed as revision 22881 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Janusz Krzysztofik
2b7cf1678e
Add initial support for 12-bit color mode.
...
Patch by Janusz Krzysztofik jkrzyszt tis icnet pl
Original thread:
Subject: [FFmpeg-devel] [PATCH v2] Add initial support for 12-bit color mode.
Date: Mon, 1 Mar 2010 02:05:07 +0100
Originally committed as revision 22220 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
ce7c717900
Declare the PIX_FMT_GRAY8 pixel format as a paletted format. This is
...
consistent with the allocation currently done for PIX_FMT_GRAY8
pictures.
No significant slow-downs have been measured.
See the thread:
Subject: [FFmpeg-devel] [PATCH] Is gray8 a paletted format?
Date: Sun, 15 Nov 2009 23:36:03 +0100
Originally committed as revision 22191 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
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
Laurent Aimar
92c6a099ba
H264 DXVA2 implementation
...
It allows VLD H264 decoding using DXVA2 (GPU assisted decoding API under
VISTA and Windows 7).
It is implemented by using AVHWAccel API. It has been tested successfully
for some time in VLC using an nvidia card on Windows 7.
To compile it, you need to have the system header dxva2api.h (either from
microsoft or using http://downloads.videolan.org/pub/videolan/testing/contrib/dxva2api.h )
The generated libavcodec.dll does not depend directly on any new lib as
the necessary objects are given by the application using FFmpeg.
Originally committed as revision 21353 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
382cb1154c
Make av_pix_fmt_descriptors use the same pixel format names as defined
...
in libavcodec/imgconvert.c.
Avoid to break compatility when making the functions dealing with
pixel format names in imgconvert.c use the names defined in pixdescs.
Originally committed as revision 20624 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
Carl Eugen Hoyos
dd6308addd
Add PIX_FMT_VDPAU_MPEG4 to pixdesc.c.
...
Originally committed as revision 20509 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
3fa70a3bc8
Add pixel format descriptors for the HW-accelerated formats.
...
This completes the list of all descriptors in av_pix_fmt_descriptors.
Originally committed as revision 20467 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
d71ad089ef
Add PIX_FMT_PAL flag to BGR8, BGR4_BYTE, RGB8, and RGB4_BYTE formats.
...
Originally committed as revision 20434 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
Lars Täuber
35f6c15405
Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().
...
Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>.
Originally committed as revision 19775 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
75801da580
Add pixdescs definitions for planar YUV pixfmts with 16 bits per
...
component.
Originally committed as revision 18690 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
10151b138a
Add missing pixel format descriptor definitions.
...
Originally committed as revision 18682 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
bcbd9a149e
Cosmetics: reorder the pixel format descriptors to make them match the
...
same order in pixfmt.h.
Originally committed as revision 18281 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f938cbf984
Change the order of the components for RGB565LE and RGB565BE,
...
to make them resemble the order in the name: BGR <-> RGB.
Originally committed as revision 18279 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
eb39fb512a
Add comments specifying the name of the components in the descriptors.
...
Originally committed as revision 18278 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
f82674e584
Change the RGB5X5/BGR5X5 pixel format defines so that we have little
...
endian and big endian variants instead of native-endian ones.
This patch breaks API/ABI backward-compatibility.
Originally committed as revision 18133 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