Diego Elio Pettenò
e628864033
Hide demuxers', muxers' and protocols' objects via the ld version script.
...
This reduces the symbols exported by libavformat from 699 to 451.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
ac28ce5fac
Hide the now-prefixed decoders, encoders, parsers, bsf, hwaccel objects.
...
This significantly reduces the size of the symbol table in the generated ELF
shared object (as well as the other linked tables).
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
b5ec638343
cosmetics: indentation and spacing
14 years ago
Justin Ruggles
9d06d7bce3
Remove the add bias hack for the C version of DSPContext.float_to_int16_*().
14 years ago
John Stebbins
97b04f5ed3
mov: add support for little-endian utf16 chapter names
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Janne Grunau
795ed278e6
movenc: byteswap codec_tag in mov_write_ms_tag
...
based on Alex Converse's "Fix ADPCM MS in mov muxing" patch
14 years ago
Baptiste Coudurier
f258964217
In mov muxer, mux adpcm_ms and adpcm_ima_wav the way quicktime supports it
...
In mov demuxer, set adpcm_ms and adpcm_ima_wav frame size to stsd samples per packet.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Justin Ruggles
37cb3eb534
Add special case for 2nd-order IIR filter.
...
40% faster in ff_iir_filter_flt() when c->order == 2.
14 years ago
Luca Barbato
d1b6f33bf2
Add ff_ to AVHWAccel decoders
...
That unbreaks compilation of vaapi and dxva2
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
c6610a216e
Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.
...
This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts.
14 years ago
Anton Khirnov
225b6d7fde
mov: simplify mov_read_chapters() by using avio_get_str16be
...
It probably also fixes a memleak or two.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
c4f8765ac5
Revert "mov: simplify mov_read_chapters() by using avio_get_str16be"
...
This reverts commit c34461b35b
.
The wrong version of the patch was committed.
14 years ago
Ronald S. Bultje
22893e10ae
VP8: don't overread edges on fourtap MC.
...
Fix C VP8 H+V MC functions which do two-dimensional 4/6-tap filters to
not overread beyond their edges if the second filter is 4-tap, since
the outer pixels aren't there anymore since
44002d8323
.
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
2d162e3825
Make ff_cmap_read_palette static to libavcodec/iff.c. Delete iff.h.
...
The iff.h header only declared one function that is now static, the
libavformat/iff.c source file wasn't using it before. Drop the file
entirely.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
4c57cde942
Add ff_ prefix to ac3_common_init().
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
24e3ad3031
ac3: Remove ff_ac3_critical_band_size_tab.
...
It is only used to generate band_start_tab, which about the same size, at
runtime, so it's simpler just to always hardcode band_start_tab.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
eb7ccf8f33
Make the avfilter debug functions and macros static to avfilter.c
...
This removes ff_get_ref_perms_string, ff_dprintf_ref and ff_dprintf_link
fro the interface of libavfilter.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
7767d8d361
Mark C base versions of FFT functions static to fft.c
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Marco Gittler
b09f548285
Pass field order flag to libx264
...
Signed-off-by: Jason Garrett-Glaser <jason@x264.com>
14 years ago
Georgi Chorbadzhiyski
535638b55f
mpegtsenc: set reserved bits to 1 in PCR field
...
The reserved bits between PCR base and extension fields must be
set to 1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
1a88674862
Make ff_add_wav static to ra144.c
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
57c4d01ec9
Make ff_rtsp_send_cmd_with_content_async static to rtsp.c.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
13eb6b9097
Make ff_h264_find_frame_end static to h264.c; delete h264_parser.h
...
The header is empty after making the function static, so delete it and
drop its usage.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
cf1d794a49
Make ff_ass_subtitle_header static to ass.c
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
d625a32d6b
Make ff_sin_tabs constant to rdft.c
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
ebb06d96ed
Make ff_spatial_idwt_{init, slice} static to dwt.c
...
Both functions seem to be commanded by the ff_spatial_idwt function
instead.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
f2e246f576
Make ff_png_pass_xmin and ff_png_pass_xshift static to png.c.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
676f1f533e
Remove unused ff_ac3_parse_header_full function.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
a3dffc0627
Make ff_mxf_pixel_layouts static to mxf.c.
...
Also make it an anonymous structure as never it is accessed by name.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
8529731961
Make ff_h264_decode_rbsp_trailing static to h264.c
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Diego Elio Pettenò
101e1f6ff9
Make ff_interleave_compare_dts static to utils.c.
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Anton Khirnov
c34461b35b
mov: simplify mov_read_chapters() by using avio_get_str16be
...
It probably also fixes a memleak or two.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Anton Khirnov
2934cd9dbf
asfdec: remove some commented-out cruft
...
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Anton Khirnov
93b78d1210
lavf: make a variant of ff_get_str16_nolen public
...
It will be useful in mp3 demuxer and hopeful some other places.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Mans Rullgard
d0f0f6287c
armcc: filter out non-gcc options from ASFLAGS
...
This allows passing armcc-specific flags with --extra-cflags without
choking the assembler.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
9d201b2606
configure: add filter_out() function
...
This adds a function to filter out words matching a pattern
from a list.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
44002d8323
Don't do edge emulation unless the edge pixels will be used in MC.
...
Do not emulate larger edges than we will actually use for this round of
MC. Decoding goes from avg+SE 29.972+/-0.023sec to 29.856+/-0.023, i.e.
0.12sec or ~0.4% faster.
14 years ago
Jai Menon
c0ae5152d1
ffmetaenc: Use correct format specifiers.
...
Use printf format macros from inttypes.h.
Additionally, this fixes a warning when building with clang.
14 years ago
Mans Rullgard
e781c4e6ff
intfloat_readwrite: include "mathematics.h" for fallback macros
...
This allows this file to build on systems lacking NAN or INFINITY
in math.h.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
1e48cdaac3
tty: remove superflous #include <strings.h>
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
21c900129c
ac3: remove ff_ac3_critical_band_size_tab[] external declaration
...
This fixes compilation broken by 6ed3b504f9
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
6ed3b504f9
Move ff_ac3_critical_band_size_tab in ac3.c for non-hardcoded tables.
...
This symbol is only ever used to calculate the non-hardcoded tables, so
only enable it in that case, and static to the source unit that uses it.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
362bfe2997
Remove unused ac3_parametric_bit_allocation function.
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
3d157bf31f
Makefile: fix cleaning of tools in tests directory
...
The variable TESTPROGS is reset by the library makefiles,
use another name.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Daniel Verkamp
54fe299b88
configure: move network tests before results are needed
...
This moves network_extralibs setup before use so that the link tests
for network functions work correctly.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Georgi Chorbadzhiyski
6e78c8ee94
mpegtsenc: remove unused variables
...
Remove two variables that were not used and caused the following
warnings:
CC libavformat/mpegtsenc.o
libavformat/mpegtsenc.c: In function 'mpegts_write_section':
libavformat/mpegtsenc.c:72:18: warning: unused variable 'ts'
libavformat/mpegtsenc.c: In function 'mpegts_insert_null_packet':
libavformat/mpegtsenc.c:586:18: warning: unused variable 'ts'
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Daniel Verkamp
3adbe49f2b
Fix ALLPROGS_G so that *_g binaries get cleaned properly
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
e153e9a53a
latm: remove superflous #includes
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
6081f8c4e2
avidec: make print_tag() a macro and remove related ifdefs
...
The dprintf macro is a no-op if DEBUG is not defined, so there
is no need to guard it here.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago