lavc: typo fix uncliped -> unclipped
Untested due to lack of ppc. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
parent
ecf63b7cc2
commit
65877ab935
@ -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,
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user