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
Fabrice Bellard
524c6b6342
simplified code (need automatic testing) - added primitive new format support.
...
Originally committed as revision 1431 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
2bbf71777f
removing PIX_FMT_ANY
...
Originally committed as revision 1373 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Joel Yliluoma
a32072d0e9
16-bit and 15-bit rgb/bgr patch by (Joel Yliluoma <joel dot yliluoma at w-create dot com>) (note, rare formats disabled)
...
Originally committed as revision 1212 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fred
5981f4e693
1) Add MMX deinterlace code.
...
2) "Fix" first and last line deinterlace. I had second-thoughts that this might be some image filtering algorithm that someone cleverer than I created.
3) Add in-place deinterlace functions (only used when src == dst).
patch by (Fred <foohoo at shaw dot ca>)
Originally committed as revision 1113 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
789587d595
minimum support for YUV411P (new combined scaler/converter will handle that better...)
...
Originally committed as revision 1013 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Philip Gladstone
b71472eb62
Add conversions to and from RGBA32 and BGRA32.
...
Originally committed as revision 824 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
François Revol
6742d95d59
YUV410P to YUV420P patch by François Revol <revol at free dot fr>
...
Originally committed as revision 783 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
cd4af68ad5
* started to cleanup name clashes for onetime compilation
...
Originally committed as revision 617 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
6000abfa89
removed useless header includes - use av memory functions
...
Originally committed as revision 522 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Zdenek Kabelac
bc657ac31d
* using pixtype as enum - by Philip Gladstone
...
Originally committed as revision 389 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
1a56543279
win32 fixes
...
Originally committed as revision 84 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Fabrice Bellard
85c242d800
added 422P, 444P support - added deinterlace support - added xxx to RGB24 convertion
...
Originally committed as revision 69 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Arpi
2d6d0c1d66
- removed #include ../config.h, because it's included from common.h
...
which is included from avcodec.h which is included from those files...
Originally committed as revision 29 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Nick Kurshev
54329dd5a5
Adding fastmemcpy stuff to speedup mplayer project
...
Originally committed as revision 27 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago
Fabrice Bellard
de6d9b6404
Initial revision
...
Originally committed as revision 5 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago