[MPlayer-dev-eng] Re: Re: PATCH [0/12] CoreAVCDecoder support

Loren Merritt lorenm at u.washington.edu
Sun Feb 18 12:17:36 CET 2007


On Sun, 18 Feb 2007, Rich Felker wrote:
> On Sat, Feb 17, 2007 at 10:27:42PM -0700, Loren Merritt wrote:
>>
>> If we define "performance-intensive" to be anything that runs
>> per-macroblock, then that makes up 5488 of the 8653 lines in h264.c
>> (not counting anything in dsputil since that has already been asmed).
>> Of course not all of that is used on every video, e.g. a bunch of code is
>> separate for cabac and cavlc. But all of it needs to be considered for
>> optimization if we want all videos to be faster.
>> It can't be narrowed too much farther, since a significant fraction of the
>> cpu-time is spent in code that runs only once per macroblock.
>
> Well we can start by throwing out loop filter by assuming people who
> care about performance will just turn it off, no? :) How much does
> that eliminate?

loop filter is 869 lines, including backup/xchg_mb_border().

--Loren Merritt



More information about the MPlayer-dev-eng mailing list