Statistics
| Branch: | Revision:

ffmpeg / libavcodec / imgconvert.c @ 0d8ee24c

History | View | Annotate | Download (80.2 KB)

# Date Author Comment
0d8ee24c 03/03/2009 01:43 PM Gwenole Beauchesne

Set PixFmtInfo::{x, y}_chroma_shift for VDPAU and VAAPI formats.

Originally committed as revision 17766 to svn://svn.ffmpeg.org/ffmpeg/trunk

5f59207d 02/28/2009 07:31 AM Cédric Schieli

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

f06ce1ce 02/27/2009 08:12 AM Gwenole Beauchesne

Add VA API pixel formats.
Patch by Gwenole Beauchesne.

Originally committed as revision 17634 to svn://svn.ffmpeg.org/ffmpeg/trunk

c269cf68 02/23/2009 01:35 PM Michael Niedermayer

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

5ef251e5 02/22/2009 01:48 PM Daniel Verkamp

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

88c21a6f 02/22/2009 12:55 AM Peter Ross

Add PIX_FMT_RGB48BE and PIX_FMT_RGB48LE.

Originally committed as revision 17510 to svn://svn.ffmpeg.org/ffmpeg/trunk

c7efffcb 02/10/2009 12:38 PM Patrik Kullman

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

6337178b 02/06/2009 12:59 PM Michael Niedermayer

Ensure that the palette is set in data1 for all 8bit formats.
Also document it.

Originally committed as revision 17018 to svn://svn.ffmpeg.org/ffmpeg/trunk

bad5537e 02/01/2009 02:00 AM Diego Biurrun

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

c5b42f4a 01/20/2009 09:28 AM NVIDIA Corporation

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

406792e7 01/19/2009 03:46 PM Diego Biurrun

cosmetics: Remove pointless period after copyright statement non-sentences.

Originally committed as revision 16684 to svn://svn.ffmpeg.org/ffmpeg/trunk

d37edddc 01/16/2009 02:14 AM NVIDIA Corporation

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

b250f9c6 01/13/2009 11:44 PM Aurelien Jacobs

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

369122dd 01/04/2009 11:55 PM NVIDIA Corporation

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

a6493a8f 12/22/2008 09:12 AM Diego Biurrun

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

31c3a4dc 12/14/2008 12:30 PM Anders Grönberg

Prevent shift overflow, patch by Anders Grönberg, galileo.m2 gmail com.

Originally committed as revision 16121 to svn://svn.ffmpeg.org/ffmpeg/trunk

d08ea32c 12/14/2008 12:46 AM Aurelien Jacobs

Get rid of mmx_t.

Originally committed as revision 16116 to svn://svn.ffmpeg.org/ffmpeg/trunk

bc48bb08 10/30/2008 09:13 AM Art Clarke

Remove unused variable, patch by Art Clarke, aclarke vlideshow com.

Originally committed as revision 15748 to svn://svn.ffmpeg.org/ffmpeg/trunk

a9a8c830 10/29/2008 11:07 PM Art Clarke

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

782fc0c3 10/27/2008 02:35 PM Diego Pettenò

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...

9d214947 09/08/2008 06:29 PM Michael Niedermayer

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

d578432d 09/08/2008 03:03 PM Michael Niedermayer

Remove stuff under #if LIBAVCODEC_VERSION_INT.

Originally committed as revision 15263 to svn://svn.ffmpeg.org/ffmpeg/trunk

42a45a03 08/03/2008 12:41 AM Peter Ross

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

1be97a21 06/01/2008 02:28 AM Baptiste Coudurier

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

8e6f8869 05/27/2008 07:44 PM Michael Niedermayer

Do not read from prior the array, fix CID 127.

Originally committed as revision 13471 to svn://svn.ffmpeg.org/ffmpeg/trunk

ccd425e7 05/06/2008 09:16 AM Diego Biurrun

Remove unnecessary parentheses from return calls.

Originally committed as revision 13069 to svn://svn.ffmpeg.org/ffmpeg/trunk

b0605329 03/16/2008 05:34 PM Diego Biurrun

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

