Lines Matching refs:Alpha
64 static void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch);
65 static void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch);
66 static void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch);
67 static void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch);
299 int Alpha, Beta, Alpha_c, Beta_c;
339 Alpha = ALPHA_TABLE[indexA];
343 if (Alpha > 0 && Beta > 0)
345 EdgeLoop_Luma_vertical(SrcY, Strength, Alpha, Beta, clipTable, 20);
347 EdgeLoop_Luma_vertical(SrcY, Strength, Alpha, Beta, clipTable, pitch);
356 Alpha = ALPHA_TABLE[indexA];
359 if (Alpha > 0 && Beta > 0)
362 EdgeLoop_Chroma_vertical(SrcU, Strength, Alpha, Beta, clipTable, 12);
363 EdgeLoop_Chroma_vertical(SrcV, Strength, Alpha, Beta, clipTable, 12);
365 EdgeLoop_Chroma_vertical(SrcU, Strength, Alpha, Beta, clipTable, pitch >> 1);
366 EdgeLoop_Chroma_vertical(SrcV, Strength, Alpha, Beta, clipTable, pitch >> 1);
383 Alpha = ALPHA_TABLE[indexA];
387 /* Save Alpha, Beta and clipTable for future use, with the obselete variables filterLeftMbEdgeFlag, mbNum amd tmp */
388 filterLeftMbEdgeFlag = Alpha;
408 if (Alpha > 0 && Beta > 0)
410 EdgeLoop_Luma_vertical(SrcY + (edge << 2), Strength + (edge << 2), Alpha, Beta, clipTable, 20);
412 EdgeLoop_Luma_vertical(SrcY + (edge << 2), Strength + (edge << 2), Alpha, Beta, clipTable, pitch);
446 Alpha = ALPHA_TABLE[indexA];
450 if (Alpha > 0 && Beta > 0)
453 EdgeLoop_Luma_horizontal(SrcY, Strength, Alpha, Beta, clipTable, 20);
455 EdgeLoop_Luma_horizontal(SrcY, Strength, Alpha, Beta, clipTable, pitch);
465 Alpha = ALPHA_TABLE[indexA];
468 if (Alpha > 0 && Beta > 0)
471 EdgeLoop_Chroma_horizontal(SrcU, Strength, Alpha, Beta, clipTable, 12);
472 EdgeLoop_Chroma_horizontal(SrcV, Strength, Alpha, Beta, clipTable, 12);
474 EdgeLoop_Chroma_horizontal(SrcU, Strength, Alpha, Beta, clipTable, pitch >> 1);
475 EdgeLoop_Chroma_horizontal(SrcV, Strength, Alpha, Beta, clipTable, pitch >> 1);
486 /* Recover Alpha, Beta and clipTable for edge!=0 with the variables filterLeftMbEdgeFlag, mbNum and tmp */
488 Alpha = filterLeftMbEdgeFlag;
499 if (Alpha > 0 && Beta > 0)
502 EdgeLoop_Luma_horizontal(SrcY + (edge << 2)*20, Strength + (edge << 2), Alpha, Beta, clipTable, 20);
504 EdgeLoop_Luma_horizontal(SrcY + (edge << 2)*pitch, Strength + (edge << 2), Alpha, Beta, clipTable, pitch);
1087 void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch)
1113 //|R0 - L0| < Alpha
1116 tmp &= (AbsDelta - Alpha);
1120 AbsDelta -= ((Alpha >> 2) + 2);
1124 // |R0 - R2| < Beta && |R0 - L0| < (Alpha/4 + 2)
1129 // |L0 - L2| < Beta && |R0 - L0| < (Alpha/4 + 2)
1176 //|R0 - L0| < Alpha
1179 tmp = (tmp1 - Alpha);
1276 void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch)
1311 //|R0 - L0| < Alpha
1314 tmp &= (AbsDelta - Alpha);
1318 AbsDelta -= ((Alpha >> 2) + 2);
1322 // |R0 - R2| < Beta && |R0 - L0| < (Alpha/4 + 2)
1327 // |L0 - L2| < Beta && |R0 - L0| < (Alpha/4 + 2)
1391 //|R0 - L0| < Alpha
1394 tmp -= Alpha;
1493 void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch)
1525 //|R0 - L0| < Alpha
1528 tmp &= (tmp1 - Alpha);
1583 void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch)
1609 //|R0 - L0| < Alpha
1612 tmp &= (tmp1 - Alpha);