Commit Graph

1120 Commits

Author SHA1 Message Date
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
Mike Melanson
4e80eb21af looking better all the time! motion compensation is starting to work
Originally committed as revision 1841 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 12:28:36 +00:00
Mike Melanson
44ae98ddef fixed buffer allocation logic (hopefully) so that decoder does not crash
most ffmpeg-enabled apps; added a bunch on motion compensation stuff
which is effectively disabled at the moment while details are worked out

Originally committed as revision 1840 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-07 02:30:37 +00:00
Michael Niedermayer
e20c40697c release buffer cleanup
Originally committed as revision 1839 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 20:43:37 +00:00
Mike Melanson
61873c4a44 fix decoder so that ffmpeg does not crash, at least not right away
Originally committed as revision 1838 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-06 03:11:20 +00:00
Michael Niedermayer
814b648c75 Tiny patch for OpenBSD by (Björn Sandell <biorn at dce dot chalmers dot se>)
Originally committed as revision 1837 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 23:22:56 +00:00
Michael Niedermayer
eb14c71360 doxy
Originally committed as revision 1832 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 10:00:57 +00:00
Mike Melanson
d86053a416 first pass at a new VP3 video decoder
Originally committed as revision 1831 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-05 02:54:15 +00:00
Arpi
9616355144 looks better (req. for mp-G2)
Originally committed as revision 1830 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-03 19:26:52 +00:00
Roman Shaposhnik
ed543377a4 making it nicer to the client who doesn't expect errors messages in stdout
Originally committed as revision 1829 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-05-01 22:45:09 +00:00
Roman Shaposhnik
880e8ba730 * fixing NTSC frame rate for DV streams
* let ffmpeg preserve 'aspect_ratio' for recoding.
  Do we want to make it tweakable from the command line ?

Originally committed as revision 1827 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-29 01:51:38 +00:00
Michael Niedermayer
cfcff63685 10l
Originally committed as revision 1826 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 13:44:01 +00:00
Michael Niedermayer
067ff8b1ee tired
Originally committed as revision 1825 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:33:39 +00:00
Michael Niedermayer
bb463d8102 10l (returning negative number of consumed bytes if the first startcode of a frame was split between 2 buffers)
Originally committed as revision 1824 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-27 01:11:26 +00:00
Michael Niedermayer
7c9375f15a 10l
Originally committed as revision 1823 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 20:03:17 +00:00
Michael Niedermayer
a0c8317396 2pass stats fix (by ffdshow cvslog)
Originally committed as revision 1822 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 19:46:00 +00:00
Michael Niedermayer
93d4546633 typo in a comment ...
Originally committed as revision 1821 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 16:18:35 +00:00
Michael Niedermayer
d90cf87b90 fixing mixed dr1 + internal buffers
Originally committed as revision 1820 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:29:48 +00:00
Michael Niedermayer
5755c27f47 doc fixes (forgot to commit)
Originally committed as revision 1819 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-25 00:21:53 +00:00
Zdenek Kabelac
5d23497493 * more strict types
Originally committed as revision 1815 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-23 08:56:14 +00:00
Michael Niedermayer
80097bbf71 cleanup mpeg1/2 bitstream parser
Originally committed as revision 1813 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 13:55:12 +00:00
Zdenek Kabelac
5cd62665f0 * fixed initialization and some memleak
* filling more avcodecs variables
* extending/improving mov parsing (unfinished)

Originally committed as revision 1812 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-22 08:36:39 +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
59cf08ce90 fixed static init
Originally committed as revision 1799 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:16:52 +00:00
Fabrice Bellard
fab219971e new YUV formats for correct JPEG YUV support - added automatic pixel format conversion guessing (minimize loss and size)
Originally committed as revision 1798 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-20 16:15:43 +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
Mike Melanson
a44f8ccbf8 code redundancy reduction, courtesy of suxen_drol -at- hotmail.com
Originally committed as revision 1790 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-19 13:30:09 +00:00
Michael Niedermayer
68bf295e53 better? default thresholds, if this is worse for any files, then tell us ASAP
Originally committed as revision 1787 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 12:50:00 +00:00
Michael Niedermayer
0426af3111 mpeg2 qscale flag
a few bugfixes for the C pp code
minor optimization

Originally committed as revision 1786 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-18 12:45:34 +00:00
Michael Niedermayer
9534223539 segfault fix
Originally committed as revision 1784 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-17 19:53:36 +00:00
Arpi
521221cf4b Compile a52 util functions too
Originally committed as revision 1781 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 20:04:20 +00:00
Arpi
1a7c3c8562 Utility functions (CRC calc & float->int converters)
[imported from MPlayer, based on a52dec's libao]

Originally committed as revision 1780 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 20:03:07 +00:00
Michael Niedermayer
6814a25c67 meanigfull dr1 comment
Originally committed as revision 1779 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-16 19:57:57 +00:00
Roman Shaposhnik
6e023978cf Changes for SPARC/Solaris compatibility. Now it should be possible to
build and test ffmpeg on SPARC/Solaris 8+ out of the box.

Originally committed as revision 1778 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-15 22:29:37 +00:00
Mike Melanson
deabd4fdde native Indeo3 decoder implementation
Originally committed as revision 1777 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-15 10:12:38 +00:00
Michael Niedermayer
129dfab2c7 10l
Originally committed as revision 1774 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 20:02:12 +00:00
Michael Niedermayer
9acbbd16b9 check validity of some flags
Originally committed as revision 1773 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 14:06:21 +00:00
Michael Niedermayer
af6e2fed04 minor cleanup / some warning fixes
Originally committed as revision 1772 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 13:44:38 +00:00
Michael Niedermayer
7db52b63da 10l (hadamard fix)
Originally committed as revision 1771 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-14 09:58:16 +00:00
Michael Niedermayer
7d6e42792d 10l
Originally committed as revision 1770 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 22:53:26 +00:00
Michael Niedermayer
30f73fc72e faster 8x8 & 16x16 plane prediction by skal (massimin at planet-d dot net)
Originally committed as revision 1769 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 22:49:54 +00:00
Michael Niedermayer
487bce53eb 10l (use before malloc)
Originally committed as revision 1768 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-12 15:00:32 +00:00
Michael Niedermayer
37b787f124 some checks to avoid segfaults if the decoder is feeded with junk
Originally committed as revision 1757 to svn://svn.ffmpeg.org/ffmpeg/trunk
2003-04-11 22:53:03 +00:00