Commit 65877ab9 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde

lavc: typo fix uncliped -> unclipped

Untested due to lack of ppc.
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent ecf63b7c
...@@ -524,7 +524,7 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0, ...@@ -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 average = vec_avg(p0, q0);
register vec_u8 temp; register vec_u8 temp;
register vec_u8 uncliped; register vec_u8 unclipped;
register vec_u8 ones; register vec_u8 ones;
register vec_u8 max; register vec_u8 max;
register vec_u8 min; register vec_u8 min;
...@@ -534,10 +534,10 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0, ...@@ -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)) */ average = vec_avg(average, p2); /*avg(p2, avg(p0, q0)) */
ones = vec_splat_u8(1); ones = vec_splat_u8(1);
temp = vec_and(temp, ones); /*(p2^avg(p0, q0)) & 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); max = vec_adds(p1, tc0);
min = vec_subs(p1, tc0); min = vec_subs(p1, tc0);
newp1 = vec_max(min, uncliped); newp1 = vec_max(min, unclipped);
newp1 = vec_min(max, newp1); newp1 = vec_min(max, newp1);
return newp1; return newp1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment