Justin Ruggles
d03f9f65c0
shorten: do not use block size to determine whether to read the header.
14 years ago
Justin Ruggles
882dafe9b6
shorten: check output buffer size before decoding
14 years ago
Justin Ruggles
bd7f7d6c78
shorten: use av_clip_int16() for output sample clipping
14 years ago
Justin Ruggles
069ada46c1
shorten: use bytestream functions to decode the embedded WAVE header
14 years ago
Justin Ruggles
c25762fcf1
shorten: add some comments
14 years ago
Justin Ruggles
15d146c958
shorten: merge decoding of FN_DIFF* subblocks into decode_subframe_lpc()
14 years ago
Justin Ruggles
034f42dfce
cosmetics: remove some needless commented-out stuff
14 years ago
Justin Ruggles
cfa317f67d
shorten: validate block size
14 years ago
Justin Ruggles
45d7d31fb9
shorten: move declaration of 'ret' to top of shorten_decode_frame()
14 years ago
Justin Ruggles
a8055992c0
shorten: pass on error value from allocate_buffers() instead of returning -1
14 years ago
Justin Ruggles
9e5e2c2d01
shorten: check for realloc failure
14 years ago
Justin Ruggles
fe31a637f1
shorten: move decoding of prediction order and applying of global offset to
...
decode_subframe_lpc().
14 years ago
Justin Ruggles
0f97c5014b
shorten: only calculate output size when returning decoded samples, otherwise
...
just set data_size to zero.
14 years ago
Justin Ruggles
e9e37f2d10
cosmetics: reindent
14 years ago
Justin Ruggles
9000b6db22
shorten: separate processing of audio commands from non-audio commands
14 years ago
Justin Ruggles
07745485ef
shorten: skip some fields in the WAV header embedded in the shorten header.
...
fixes incorrect bitrate reporting and potential misreporting of the number of
channels.
14 years ago
Justin Ruggles
a1f7885a8b
shorten: split reading of file header into a separate functions
14 years ago
Justin Ruggles
9ef6c7977f
avformat: do not require frame_size for Speex.
...
Having it there forces decoding of a frame in order to get frame_size, but it
is not really needed for proper demuxing or decoding.
14 years ago
Justin Ruggles
0e69c04773
ogg/speex: set correct timestamp and duration for the first packet.
...
The first timestamp should be negative due to delay.
Also, do not set AVCodecContext.frame_size unnecessarily.
14 years ago
Justin Ruggles
4ee247a2bd
flvenc: check packet duration in speex using timestamps
...
Using AVCodecContext.frame_size is not reliable.
14 years ago
Justin Ruggles
b606a01759
libspeexenc: add libspeex encoder
14 years ago
Justin Ruggles
52375ba567
flvenc: adjust for negative DTS for all codecs, not just H.264
14 years ago
Diego Biurrun
265980dabc
x86: Move some variable declarations below the appropriat #ifdef.
...
This avoids some unused variable warnings with YASM disabled.
14 years ago
Diego Biurrun
2cb7c81669
x86: Fix linking of ProRes DSP ASM with YASM disabled.
14 years ago
Diego Biurrun
463ea05ab2
avcodec.h: Move G.729/G.723 CODEC_IDs to the correct section.
...
This is done conditional to the libavcodec version to avoid ABI breaks.
14 years ago
Diego Biurrun
26af0953c0
Only test-compile w32pthreads.h if W32THREADS are available.
...
This fixes 'make checkheaders' on non-W32THREADS systems.
14 years ago
Janne Grunau
8096fdf0b6
presets: rename presets directory
14 years ago
Anton Khirnov
f0eeff708a
lavc: make avcodec_get_context_defaults3 "officially" public
...
Deprecate avcodec_get_context_defaults/avcodec_get_context_defaults2
14 years ago
Anton Khirnov
84ad31ff18
lavf: replace av_new_stream->avformat_new_stream part II.
...
Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed.
14 years ago
Anton Khirnov
3b3bbdd3e6
lavf,lavd: replace av_new_stream->avformat_new_stream part I.
...
Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/'
14 years ago
Anton Khirnov
569129a6dc
lavf: add avformat_new_stream as a replacement for av_new_stream.
...
It takes a codec parameter, thus enabling codec-specific defaults.
14 years ago
Mashiat Sarker Shakkhar
73447eb4bd
Use correct scaling table for bwd-pred MVs in second B-field
...
When scaling backward predicted MVs in second B-field, the scaling table is
opposite of that for P field pictures; i.e. first field P table will be used as
second field B table and second field P table will be used as first field B
table. This is not documented in the spec, but exists in the ref. decoder.
This fixes SA10139.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kostya Shishkov
0d8506b8c5
Ut Video decoder
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
df3ca34a56
Makefile: change presets extension to .avpreset
...
Fixes make install.
14 years ago
Stefano Sabatini
ec2ac9271c
lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs
...
The licence was changed from GPL to LGPL with explicit approval from
the original author.
See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi: add rgbtestsrc source,
ported from MPlayer libmpcodecs
Date: Mon, 11 Jul 2011 16:32:41 +0200
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
0244879f30
lavfi: add testsrc source
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
4e64c4d51a
AVOptions: add documentation.
14 years ago
Anton Khirnov
1279098d7b
presets: update libx264 ffpresets
...
Use the native libx264 options and rename all the preset to use
the avpreset extension.
14 years ago
Laurent Aimar
d97ca425ef
sunrast: Check for out of bounds reads
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Dustin Brody
6b1f93face
lavc: rename AV_ER_* options to AV_EF_* and rename AGGRESSIVE to BUFFER
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Dustin Brody
204e6132d2
lavc: replace API-bump-triggered AVCodecContext field change with shorter, non-conflicting name
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Anton Khirnov
075d6439f1
Add libvpx presets.
...
Based on a patch by James Zern jzern AT google DOT com
14 years ago
Anton Khirnov
a5f05e52e4
doc/avtools: add forgotten part to stream specifiers description
14 years ago
Ronald Bultje
d1d421cbc0
swscale: prevent overflow during initialization
...
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Martin Storsjö
6e6003a4d2
g722: Add a fate test for the encoder
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
73dbc89cbb
fate: Add a target for creating a 16000 Hz mono synthetic audio file
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Luca Barbato
ec5e521298
macosx: use the default surface on newer sdl
...
SDL 1.2.14 works fine with default colorspace on macosx and seems
to have some issues with 24bit surfaces and resize in addition.
14 years ago
Alexandra Khirnova
3ec344626c
avconv: add presets
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Martin Storsjö
51369f2891
rtsp: Expose the flag options via private AVOptions for sdp and rtp, too
...
This allows setting the filter_src option for these demuxers, too,
which wasn't possible at all before (where the option only was set
via URL parameters for RTSP).
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
3a6765fb5d
rtsp: Make the rtsp flags avoptions set via a define
...
This helps sharing these options with the sdp and rtp demuxers.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago