Alexis Ballier
ffd38d8b64
Use RGB5x5LE, RGB5x5BE, BGR5x5LE and BGR5x5BE instead of their native
...
endian counterparts.
Patch by Alexis Ballier, alexis D ballier gmail
Originally committed as revision 19626 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
63613fe615
Replace WORDS_BIGENDIAN with HAVE_BIGENDIAN
...
Originally committed as revision 19508 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
4a30fff60d
Fix argument type mismatches for av_picture_crop and av_picture_fill
...
Originally committed as revision 19314 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6c2a860875
Add 420,422 and 444 planar 16bit per component pix formats.
...
Originally committed as revision 18636 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
16a5f4caa9
Remove a useless assignment in img_get_alpha_info() found by CSA.
...
Originally committed as revision 18582 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
f8112810cf
Remove redundant assignment in av_picture_copy() found by CSA.
...
Originally committed as revision 18581 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
87718654b1
Remove redundant assignment from avcodec_get_pix_fmt_loss() found by CSA.
...
Originally committed as revision 18564 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
bee3140a88
fix indentation
...
Originally committed as revision 18503 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
de481d7fed
avoid strcmp NULL, fix segv on mingw
...
Originally committed as revision 18502 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
326e9eaa20
Factorize: use the X_NE() macro in avcodec_get_pix_fmt().
...
Originally committed as revision 18160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8199ea3b8c
Implement X_NE() macro.
...
Originally committed as revision 18158 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
d89f692f0e
Extend the behavior of avcodec_get_pix_fmt(), if it cannot find a
...
pixel format for the provided name, make it look for the native endian
variant of the name.
Originally committed as revision 18130 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a61ec8e7ae
Globally prefer enum PixelFormat over int when it makes sense.
...
Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
899a8fa1cb
Fix avpicture_get_size for non-paletted formats with a helper palette
...
to not include the size of that palette.
Also clarify its documentation.
Originally committed as revision 18106 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
b435725b4c
Do not set linesize for palette data, it does not make sense and creates
...
problems with following patch to fix linesize alignment.
Originally committed as revision 18046 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6d4f53cbac
Remove old scaler.
...
Originally committed as revision 17786 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
0d8ee24c7b
Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.
...
Originally committed as revision 17766 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Cédric Schieli
5f59207d94
Fix avpicture_layout to not chroma shift the alpha plane when outputting YUVA420P
...
Originally committed as revision 17654 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
f06ce1ce89
Add VA API pixel formats.
...
Patch by Gwenole Beauchesne.
Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
c269cf68a0
Approved hunks for VAAPI / our new shiny hwaccel API
...
by Gwenole Beauchesne gbeauchesne splitted desktop com
Originally committed as revision 17539 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Daniel Verkamp
5ef251e504
Add missing av_cold in static init/close functions.
...
Patch by Daniel Verkamp daniel at drv dot nu.
Originally committed as revision 17526 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Peter Ross
88c21a6f14
Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.
...
Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Patrik Kullman
c7efffcb44
Add a default (error) for the switch in case of an unsupported PIX_FMT.
...
Removes warnings about possibly uninitialized variables.
Patch by Patrik Kullman %patrik A yes P nu%
Originally committed as revision 17130 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
6337178b4f
Ensure that the palette is set in data[1] for all 8bit formats.
...
Also document it.
Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 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
NVIDIA Corporation
c5b42f4a80
Add VDPAU hardware accelerated decoding for WMV3 and VC1 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16699 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
NVIDIA Corporation
d37edddc09
Add VDPAU hardware accelerated decoding for MPEG1 and MPEG2 which can
...
be used by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16628 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
369122dd77
Add VDPAU hardware accelerated decoding for H264 which can be used by
...
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
a6493a8fbd
Rename libavcodec/i386/ --> libavcodec/x86/.
...
It contains optimizations that are not specific to i386 and
libavutil uses this naming scheme already.
Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Anders Grönberg
31c3a4dc7e
Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.
...
Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
d08ea32c23
Get rid of mmx_t.
...
Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
bc48bb0822
Remove unused variable, patch by Art Clarke, aclarke vlideshow com.
...
Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Art Clarke
a9a8c830cf
Fix av_picture_copy missing pixels on packed planar AVPictures with odd size.
...
patch by Art Clarke, aclarke vlideshow com
Originally committed as revision 15744 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
782fc0c36f
Rename template included sources from .h to _template.c.
...
There are multiple source files that are #include'd rather than
compiled, as they are used as template for generation of similar code,
like asm-optimised code. Some of these files are right now named with
a .h extension, although they are not header in any reasonable sense.
Rename them so that instead of being named with .h extension they are
named with _template.c as final part.
Originally committed as revision 15730 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
9d21494776
avcodec_find_best_pix_fmt() needs a 64bit mask as there are more than 32 pix_fmts.
...
Originally committed as revision 15271 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
d578432db8
Remove stuff under #if LIBAVCODEC_VERSION_INT.
...
Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
42a45a03e7
Add graceful error handling to avcodec_get_pix_fmt_name() and avcodec_get_pix_fmt().
...
Originally committed as revision 14513 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Baptiste Coudurier
1be97a218e
memcpy considering output width, not src linesize, fix segv with av_picture_pad
...
Originally committed as revision 13594 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8e6f8869ab
Do not read from prior the array, fix CID 127.
...
Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
ccd425e799
Remove unnecessary parentheses from return calls.
...
Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
b0605329c9
Move functions that are only used when libswscale is not compiled in below
...
the appropriate #ifdef. This avoids a bunch of "defined but not used" warnings
when compiling with libswscale enabled.
Originally committed as revision 12463 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
13ca50f367
Rename --enable-swscaler --> enable-swscale to be consistent with the
...
directory name and other option names. Also rename variables accordingly.
Originally committed as revision 12408 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
6dd36490c7
This should not be part of the public API
...
Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
fba95d3c23
My commit in r11942 broke compilation.
...
This fixes it.
Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Vitor Sessak
cc9853d38f
Split avpicture_fill() in two functions. This will be
...
useful for libavfilter and to simplify
avcodec_default_get_buffer().
Originally committed as revision 11942 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5e53486545
typo fix: inited --> initialized
...
Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago