Diego Biurrun
fd8e28b73e
Split AVCodec declarations for PAM/PBM/PGM/PGMYUV/PPM decoders and encoders
...
so that they can be enabled and disabled individually.
Originally committed as revision 18164 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
6e08ca9c51
Make the pixel formats which were defined as macros:
...
PIX_FMT_ARGB
PIX_FMT_RGBA
PIX_FMT_ABGR
PIX_FMT_BGRA
defined as enum PixelFormat values, and viceversa make:
PIX_FMT_RGB32
PIX_FMT_RGB32_1
PIX_FMT_BGR32
PIX_FMT_BGR32_1
defined as macros, also resort accordingly the enum PixelFormat
list.
Also make avcodec_get_pix_fmt() recognize the "rgb32" and "bgr32"
aliases, in order to make ffmpeg pass regressions test.
This change breaks ABI backward compatibility.
Originally committed as revision 18163 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e7e6b06802
flacdec: allow sample rate to change mid-stream, but log a warning
...
message when it does
Originally committed as revision 18162 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
6708cfc4d3
Add rule for building API example programs.
...
Originally committed as revision 18161 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
326e9eaa20
Factorize: use the X_NE() macro in avcodec_get_pix_fmt().
...
Originally committed as revision 18160 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
1448907465
flacdec: cosmetics: indentation
...
Originally committed as revision 18159 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
8199ea3b8c
Implement X_NE() macro.
...
Originally committed as revision 18158 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e2a38af96e
flacdec: change frame bps validation to return an error value if bps
...
changes since this is not currently supported by the decoder.
Originally committed as revision 18157 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f91eaf5deb
flacdec: cosmetics: add some braces to if/else statements
...
Originally committed as revision 18156 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
b6fa746e39
flacdec: skip frame when allocated data size is too small
...
Originally committed as revision 18155 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
492cc392fa
10l: don't check against current layout until after validating ch_mode.
...
should have been in last commit.
Originally committed as revision 18154 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
7660dc6f4f
flacdec: give a more accurate error message when validating channel
...
layout. differentiates between invalid values and unsupported values.
Originally committed as revision 18153 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d2863e72ab
Export to pixdesc.h the av_pix_fmt_descriptors array.
...
Originally committed as revision 18152 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
02b26d2d5c
flacdec: move data size check to flac_decode_frame()
...
Originally committed as revision 18151 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
4285c2923c
flacdec: comments and white space.
...
move skipping of frame header to decode_frame()
Originally committed as revision 18150 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d1d9945f1a
cosmetics: vertical alignment
...
Originally committed as revision 18149 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
5c3e0340d9
flacdec: remove unneeded local variable
...
Originally committed as revision 18148 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3b4d96fa68
flacdec: cosmetics: rename 3 variables
...
Originally committed as revision 18147 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
7e00bd8456
flacdec: use a local variable for GetBitContext in decode_frame()
...
Originally committed as revision 18146 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
bd51c0138a
handle id3v2 'genre' tag formated as '%d'
...
Originally committed as revision 18145 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
2121b160d5
Remove alpha channel from default colorspace tables, since it is unused. See
...
"qtpalette.h" thread on mailinglist.
Originally committed as revision 18144 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
3c3e0680b5
Use $< automatic variable to simplify some commands.
...
Originally committed as revision 18143 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
e6b09f4361
Add a @todo with a comment from Kostya so we don't forget to optimize that at
...
some point in the future.
Originally committed as revision 18142 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
c21fbefb9d
Add AURA 1 and 2 codec IDs and register their FOURCCs
...
Originally committed as revision 18141 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
5c5776e10d
allocate tracks instead of using MAX_STREAMS
...
Originally committed as revision 18140 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
44dff0058e
init ext sample rate to 0 if not present
...
Originally committed as revision 18139 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
08a5b4e9b5
since code now use get_bits_long, allocate padding buffer
...
Originally committed as revision 18138 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
5f01c1258f
avoid creating a new stream not referenced in pmt since it cannot be associated to a program, fix issue 835
...
Originally committed as revision 18137 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Gwenole Beauchesne
b38d7298bd
Add common VA API data structures and helpers.
...
Originally committed as revision 18136 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
ff8084cf1c
Enable unscaled packed422 -> planar 420 converters by default as the
...
imgconvert inherited quality issues should be fixed.
Originally committed as revision 29031 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
3d99e069e4
10l (C code was buggy and untested)
...
Originally committed as revision 29030 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Michael Niedermayer
870a4adbb7
Average chroma of 2 lines in packed 422 -> planar 420.
...
Originally committed as revision 29029 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
16 years ago
Gwenole Beauchesne
bb691a6da4
Add support for HW accelerated VC-1 decoding through the new
...
AVHWAccel infrastructure.
Originally committed as revision 18135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Baptiste Coudurier
a0dd3c0039
reset codec width/height for h264 forcing decoder to parse extradata
...
Originally committed as revision 18134 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f82674e584
Change the RGB5X5/BGR5X5 pixel format defines so that we have little
...
endian and big endian variants instead of native-endian ones.
This patch breaks API/ABI backward-compatibility.
Originally committed as revision 18133 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
31a79497b7
Use PIX_FMT_NE() macro.
...
Originally committed as revision 18132 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a1a05abebd
Implement PIX_FMT_NE() macro.
...
Originally committed as revision 18131 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
d89f692f0e
Extend the behavior of avcodec_get_pix_fmt(), if it cannot find a
...
pixel format for the provided name, make it look for the native endian
variant of the name.
Originally committed as revision 18130 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a61ec8e7ae
Globally prefer enum PixelFormat over int when it makes sense.
...
Originally committed as revision 18129 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
cc9aced32f
Remove slash-skipping code because the function called right after that
...
statement (get_word_sep()) already does that all by itself. See summary in
"[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18128 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
78f731de92
Reindent something where a if () --> { <-- is on a newline rather than on the
...
same line as the if. See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.
Originally committed as revision 18127 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
7d09a993d1
Free metadata if already allocated; fixes a memleak if the header occurs twice
...
in a stream (e.g. malicious input, broken file, etc.). See summary in "[PATCH]
rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18126 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
6a8c8b36b9
Fix silly bug in hex_to_data() where it compares a string pointer for whether
...
it is '\0' rather than its content (char *p; if (p == '\0') instead of if
(*p == '\0')). See summary in "[PATCH] rtsp.c small cleanups" thread on
mailinglist.
Originally committed as revision 18125 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
64917dd3df
Remove useless comment about something that is deprecated. See summary in
...
"[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18124 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
36aa7bc27f
Use skip_spaces() in the "redir" demuxer instead of "while (isspace(&p)) p++".
...
See summary in "[PATCH] rtsp.c small cleanups" thread on mailinglist.
Originally committed as revision 18123 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
1ef36a7035
Merge functional code from get_word() and get_word_sep() into a single
...
function, since they both do approximately the same thing. At the same time,
remove redir_isspace() altogether since code elsewhere (including
get_word_sep()) uses strchr() for the same purpose. See summary in "[PATCH]
rtsp.c small cleanups" thread.
Originally committed as revision 18122 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
7e726132c2
Allow (and parse) incoming server messages (notices) interleaved with TCP
...
data packets or in addition to UDP data packets, over the RTSP/TCP connection.
See discussion in [PATCH] rtsp.c: read TCP server notifications/messages"
thread on mailinglist.
Originally committed as revision 18121 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
9c610b7667
Add a @todo item to use ByteIOContext instead of URLContext at some point in
...
the future, requested by Luca in "[PATCH] rtsp.c: read TCP server
notifications/messages" thread.
Originally committed as revision 18120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
8b9794e542
Remove index writing in RM muxer, since it is broken (multiple streams per
...
single index chunk) and is always empty anyway. See "[PATCH] rmenc.c: remove
index writing" thread.
Originally committed as revision 18119 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
83c0ba3dad
Don't allow to sync on packets of zero-size length, since these are never
...
valid. See "[PATCH] rmdec.c: prevent zero-length packets" thread.
Originally committed as revision 18118 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago