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
b606a01759
libspeexenc: add libspeex encoder
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
Michael Niedermayer
8daf04add4
aacdec: support chan config =1 stereo files
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
1373923ddf
v210dec: remove debuging #include
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Matthew Einhorn
e662b263d9
Fixes avpicture_layout to not write past buffer end.
avpicture_get_size() returns the size of buffer required for avpicture_layout.
For pseudo-paletted formats (gray8...) this size does not include the palette.
However, avpicture_layout doesn't know this and still writes the palette. Consequently,
avpicture_layout writes passed the length of the buffer. This fixes it
by fixing avpicture_layout so that it doesn't write the palette for these formats.
Signed-off-by: Matthew Einhorn <moiein2000@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
057161d39b
mpeg12: remove '[' and ']' around last timecode field to match std representation.
14 years ago
Kieran Kunhya
44d27736fc
Add V210 SIMD
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Kieran Kunhya
b1766c170c
Move x264asm to libavutil.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
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
Michael Niedermayer
f0ff822ccb
mpeg12dec: Support invalid field motion types,
Fixes Ticket539
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
d6c21c7a64
mpeg12dec: assert no field frame mess
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Michael Niedermayer
284aa07932
flv: Initialize initial frame to 16
Fixes Ticket563
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
73fb23dc5a
mpeg12_parser: make mpegvideo_split() more robust
I just found this issue while debuging, i dont have a testcase.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
4e3303cf31
mpeg12dec: dont consider parsing extradata as having achived sync.
Fixes Ticket67
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Derek Buitenhuis
1de357d6da
libutvideo: Add Ut Video Decoder Wrapper
Add a wrapper for libutvideo's decoder.
This supports decoding the following FOURCCs:
ULY0 - 4:2:0 YCbCr
ULY2 - 4:2:2 YCbCr
ULRG - RGB
ULRA - RGBA
Also, bump version.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7613d3b8fe
mpeg4parser: fix initial qp precission
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
efb1ce28b2
mpeg12: use drop_frame_flag to fix timecode debug format.
14 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
14 years ago
Michael Niedermayer
74dbb5388e
av_tempfile: Pass int log_offset, void *log_ctx
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Steven Walters
27237d524e
w32threads: support for frame multithreading
Replace our incomplete w32threads implementation with x264's pthreads
w32threads wrapper.
Relicensed to LGPL with kind permission by Pegasys Inc.
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Mans Rullgard
b44522981c
avcodec: remove stray @deprecated comment
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
885158c887
Move av_tempfile() into libavutil, it is a generically usefull thing and its small.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
3e01c9b547
dvbsubdec: cosmetic change on how xpos is passed around
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
7d2e4673b1
dvbsubdec: Fix 0xf0 end detection
Based on a change by JULIAN GARDNER
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
294ea2cfc6
dvbsub: add comments
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
8a6799d205
dvbsub: add dvb_encode_rle8()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
7fa1f02ce2
dvbsub: Move setting of *dvb_encode_rle() up
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
d5f4857a73
dvbsubdec:dvbsub_display_end_segment() move main loop under if() as its useless if false.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Mans Rullgard
91038cdbd1
prores: get correct size for coded V plane if alpha is present
The size check must be updated to take into account both manners
in which v_data_size might be set.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
cd14e297e6
prores: do not set pixel format on codec init
The pixel format is not known until the frame header is parsed.
Guessing it here only causes trouble for the caller if the guess
turns out to be wrong (and actually causes very wrong output by
avconv/avplay).
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Michael Niedermayer
2ed7e353bd
h264: Workaround invalid flag combinations of 8x8 inference.
Fixes Ticket555
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Ronald S. Bultje
7b6883898f
pthread: prevent updating AVCodecContext from itself in frame_thread_free
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Ronald S. Bultje
feadcd1bdc
pthread: copy coded frame dimensions in update_context_from_thread
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Ronald S. Bultje
0f0b5d6434
vp8: prevent read from uninitialized memory in decode_mvs
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago
Ronald S. Bultje
5653579381
vp8: force reallocation in update_thread_context after frame size change
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
14 years ago