Andrew D'Addesio
6cda74c155
alac: simplify channel interleaving
...
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Justin Ruggles
5138ff143f
alac: use AVPacket fields directly in alac_decode_frame()
13 years ago
Justin Ruggles
7a206eb32f
alac: fix check for valid max_samples_per_frame
13 years ago
Justin Ruggles
1193d3fedd
alac: use get_sbits() to read LPC coefficients instead of casting
13 years ago
Justin Ruggles
7a50ec6799
alac: move the current samples per frame to the ALACContext
...
This will simplify the multi-channel implementation.
13 years ago
Justin Ruggles
46043962ea
alac: avoid using a double-negative when checking if the frame is compressed
13 years ago
Justin Ruggles
9a6c528e08
alac: factor out output_size check in predictor_decompress_fir_adapt()
13 years ago
Justin Ruggles
ebd4c3add1
alac: factor out loading of next decoded sample in LPC prediction
13 years ago
Justin Ruggles
a4ecd41442
alac: use index into buffer_out instead of incrementing the pointer
13 years ago
Justin Ruggles
f2515cd629
alac: simplify lpc coefficient adaptation
13 years ago
Justin Ruggles
abc4376b31
alac: reduce the number of local variables needed in lpc prediction
13 years ago
Justin Ruggles
01880d287b
alac: simplify 1st order prediction and reading of warm-up samples
13 years ago
Justin Ruggles
d0c0bf0d3e
alac: cosmetics: reindent after last commit
13 years ago
Justin Ruggles
79def4c523
alac: remove unneeded conditionals in predictor_decompress_fir_adapt()
13 years ago
Justin Ruggles
4bcd637dcb
alac: use sizeof() instead of hardcoded data sizes
13 years ago
Justin Ruggles
91620a04f1
alac: make block_size signed
...
It does not need to be unsigned.
13 years ago
Justin Ruggles
2fc24b3273
alac: remove a duplicate local variable
13 years ago
Justin Ruggles
5177413d20
alac: conditionally set sign_modifier to 1
...
It is already unconditionally set to 0 prior to this, so we can modify it
only when needed.
13 years ago
Justin Ruggles
7e6593e977
alac: eliminate 2 unneeded local variables in bastardized_rice_decompress()
...
x_modified is just unnecessary, and final_val can be removed by simplifying
the unsigned-to-signed conversion.
13 years ago
Justin Ruggles
6fd8a28b59
alac: adjust conditions for updating entropy decoder history
...
avoids some unnecessary arithmetic in certain situations
13 years ago
Justin Ruggles
a06fdadd97
alac: cosmetics: reindent after last commit
13 years ago
Justin Ruggles
d9837434a9
alac: limit the rice param before passing to decode_scalar()
...
reduces the number of parameters to decode_scalar() and slightly simplifies
the code
13 years ago
Justin Ruggles
6e91f62256
alac: reduce the number of parameters to bastardized_rice_decompress()
...
Use the ALACContext fields directly instead.
13 years ago
Justin Ruggles
836e8b9ba0
alac: cosmetics: rename some ALACContext parameters
13 years ago
Justin Ruggles
2ac1737583
alac: clean up and update comments leftover from reverse-engineering
13 years ago
Justin Ruggles
3bab7cd128
avformat: move 'chan' tag parsing to mov_chan.c to share with the CAF demuxer
13 years ago
Justin Ruggles
c0196a14b9
caf: use int64_t for num_packets
...
It is used to store a value read by avio_rb64().
13 years ago
Justin Ruggles
f5a9c35f88
caf: fix 'pakt' chunk parsing
...
according to the CAF specification:
"... the value for mChunkSize can be greater than the actual valid content
of the packet table chunk"
13 years ago
Justin Ruggles
b0b77b9ca5
caf: support either old or new style ALAC magic kuki chunk
13 years ago
Clément Bœsch
55ed91c856
threads: fix a potential race spotted by helgrind.
13 years ago
Clément Bœsch
652887d6fd
fate/subtitles: sort tests alphabetically.
13 years ago
Michael Niedermayer
daa290580d
mxfdec: simplify code by using av_calloc()
...
Reviewed a long time ago by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
83d6ad3616
avidec: Mark first frame as keyframe in case there are no keyframes.
...
This fixes seeking in filecopy.avi of Ticket504
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
e03cd1049e
Fix misspellings of FFmpeg
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Paul B Mahol
5c858a0ac4
swscale/input: silence warnings about incompatible pointer types
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Nicolas George
0fe8acf2d6
ffmpeg: add -(no)stdin option.
...
Allows to disable interaction from standard input.
Useful, for example, if ffmpeg is in the background process group.
Roughly the same result can be achieved with "ffmpeg ... < /dev/null"
but it requires a shell.
13 years ago
Nicolas George
52ab418588
ffmpeg: invert using_stdin and rename accordingly.
...
There are other reasons not to use stdin than having it as an input.
13 years ago
Mans Rullgard
45870f8b6e
Print full compiler identification, not only version number
...
This provides a more precise identification of the compiler used.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
bf1cf4d5a5
flacdec: reverse lpc coeff order, simplify filter
...
Reversing the lpc coefficient order simplifies indexing in
the filter.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Diego Biurrun
9f97af2688
x86: dsputil: drop some unused CPU flag debug code
13 years ago
Paul B Mahol
6b7849e6da
swscale: unscaled rgba64->rgb48
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
b4befca23e
swscale: unscaled rgba64->bgr48
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
13 years ago
Paul B Mahol
9d8eac6899
swscale: simplify unscaled rgb48<->bgr48
...
Using av_bswap16 should be enough.
13 years ago
Michael Niedermayer
204c4e953d
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
ppc: fix build with altivec disabled
vp3: move idct and loop filter pointers to new vp3dsp context
build: add CONFIG_VP3DSP, reduce repetition in OBJS lists
tscc2: do not add/subtract 128 bias during DCT
tscc2: fix typo in DCT
configure: clarify external library section of help output
configure: mark libfdk-aac as nonfree
configure: cosmetics: drop some unnecessary backslashes
os_support: K&R formatting cosmetics
Conflicts:
configure
libavcodec/vp3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
c66978e29a
sws: more complete doxy for sws_setColorspaceDetails()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Stefano Sabatini
5784a46986
lavf/utils: show the number of stream in case of missing parameter
...
Increase feedback provided in avformat_find_stream_info().
13 years ago
Stefano Sabatini
739ec710c4
lavf/utils: suggest what to do in case of missing codec information
...
In particular, fix trac issue #218 .
13 years ago
Stefano Sabatini
a293549b32
lavf/utils: extend has_codec_parameters() to make it show what info is missing
...
Improve feedback.
13 years ago
Michael Niedermayer
31a192f387
imgconvert: favor pixel formats without resolution loss
...
Fixes Ticket1517
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
ef1c0b5295
avfiltergraph: add some debug info about selected pixel formats
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago