lavc: typo fix uncliped -> unclipped

Untested due to lack of ppc.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
Ganesh Ajjanagadde 2015-12-11 19:53:00 -05:00
parent ecf63b7cc2
commit 65877ab935
1 changed files with 3 additions and 3 deletions

View File

@ -524,7 +524,7 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0,
register vec_u8 average = vec_avg(p0, q0);
register vec_u8 temp;
register vec_u8 uncliped;
register vec_u8 unclipped;
register vec_u8 ones;
register vec_u8 max;
register vec_u8 min;
@ -534,10 +534,10 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0,
average = vec_avg(average, p2); /*avg(p2, avg(p0, q0)) */
ones = vec_splat_u8(1);
temp = vec_and(temp, ones); /*(p2^avg(p0, q0)) & 1 */
uncliped = vec_subs(average, temp); /*(p2+((p0+q0+1)>>1))>>1 */
unclipped = vec_subs(average, temp); /*(p2+((p0+q0+1)>>1))>>1 */
max = vec_adds(p1, tc0);
min = vec_subs(p1, tc0);
newp1 = vec_max(min, uncliped);
newp1 = vec_max(min, unclipped);
newp1 = vec_min(max, newp1);
return newp1;
}