Diego Pettenò
b5c44b1ab6
Mark some symbols in swscale.c as constant.
...
These are only used in swscale_template.c (and thus don't need to be
made extern), and can be declared as ASM constants.
Originally committed as revision 27737 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:13:14 +00:00
Diego Pettenò
d0b69b2855
Mark dither_2x2_{8,4} static to swscale.c
...
These two tables are not used outside swscale.c even though they are
declared also in yuv2rgb.c.
Originally committed as revision 27736 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:12:38 +00:00
Diego Pettenò
faf6112e26
Mark variation-specific interleaveBytes static.
...
These functions are never called by themselves, the alias
interleaveBytes is used instead.
Originally committed as revision 27735 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:11:35 +00:00
Diego Pettenò
6683a37f89
Invert logic for the single-pass in swScale() functions.
...
Instead of having a firstTime variable defaulting to 1, have a
warnedAlready defaulting to 0. While this should make no difference in
code speed at runtime, it allows to aggregate the four bytes of that
variable with clip_table in .bss section, rather than issuing a .data
section just for that.
As it is, libswscale require no .data section but .data.rel.ro (that
can be mitigated by prelinking), so the change might actually save one
page of memory at runtime (per process).
Originally committed as revision 27734 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 11:10:30 +00:00
Carl Eugen Hoyos
f5a2c9816e
Change variable types from int to enum PixelFormat.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 27733 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-09 08:36:04 +00:00
Michael Niedermayer
51f4155fef
Make gcc 2.95 happy.
...
Originally committed as revision 15589 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 20:55:22 +00:00
Vitor Sessak
e150ef8d34
Do not set src[1] to the palette, it is now in the context
...
Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:48:23 +00:00
Vitor Sessak
4900461742
Add a new unscaled PAL8 -> RGB converter.
...
Originally committed as revision 27730 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 17:46:22 +00:00
Aurelien Jacobs
fd2b356a62
cosmetics: indentation
...
Originally committed as revision 15588 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:28:49 +00:00
Aurelien Jacobs
6488cf9b09
lookup AVCodec by name
...
Originally committed as revision 15587 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:27:45 +00:00
Aurelien Jacobs
fc228c9014
allows calling avcodec_find_(en|de)coder_by_name with NULL parameter
...
Originally committed as revision 15586 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-08 17:19:26 +00:00
Aurelien Jacobs
13394e8cbb
Change one more variable type from int to enum PixelFormat.
...
This one was missing from r27727.
Originally committed as revision 27728 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-08 11:59:01 +00:00
Diego Biurrun
098b4169f1
Add a bunch of const qualifiers to function arguments.
...
Taken from the upstream libmpeg2 version of the file.
Originally committed as revision 15585 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 21:41:25 +00:00
Carl Eugen Hoyos
58e4b706c5
Change variable types from int to enum PixelFormat.
...
Fixes icc warning #188 : enumerated type mixed with another type
Originally committed as revision 27727 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-07 19:44:39 +00:00
Roman Shaposhnik
4e92dabf60
replacing frame_rate and frame_rate_base with an AVRational time_base
...
Originally committed as revision 15584 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:59:18 +00:00
Roman Shaposhnik
a53621fca8
simplifying code as per Michael's suggestion
...
Originally committed as revision 15583 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:14:33 +00:00
Roman Shaposhnik
45580f8d4d
cosmetic updates as per Michael's suggestion
...
Originally committed as revision 15582 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:07:15 +00:00
Roman Shaposhnik
90d30402b4
vertically aligning as per Michael's suggestion
...
Originally committed as revision 15581 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 16:06:18 +00:00
Roman Shaposhnik
6a276c46b1
unrolling the loops as per Michael's suggestion
...
Originally committed as revision 15580 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:52:20 +00:00
Roman Shaposhnik
0843ddcb91
fixing a bug that prevented proper unweighting table to be selected
...
Originally committed as revision 15579 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:51:29 +00:00
Roman Shaposhnik
2b6cee9f1e
Doxygenizing the comments
...
Originally committed as revision 15578 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:50:29 +00:00
Roman Shaposhnik
c9b0b38f45
simplifying the code as per Michael's suggestion
...
Originally committed as revision 15577 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 15:49:45 +00:00
Diego Biurrun
8f271177b0
Sync cosmetics from upstream.
...
Originally committed as revision 15576 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-07 08:37:20 +00:00
Alex Converse
fbdae895f2
Rename variables to clarify the channel coupling element and corresponding
...
target channel element.
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15575 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:22:11 +00:00
Alex Converse
5c2cb17206
Correct documentation of ch_select array.
...
Patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15574 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:18:18 +00:00
Alex Converse
88de95c2f9
Corrections to channel coupling code to attain conformance for appropriate
...
streams.
Slightly reworked from a patch by Alex Converse (alex converse gmail com)
Originally committed as revision 15573 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 16:12:30 +00:00
Robert Swain
69bf69c77e
Synchronise presets with recent subme/brdo/bidir_refine -> subme changes in
...
libx264
Originally committed as revision 15572 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 10:13:52 +00:00
Diego Biurrun
d8d12c1594
Remove obsolete liba52 wrapper code.
...
Originally committed as revision 15571 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-06 05:17:57 +00:00
Stefano Sabatini
66e9aa7463
Make less verbose a sentence in the preset system documentation.
...
Originally committed as revision 15570 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 22:41:43 +00:00
Luca Barbato
7cff2c7f44
gcc-apple specific fallback not necessary anymore (btw no apple hardware is less than a Intel core, thus it won't come there w/out disabling all the optimizations)
...
Originally committed as revision 27722 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-05 21:00:16 +00:00
Vitor Sessak
da708eaa22
Cosmetics: rename mace3_decode_frame() to mace_decode_frame()
...
Originally committed as revision 15569 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 20:12:20 +00:00
Vitor Sessak
10c1d19212
Avoid code duplication between mace3_decode_frame() and mace6_decode_frame()
...
Originally committed as revision 15568 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 20:06:40 +00:00
Stefano Sabatini
0093396cff
Remove unused and invalid code from ffmpeg.c.
...
Originally committed as revision 15567 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 17:26:09 +00:00
Diego Biurrun
02a6a6eea4
Use HAVE_FAST_64BIT instead of nonstandard __WORDSIZE macro.
...
Originally committed as revision 27720 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-05 16:47:55 +00:00
Vitor Sessak
b0e047de15
Use a for() instead of triplicating code.
...
Originally committed as revision 15566 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 16:33:43 +00:00
Kostya Shishkov
cba64af245
Register RV-[34] block specific feature for long future loop filter
...
Originally committed as revision 15565 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 16:11:12 +00:00
Vitor Sessak
3a54087733
Factorize duplicate table reading code.
...
Originally committed as revision 15564 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 14:36:10 +00:00
Stefano Sabatini
4a60e574bb
Document the preset files system.
...
Originally committed as revision 15563 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-05 09:45:54 +00:00
Baptiste Coudurier
5b9ce252a9
10l, fix amrwb sample rate
...
Originally committed as revision 15562 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 23:30:35 +00:00
Aurelien Jacobs
b7f4e76d3d
matroskaenc: correct muxing of ASS packets
...
- split packets to store one ASS event line per Matroska block
- reformat ASS events to Matroska modified format
- extract display duration for ASS events to store as Matroska block duration
Originally committed as revision 15561 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 22:57:56 +00:00
Aurelien Jacobs
291902c274
matroskaenc: use correct EBML ID for block duration
...
Originally committed as revision 15560 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 22:47:10 +00:00
Aurelien Jacobs
1bfbe8ff9d
matroskaenc: pass the packet size directly as parameter of mkv_blockgroup_size()
...
Originally committed as revision 15559 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 22:44:50 +00:00
Aurelien Jacobs
8401c51407
matroskaenc: remove useless mkv_block_size() function
...
Originally committed as revision 15558 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 22:41:58 +00:00
Michael Niedermayer
7ccc636f03
Favor even chunk sizes in ambiguous cases.
...
Fixes transcode_069_produces_uneven_chunk_size.avi.
Originally committed as revision 15557 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 22:26:43 +00:00
Michael Niedermayer
f080a7bd90
Factorize stream id parsing.
...
Originally committed as revision 15556 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 21:57:01 +00:00
Reimar Döffinger
6bc03a695b
Make size variables in dyn_buf_write unsigned so gcc will not optimize the
...
check away (due to assuming signed overflows do not happen).
Originally committed as revision 15555 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 21:11:58 +00:00
Carl Eugen Hoyos
88e2a9aebc
Remove b5Dither, g5Dither and r5Dither from libswscale.
...
Originally committed as revision 27718 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 18:50:39 +00:00
Diego Biurrun
460a4fb99d
Merge variable declaration and export.
...
Originally committed as revision 15554 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 17:11:54 +00:00
Diego Pettenò
8539d8b573
Declare ff_pw_53 and ff_pw_18 as assembler constants.
...
Patch by Diego 'Flameeyes' Petten
Originally committed as revision 15553 to svn://svn.ffmpeg.org/ffmpeg/trunk
2008-10-04 16:48:07 +00:00
Carl Eugen Hoyos
92c7b4713d
Remove g6Dither from libswscale.
...
Originally committed as revision 27715 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
2008-10-04 16:40:35 +00:00