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
19 years ago
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
19 years ago
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
19 years ago
Michael Niedermayer
54009d4295
remove mpegvideo.c img resample dependancy
...
Originally committed as revision 5258 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Baptiste Coudurier
f2651e7a6c
Fix cropping, depending on enc pix fmt
...
Originally committed as revision 5134 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
bb270c0896
COSMETICS: tabs --> spaces, some prettyprinting
...
Originally committed as revision 4764 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
5b2ad9f520
segfault fix
...
Originally committed as revision 4430 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
0ecca7a49f
various security fixes and precautionary checks
...
Originally committed as revision 3822 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
20 years ago
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
21 years ago
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
21 years ago
Michael Niedermayer
2cbb7820c9
ffv1 rgb support
...
Originally committed as revision 2463 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
Falk Hüffner
4cfbf61bf1
Warning and compatibility fixes.
...
Originally committed as revision 1902 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
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
22 years ago
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
22 years ago
Fabrice Bellard
b5ff5e22e9
rgb555 alpha extraction fix
...
Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
0469baf14f
added img_get_alpha_info()
...
Originally committed as revision 1809 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
0a05e4940b
fixed PIX_FMT_YUV422 conversions
...
Originally committed as revision 1806 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
0a9ad8d13d
loss fixes (thanks to Daniel Serpell) - shrink22 fix
...
Originally committed as revision 1805 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
e352ff0895
added all missing UV conversions
...
Originally committed as revision 1803 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
7e7e594092
almost exhaustive image conversion support
...
Originally committed as revision 1802 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
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
22 years ago
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
22 years ago
Fabrice Bellard
6d93f19449
rgba32 convert
...
Originally committed as revision 1794 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
5064357588
fixing mem corruption
...
Originally committed as revision 1729 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
1ab3d6691e
typos & cosmetics
...
Originally committed as revision 1636 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
983e3246b7
per file doxy
...
Originally committed as revision 1634 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
185fdc549f
fixing 410 -> 420
...
Originally committed as revision 1591 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
5c91a6755b
* static,const,compiler warning cleanup
...
Originally committed as revision 1567 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
7e6d70d0b1
added paletted 8 bit format support
...
Originally committed as revision 1560 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
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
22 years ago
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
22 years ago
Michael Niedermayer
782c5984f1
100000l
...
Originally committed as revision 1524 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago
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
22 years ago