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
Janusz Krzysztofik
4ef82b174a
Fix BGR cases missing from depth test in avcodec_get_pix_fmt_loss().
...
Patch by Janusz Krzysztofik:
<${name initial}${surname less the final "ofik"}@tis.icnet.pl>.
Originally committed as revision 22215 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Carl Eugen Hoyos
4443c0e9a9
Include internal.h and imgconvert.h, they contain the prototypes for the
...
following functions:
ff_is_hwaccel_pix_fmt(), ff_set_systematic_pal(), ff_fill_linesize(),
ff_fill_pointer(), ff_get_plane_bytewidth()
Originally committed as revision 22106 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
Carl Eugen Hoyos
f0bc8449b8
Use PIX_FMT_NONE for -1 when enum PixelFormat is expected (fixes two icc warnings).
...
Originally committed as revision 20860 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
78149213cc
Cosmetics: remove empty definitions of hw-accelerated PixFmtInfo
...
structs.
Originally committed as revision 20733 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
106c72faad
Use pixel formats names defined in av_pix_fmt_descriptors rather than
...
in those in pix_fmt_info, and remove the not anymore used
PixFmtInfo.name field.
Originally committed as revision 20636 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
f72d40b01a
Remove unused PixFmtInfo.is_hwaccel field.
...
Originally committed as revision 20635 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
797229a6a2
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
...
pix_fmt_info.
Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
14b903f389
Remove x_chroma_shift and y_chroma_shift fields from PixFmtInfo, use
...
av_pix_fmt_descriptors log2_chroma_w and log2_chroma_h values instead.
Originally committed as revision 20622 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
38264abb06
Use av_pix_fmt_descriptors in avcodec_get_chroma_sub_sample(), rather
...
than the PixFmtInfo x_chroma_shift and y_chroma_shift fields.
Originally committed as revision 20617 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
8e861e1b1e
Use av_pix_fmt_descriptors in ff_is_hwaccel_pix_fmt() rather than
...
access the PixFmtInfo.is_hwaccel field which is going to be removed.
Originally committed as revision 20616 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
f2526204a4
Fix nv12/nv21 handling. linesize for plane 1 should account for both chroma
...
planes instead of just doubling the height while computing plane sizes. Also
adjust avpicture_layout() to copy the correct amount of data for plane 1.
Originally committed as revision 20610 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Ramiro Polla
b16569d256
Indent
...
Originally committed as revision 20562 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefano Sabatini
bf72597ef4
Fix name for PIX_FMT_NV21 PixFmtInfo entry.
...
Originally committed as revision 20555 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Vitor Sessak
51ae2142d5
Fix palette copying in av_picture_copy(). Previous code worked only if
...
linesize[1] == 1, which does not make sense.
Originally committed as revision 20503 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
NVIDIA Corporation
70e0c871eb
Add VDPAU hardware accelerated decoding for MPEG-4 ASP which can be used
...
by video players.
Original patch by NVIDIA corporation.
Originally committed as revision 20502 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Reimar Döffinger
9881d05d80
100l in avpicture_layout: width of chroma planes depends on format depth, too.
...
Fixes issue 1465
Originally committed as revision 20202 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
65935bc729
simplify format string for writing pix_fmt string.
...
Originally committed as revision 20034 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
84e30ef992
Align pix_fmt list by allowing one more char for the pix_fmt name.
...
Originally committed as revision 20024 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
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