13ca50f3 03/10/2008 05:54 PM Diego Biurrun

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

6dd36490 02/15/2008 08:19 PM Vitor Sessak

This should not be part of the public API

Originally committed as revision 11960 to svn://svn.ffmpeg.org/ffmpeg/trunk

fba95d3c 02/15/2008 07:47 PM Vitor Sessak

My commit in r11942 broke compilation.
This fixes it.

Originally committed as revision 11959 to svn://svn.ffmpeg.org/ffmpeg/trunk

cc9853d3 02/15/2008 06:01 PM Vitor Sessak

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

5e534865 02/13/2008 09:26 AM Diego Biurrun

typo fix: inited --> initialized

Originally committed as revision 11920 to svn://svn.ffmpeg.org/ffmpeg/trunk

22ed53e5 02/11/2008 09:49 PM Vitor Sessak

Factor bytewidth determination in its own function

Originally committed as revision 11907 to svn://svn.ffmpeg.org/ffmpeg/trunk

e151e272 01/31/2008 12:00 AM Baptiste Coudurier

cast to dest type, fix warning imgconvert.c:1958: warning: assignment from incompatible pointer type

Originally committed as revision 11675 to svn://svn.ffmpeg.org/ffmpeg/trunk

86404ffb 12/18/2007 01:49 PM Baptiste Coudurier

avoid infinite loop if pixel format conversion does not exist

Originally committed as revision 11259 to svn://svn.ffmpeg.org/ffmpeg/trunk

52b541ad 12/01/2007 10:21 PM Vitor Sessak

spelling

Originally committed as revision 11122 to svn://svn.ffmpeg.org/ffmpeg/trunk

2a7feb18 10/11/2007 10:31 PM Andrea Gualano

Enable avpicture_deinterlace() for PIX_FMT_GRAY8.
Patch by Andrea Gualano, gualano T imavis O com

Originally committed as revision 10712 to svn://svn.ffmpeg.org/ffmpeg/trunk

55ffe9df 09/29/2007 03:09 PM Ronald S. Bultje

Use emms_c() instead of ifdef

patch by: Ronald S. Bultje rsbultje a gmail d com

Originally committed as revision 10616 to svn://svn.ffmpeg.org/ffmpeg/trunk

b70335a2 09/24/2007 01:21 PM Aurelien Jacobs

add support for yuva420p colorspace (yuv420p + alpha)

Originally committed as revision 10565 to svn://svn.ffmpeg.org/ffmpeg/trunk

4196cfb7 07/18/2007 08:11 AM Andreas Öman

add YUV440P and YUVJ440P support
patch by Andreas Öman: \andreas olebyn nu/
original thread: [FFmpeg-devel] half vertical chroma resolution from JPEGs..
date: 07/03/2007 01:29 PM

Originally committed as revision 9732 to svn://svn.ffmpeg.org/ffmpeg/trunk

f1ea5c2a 07/17/2007 12:57 PM Diego Biurrun

typo fixes

Originally committed as revision 9719 to svn://svn.ffmpeg.org/ffmpeg/trunk

04d2e45f 07/17/2007 12:33 PM Ian Caulfield

create colorspace.h and use it where appropriate
patch by Ian Caulfield: /ian caulfield gmail com/

Originally committed as revision 9716 to svn://svn.ffmpeg.org/ffmpeg/trunk

c3b95b1d 05/30/2007 02:20 PM Stefano Sabatini

Add support for listing the supported pixel formats using the option
-pix_fmt list
patch by Stefano Sabatini stefano sabatini minus lala chez poste it
original thread: [FFmpeg-devel] [PATCH] List supported pixel formats
date: 05/25/2007 05:46 PM

Originally committed as revision 9162 to svn://svn.ffmpeg.org/ffmpeg/trunk

42610c49 05/28/2007 09:30 AM Diego Biurrun

Remove redundant fastmemcpy.h #include, it is indirectly #included by avutil.h.

Originally committed as revision 9145 to svn://svn.ffmpeg.org/ffmpeg/trunk

e5b51496 04/07/2007 07:24 PM Ivo van Poorten

Fix segmentation fault for gray16le to gray conversion.

Originally committed as revision 8648 to svn://svn.ffmpeg.org/ffmpeg/trunk

636d6a4a 03/04/2007 11:53 AM Panagiotis Issaris

Add the prefix "av_" to img_crop(), img_copy() and img_pad(), and rename "img"
to "picture" as suggested by Baptiste Coudurier.

Originally committed as revision 8220 to svn://svn.ffmpeg.org/ffmpeg/trunk

392cf77a 02/25/2007 07:53 AM Panagiotis Issaris

Move the unaltered documentation of the functions which are part of the public
API out of imgconvert.c into avcodec.h.

Originally committed as revision 8121 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb0f999b 02/20/2007 08:35 AM Guillaume Poirier

add doxygen docs for avpicture_fill()
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %

Originally committed as revision 8034 to svn://svn.ffmpeg.org/ffmpeg/trunk

dc02fc6a 02/12/2007 11:23 PM Diego Biurrun

consistency renaming: yuv422 --> yuyv422

Originally committed as revision 7959 to svn://svn.ffmpeg.org/ffmpeg/trunk

9ac529a5 02/12/2007 11:15 PM Diego Biurrun

consistency renaming: uyvy411 --> uyyvyy411

Originally committed as revision 7958 to svn://svn.ffmpeg.org/ffmpeg/trunk

3cf5b6be 02/12/2007 11:07 PM Diego Biurrun

consistency renaming: rgba32 --> rgb32

Originally committed as revision 7957 to svn://svn.ffmpeg.org/ffmpeg/trunk

71e445fc 02/07/2007 01:48 AM Diego Biurrun

Replace deprecated PIX_FMT names by the newer variants.

Originally committed as revision 7867 to svn://svn.ffmpeg.org/ffmpeg/trunk

79acfb0e 01/17/2007 11:02 AM Luca Barbato

Avoid branches in the loop and solve a gcc warning

Originally committed as revision 7566 to svn://svn.ffmpeg.org/ffmpeg/trunk

6845801f 01/17/2007 10:47 AM Luca Barbato

Cosmetics

Originally committed as revision 7564 to svn://svn.ffmpeg.org/ffmpeg/trunk

20d46c03 11/16/2006 08:46 PM Alex Beregszaszi

Remove alpha channel from RGB555

Originally committed as revision 7106 to svn://svn.ffmpeg.org/ffmpeg/trunk

08d23410 11/16/2006 08:43 PM Alex Beregszaszi

BGR555 has never been working as alpha supporting format. Remove the false setting.

Originally committed as revision 7105 to svn://svn.ffmpeg.org/ffmpeg/trunk

b3625676 11/14/2006 07:53 PM Alex Beregszaszi

changed rgba32_to routines to support both alpha and non-alpha formats (see r7066 too)

Originally committed as revision 7067 to svn://svn.ffmpeg.org/ffmpeg/trunk

55fde95e 11/12/2006 08:08 PM Måns Rullgård

rename cropTbl -> ff_cropTbl

Originally committed as revision 6992 to svn://svn.ffmpeg.org/ffmpeg/trunk

418f17e0 10/27/2006 10:08 PM Reynaldo H. Verdejo Pinochet

Fix obvious typo, BGR555 was missing

Originally committed as revision 6812 to svn://svn.ffmpeg.org/ffmpeg/trunk

34380af0 10/24/2006 04:57 AM Kostya Shishkov

16-bit grayscale support

Originally committed as revision 6778 to svn://svn.ffmpeg.org/ffmpeg/trunk

b78e7197 10/07/2006 03:30 PM Diego Biurrun

Change license headers to say 'FFmpeg' instead of 'this program/this library'
and fix GPL/LGPL version mismatches.

Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk

00b2fa86 08/28/2006 02:56 PM Luca Abeni

Minimal support for the new pixel formats in libavcodec

Originally committed as revision 6115 to svn://svn.ffmpeg.org/ffmpeg/trunk

