[FFmpeg-devel] [patch][OpenHEVC]added ASM functions for epel + qpel
Pierre Edouard Lepere
Pierre-Edouard.Lepere at insa-rennes.fr
Mon Mar 3 22:04:48 CET 2014
Hi,
>> I'll try to find a good coeff to use the pmulhrw instruction instead of the current shifts.
>I'm a bit lost here, because I was expecting some kind of rounding,
>iirc in the last stage when going from internal 16bits to output
>8bits. pmulhrw usually helps doing something like (a+OFFSET)>>s but
>there seems to be no OFFSET here, so maybe I was mistaken.
what we're currently doing in OpenHEVC is
8Bit -> PEL -> 16Bit -> Weighted -> 8Bit
so the whole offset, avg, etc... is done in the weighting section IIRC.
- Pierre-Edouard
More information about the ffmpeg-devel
mailing list