Marton Balint
9c2c0c37f8
avformat/pcm: factorize and improve determining the default packet size
...
- Remove the 1024 cap on the number of samples, for high sample rate audio it
was suboptimal, calculate the low neighbour power of two for the number of
samples (audio blocks) instead.
- Make the function work correctly also for non-pcm codecs by using the stream
bitrate to estimate the target packet size. A previous version of this patch
used av_get_audio_frame_duration2() the estimate the desired packet size, but
for some codecs that returns the duration of a single audio frame regardless
of frame_bytes.
- Fallback to 4096/block_align*block_align if bitrate is not available.
Signed-off-by: Marton Balint <cus@passwd.hu>
8 months ago
Paul B Mahol
93dc8ed0a1
pcmdec: move read_packet function to pcm.c so it can be shared with other demuxers
...
While here remove pts/dts code, it is apparently not needed and cause
problems for demuxers that will use such function.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
12 years ago
Martin Storsjö
167f3b8de7
libavformat: Add an ff_ prefix to some lavf internal symbols
...
Prefix the functions/tables brktimegm, pcm_read_seek,
dv_offset_reset, voc_get_packet, codec_movaudio_tags,
codec_movvideo_tags.
After this, lavf has no global symbols without the proper prefix.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Aurelien Jacobs
e94204dfd8
move pcm demuxers to their own file
...
Originally committed as revision 24993 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Rafaël Carré
e8723e242d
Lego Mindstorms RSO muxer and demuxer.
...
Patch by Rafaël Carré, rafael d carre a gmail
Originally committed as revision 24355 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Justin Ruggles
d4df4e5088
share sample rate and blocksize tables between the FLAC encoder and FLAC
...
decoder
Originally committed as revision 18089 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
2578326f13
Share the function to write a raw FLAC header and use it in the Matroska
...
muxer.
Originally committed as revision 17606 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
7379d5bc0b
use new metadata API in rm (de)muxer
...
Originally committed as revision 17396 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
6bf8b3ef03
Remove unnecessary header inclusion from g729.h
...
Originally committed as revision 14916 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
fe3a80d6fa
Move from g729.h all definitions which are used only in g729dec.c
...
Originally committed as revision 14915 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Vladimir Voroshilov
5209846850
G.729 decoder main code
...
(just skeleton, contains only parts, explicitly ok'ed by Michael)
Originally committed as revision 14800 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Luca Abeni
e76e2bbc09
Mark the source buffer as "const"
...
Originally committed as revision 10877 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Guillaume Poirier
efb775777f
add a comment to indicate which #endif belong to which #define
...
Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
699b3f99d0
add multiple inclusion guards to headers
...
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
99545457bf
include all prerequisites in header files
...
Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
bd03c380ce
expose av_base64_decode and av_base64_encode
...
Originally committed as revision 8448 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
558b86a5d0
Reverting stray commit part II, r8156 had the base64 export patch mixed with the nutdec patch
...
Originally committed as revision 8158 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Roman Shaposhnik
48b1f80012
* adding integer/floating point AAN implementations for DCT 2-4-8
...
Originally committed as revision 2430 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
b4c3816cfa
optionally merge postscale into quantization table for the float aan dct
...
Originally committed as revision 2420 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
65e4c8c919
floating point AAN DCT
...
Originally committed as revision 2415 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
b0368839ac
MpegEncContext.(i)dct_* -> DspContext.(i)dct_*
...
bitexact cleanup
Originally committed as revision 1617 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
0c1a9edad4
* UINTX -> uintx_t INTX -> intx_t
...
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
bb28568364
* cut&paste fix
...
Originally committed as revision 1249 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
5940262772
* oops fixed bad initialization of ff vals.
...
- put FF_LIBMPEG2_IDCT_PERM into CVS - so it will work for now
Originally committed as revision 1227 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Zdenek Kabelac
83f238cbf0
* compilation fix (ARM users please check)
...
Originally committed as revision 1225 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
50eb9cbc44
idct_permutation_type variable, so the permutation type can quickly be identified
...
Originally committed as revision 1071 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Michael Niedermayer
676e200cff
trying to fix the non-x86 IDCTs (untested)
...
Originally committed as revision 1006 to svn://svn.ffmpeg.org/ffmpeg/trunk
22 years ago
Fabrice Bellard
ff4ec49e64
license/copyright change
...
Originally committed as revision 599 to svn://svn.ffmpeg.org/ffmpeg/trunk
23 years ago
Fabrice Bellard
92651f67a0
arm specific code
...
Originally committed as revision 79 to svn://svn.ffmpeg.org/ffmpeg/trunk
24 years ago