f4bd289a 08/18/2006 01:38 PM Diego Biurrun

Explicitly include fastmemcpy.h from libvo/.

Originally committed as revision 6021 to svn://svn.ffmpeg.org/ffmpeg/trunk

790c9ca7 08/08/2006 06:51 PM Luca Abeni

Enable swscale usage in ffmpeg

Originally committed as revision 5959 to svn://svn.ffmpeg.org/ffmpeg/trunk

62a05b5b 07/06/2006 01:53 PM Stefan Huehner

Mark some read-only datastructures as const.
patch by Stefan Huehner, stefan & at & huehner & dot & org

Originally committed as revision 5639 to svn://svn.ffmpeg.org/ffmpeg/trunk

2d5545c3 04/19/2006 07:51 PM Reimar Döffinger

make "size" variable in avpicture_alloc signed, since avpicture_get_size
returns -1 on error which was not detected with previous code.

Originally committed as revision 5304 to svn://svn.ffmpeg.org/ffmpeg/trunk

5341c209 04/10/2006 07:45 AM Luca Abeni

Baptiste COUDURIER's padding patch (reworked by me a little bit).
Moves padding code to imgconvert.c, and enables padding colorspaces != YUV420P.

Originally committed as revision 5278 to svn://svn.ffmpeg.org/ffmpeg/trunk

54009d42 03/31/2006 08:43 PM Michael Niedermayer

remove mpegvideo.c img resample dependancy

Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk

f2651e7a 03/10/2006 01:55 PM Baptiste Coudurier

Fix cropping, depending on enc pix fmt

Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk

5509bffa 01/12/2006 10:43 PM Diego Biurrun

Update licensing information: The FSF changed postal address.

Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk

bb270c08 12/22/2005 01:10 AM Diego Biurrun

COSMETICS: tabs --> spaces, some prettyprinting

Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk

115329f1 12/17/2005 06:14 PM Diego Biurrun

COSMETICS: Remove all trailing whitespace.

Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk

5b2ad9f5 07/11/2005 12:43 AM Michael Niedermayer

segfault fix

Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk

0ecca7a4 01/12/2005 12:16 AM Michael Niedermayer

various security fixes and precautionary checks

Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk

bac65165 11/24/2004 10:54 PM Luca Abeni

YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>)

Originally committed as revision 3710 to svn://svn.ffmpeg.org/ffmpeg/trunk

d7e2f57f 10/27/2004 09:42 PM Michael Niedermayer

YUV420P to YUV422 conversion routine by (Danny Laarmans <dlaarmans at androme dot com>)

Originally committed as revision 3642 to svn://svn.ffmpeg.org/ffmpeg/trunk

ed2cea42 10/25/2004 01:16 AM Wolfram Gloger

fix -pixfmt mono[bw] patch by (Wolfram Gloger <wmglo at dent dot med dot uni-muenchen dot de>)

Originally committed as revision 3636 to svn://svn.ffmpeg.org/ffmpeg/trunk

f02be79d 10/22/2004 02:04 AM Roman Shaposhnik
  • Introducing IIDC1394 grabbing interface.
    Use it with -grab dc1394
    • Introducing yet another packed pix_fmt in order to support some of
      the IIDC1394 modes: uyvy411 (Cb Y0 Y1 Cr Y2 Y3).

Originally committed as revision 3621 to svn://svn.ffmpeg.org/ffmpeg/trunk

eab895aa 08/19/2004 10:55 AM Todd Kirby

enrtries for PIX_FMT_XVMC_MPEG2_MC and PIX_FMT_XVMC_MPEG2_IDCT patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)

Originally committed as revision 3402 to svn://svn.ffmpeg.org/ffmpeg/trunk

ebb177dd 07/25/2004 10:01 AM Todd Kirby

UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)

Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk

2cbb7820 11/01/2003 05:38 PM Michael Niedermayer

ffv1 rgb support

Originally committed as revision 2463 to svn://svn.ffmpeg.org/ffmpeg/trunk

75917b88 10/11/2003 08:18 AM Drew Hess

