Stefan Huehner
62a05b5b00
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
2006-07-06 13:53:07 +00:00
Reimar Döffinger
2d5545c302
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
2006-04-19 19:51:56 +00:00
Luca Abeni
5341c20954
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
2006-04-10 07:45:29 +00:00
Michael Niedermayer
54009d4295
remove mpegvideo.c img resample dependancy
...
Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-31 20:43:37 +00:00
Baptiste Coudurier
f2651e7a6c
Fix cropping, depending on enc pix fmt
...
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-03-10 13:55:48 +00:00
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2006-01-12 22:43:26 +00:00
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-22 01:10:11 +00:00
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-12-17 18:14:38 +00:00
Michael Niedermayer
5b2ad9f520
segfault fix
...
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-07-11 00:43:21 +00:00
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2005-01-12 00:16:25 +00:00
Luca Abeni
bac6516545
YUV420P to UYVY422 conversion patch by (Luca Abeni <lucabe72 >< email >< it>)
...
Originally committed as revision 3710 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-11-24 22:54:16 +00:00
Michael Niedermayer
d7e2f57f0e
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
2004-10-27 21:42:26 +00:00
Wolfram Gloger
ed2cea4290
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
2004-10-25 01:16:13 +00:00
Roman Shaposhnik
f02be79d61
* 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
2004-10-22 02:04:30 +00:00
Todd Kirby
eab895aae0
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
2004-08-19 10:55:48 +00:00
Todd Kirby
ebb177ddef
UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
...
Originally committed as revision 3339 to svn://svn.ffmpeg.org/ffmpeg/trunk
2004-07-25 10:01:36 +00:00
Michael Niedermayer
2cbb7820c9
ffv1 rgb support
...
Originally committed as revision 2463 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-11-01 17:38:25 +00:00
Drew Hess
75917b887b
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
2003-10-11 08:18:05 +00:00
Drew Hess
da64ecc3e7
avcodec const correctness patch by (Drew Hess <dhess at ilm dot com>)
...
Originally committed as revision 2318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-09-29 15:44:59 +00:00
Roman Shaposhnik
47017dd870
* 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
2003-08-26 22:05:12 +00:00
Garrick Meeker
d4f5d74a54
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
2003-07-09 23:10:59 +00:00
Falk Hüffner
4cfbf61bf1
Warning and compatibility fixes.
...
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-24 18:48:30 +00:00
Roman Shaposhnik
affd55a132
* 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
2003-05-12 02:53:43 +00:00
Roman Shaposhnik
631670888d
* 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.
Complements avpicture_fill.
* adding a new option -pix_fmt to the ffmpeg, in order to control
pixel format for the codecs that do support it, like rawvideo,
for example.
* reducing complexity of the rawvideo codec by splitting it in two
and making it more reliable via hooking up to the avpicture_layout.
Plus adding new FourCC as described here: http://www.fourcc.org
* A tiny fix for avienc.c that makes avih and video strf consistent
regarding codec FourCC.
Originally committed as revision 1842 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 19:01:45 +00:00
Fabrice Bellard
b5ff5e22e9
rgb555 alpha extraction fix
...
Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 22:37:39 +00:00
Fabrice Bellard
0469baf14f
added img_get_alpha_info()
...
Originally committed as revision 1809 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 21:20:46 +00:00
Fabrice Bellard
0a05e4940b
fixed PIX_FMT_YUV422 conversions
...
Originally committed as revision 1806 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 15:15:59 +00:00
Fabrice Bellard
0a9ad8d13d
loss fixes (thanks to Daniel Serpell) - shrink22 fix
...
Originally committed as revision 1805 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 15:01:37 +00:00
Fabrice Bellard
e352ff0895
added all missing UV conversions
...
Originally committed as revision 1803 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 14:38:52 +00:00
Fabrice Bellard
7e7e594092
almost exhaustive image conversion support
...
Originally committed as revision 1802 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 13:53:46 +00:00
Fabrice Bellard
c50c0bc88b
accurate YUV to RGB and RGB to YUV conversions - added comments
...
Originally committed as revision 1801 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-21 12:12:58 +00:00
Fabrice Bellard
b6147995ac
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
2003-04-20 16:18:44 +00:00
Fabrice Bellard
6d93f19449
rgba32 convert
...
Originally committed as revision 1794 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 16:21:25 +00:00
Michael Niedermayer
5064357588
fixing mem corruption
...
Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-04 13:36:07 +00:00
Michael Niedermayer
1ab3d6691e
typos & cosmetics
...
Originally committed as revision 1636 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 13:22:51 +00:00
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-03-06 11:32:04 +00:00
Michael Niedermayer
185fdc549f
fixing 410 -> 420
...
Originally committed as revision 1591 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-18 17:35:49 +00:00
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-11 16:35:48 +00:00
Zdenek Kabelac
5c91a6755b
* static,const,compiler warning cleanup
...
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-10 09:35:32 +00:00
Fabrice Bellard
7e6d70d0b1
added paletted 8 bit format support
...
Originally committed as revision 1560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-09 16:20:25 +00:00
Philip Gladstone
16e83cbbc4
Fix a bug in the conversion of rgba32->yuv420p. This resulted in garbage images
...
when this conversion was used. I suspect that the same bug may be lurking in
other conversions. [The assumption was that the linesize was equal to the width
for both the source and destination images. This turns out not to be true
in some cases.]
Originally committed as revision 1556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-08 15:34:25 +00:00
Fabrice Bellard
4c7e861929
handle odd image sizes when using subsampled chroma (useful for JPEG images)
...
Originally committed as revision 1536 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-02-02 19:53:01 +00:00
Michael Niedermayer
782c5984f1
100000l
...
Originally committed as revision 1524 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-29 22:44:34 +00:00
Fabrice Bellard
8e1e6f31c1
use av_malloc() functions - added av_strdup and av_realloc()
...
Originally committed as revision 1505 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 23:03:09 +00:00
Michael Niedermayer
e78df69997
reversing my own stupidity ... (raw packed yuv422 files dont use YUY2 but UYVY)
...
Originally committed as revision 1494 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-23 01:20:47 +00:00
Max Krasnyansky
566986ee19
img_convert() (YUV to YUV) patch by (Max Krasnyansky <maxk at qualcomm dot com>)
...
Originally committed as revision 1484 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:41:48 +00:00
Fabrice Bellard
69572401ad
added gray<->RGB functions - fixed rgb<->yuv functions for non RGB24 case
...
Originally committed as revision 1483 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 22:26:19 +00:00
Michael Niedermayer
d0162d09d0
fixing yuv422 -> yuv420p (i need that for the vceq videos ...)
...
Originally committed as revision 1481 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-20 20:33:08 +00:00
Måns Rullgård
ef9f730675
C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net (Måns Rullgård))
...
Originally committed as revision 1474 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-19 18:30:29 +00:00
Fabrice Bellard
2a877875fa
added missing formats in all functions - added monoblack, monowhite and gray8 support for most conversions
...
Originally committed as revision 1435 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-01-11 04:54:38 +00:00