recommit of
promote avpicture_alloc to public interface patch by (Drew Hess <dhess at ilm dot com>)

Originally committed as revision 2351 to svn://svn.ffmpeg.org/ffmpeg/trunk

da64ecc3 09/29/2003 03:44 PM Drew Hess

avcodec const correctness patch by (Drew Hess <dhess at ilm dot com>)

Originally committed as revision 2318 to svn://svn.ffmpeg.org/ffmpeg/trunk

47017dd8 08/26/2003 10:05 PM Roman Shaposhnik
  • ffmpeg was silently rejecting to deinterlace NTSC DV. The problem
    is generic for any video with yuv411. Seems like a trivial fix,
    but we really have to clean up all of the pix_fmt business a bit more.

Originally committed as revision 2169 to svn://svn.ffmpeg.org/ffmpeg/trunk

d4f5d74a 07/09/2003 11:10 PM Garrick Meeker

flash video (flv) support patch by (Garrick Meeker <gmeeker at theoryllc dot com>)

Originally committed as revision 2024 to svn://svn.ffmpeg.org/ffmpeg/trunk

4cfbf61b 05/24/2003 06:48 PM Falk Hüffner

Warning and compatibility fixes.

Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk

affd55a1 05/12/2003 02:53 AM Roman Shaposhnik
  • fixing a bug in avpicture_layout (PAL8 wasn't handled properly) * adding regression tests for all pix_fmt conversions * making libavtest part of the default testsuite

Originally committed as revision 1855 to svn://svn.ffmpeg.org/ffmpeg/trunk

63167088 05/07/2003 07:01 PM Roman Shaposhnik
  • introducing new public interface in imgconvert.c
    + avcodec_get_pix_fmt
    converts textual representation of pixel format into
    the actual id. Complements avcodec_get_pix_fmt_name.
    + avpicture_layout
    serializes given picture into a flat array....
b5ff5e22 04/21/2003 10:37 PM Fabrice Bellard

rgb555 alpha extraction fix

Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk

0469baf1 04/21/2003 09:20 PM Fabrice Bellard

added img_get_alpha_info()

Originally committed as revision 1809 to svn://svn.ffmpeg.org/ffmpeg/trunk

0a05e494 04/21/2003 03:15 PM Fabrice Bellard

fixed PIX_FMT_YUV422 conversions

Originally committed as revision 1806 to svn://svn.ffmpeg.org/ffmpeg/trunk

0a9ad8d1 04/21/2003 03:01 PM Fabrice Bellard

loss fixes (thanks to Daniel Serpell) - shrink22 fix

Originally committed as revision 1805 to svn://svn.ffmpeg.org/ffmpeg/trunk

e352ff08 04/21/2003 02:38 PM Fabrice Bellard

added all missing UV conversions

Originally committed as revision 1803 to svn://svn.ffmpeg.org/ffmpeg/trunk

7e7e5940 04/21/2003 01:53 PM Fabrice Bellard

almost exhaustive image conversion support

Originally committed as revision 1802 to svn://svn.ffmpeg.org/ffmpeg/trunk

c50c0bc8 04/21/2003 12:12 PM Fabrice Bellard

accurate YUV to RGB and RGB to YUV conversions - added comments

Originally committed as revision 1801 to svn://svn.ffmpeg.org/ffmpeg/trunk

b6147995 04/20/2003 04:18 PM Fabrice Bellard

YUV formats/gray formats are correctly defined - added format loss information - preliminary JPEG YUV formats support

Originally committed as revision 1800 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d93f194 04/19/2003 04:21 PM Fabrice Bellard

rgba32 convert

Originally committed as revision 1794 to svn://svn.ffmpeg.org/ffmpeg/trunk

50643575 04/04/2003 01:36 PM Michael Niedermayer

fixing mem corruption

Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk

1ab3d669 03/06/2003 01:22 PM Michael Niedermayer

typos & cosmetics

Originally committed as revision 1636 to svn://svn.ffmpeg.org/ffmpeg/trunk

983e3246 03/06/2003 11:32 AM Michael Niedermayer

per file doxy

Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk