Home | History | Annotate | Download | only in encoder

Lines Matching defs:sad

79 * @brief computes distortion (SAD) at all subpel points about the src location
82 * This functions computes SAD at all points at a subpel distance from the
104 * integer evaluated sad
188 * @brief compute sad
190 * @par Description: This function computes the sad at vertices of diamond grid
206 * pointer to integer array evaluated sad
208 * @returns sad at all evaluated vertexes
269 * @brief compute sad
271 * @par Description: This function computes the sad at vertices of diamond grid
287 * pointer to integer array evaluated sad
289 * @returns sad at all evaluated vertexes
353 * @brief compute sad
355 * @par Description: This function computes the sad at vertices of diamond grid
371 * pointer to integer array evaluated sad
373 * @returns sad at all evaluated vertexes
427 * @brief computes distortion (SAD) between 2 16x16 blocks
430 * This functions computes SAD between 2 16x16 blocks. There is a provision
431 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
450 * integer evaluated sad
508 * @brief computes distortion (SAD) between 2 16x16 blocks (fast mode)
511 * This functions computes SAD between 2 16x16 blocks. There is a provision
512 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
531 * integer evaluated sad
581 * @brief computes distortion (SAD) between 2 8x8 blocks
584 * This functions computes SAD between 2 8x8 blocks. There is a provision
585 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
604 * integer evaluated sad
628 /* SAD */
647 * @brief computes distortion (SAD) between 2 4x4 blocks
650 * This functions computes SAD between 2 4x4 blocks. There is a provision
651 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
670 * integer evaluated sad
710 * @brief computes distortion (SAD) between 2 16x8 blocks
714 * This functions computes SAD between 2 16x8 blocks. There is a provision
715 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
734 * integer evaluated sad
762 /* SAD */
788 * @brief computes distortion (SAD) between 2 16x16 blocks
791 * This functions computes SAD between 2 16x16 blocks. There is a provision
792 * for early exit if the up-to computed SAD exceeds maximum allowed SAD. To
811 * integer evaluated sad
836 /* SAD */
860 /* SAD */
877 * @brief This function computes SAD between two 16x16 blocks
897 * integer evaluated sad
917 UWORD32 sad = 0;
950 if(sad == 0)
975 )sad = 1;
982 *pu4_is_non_zero = sad;
989 * @brief computes distortion (SAD and SAQTD) between 2 16x8 (interleaved) chroma blocks
993 * This functions computes SAD between2 16x8 chroma blocks(interleaved)
996 * Other wise sad is retrned
1017 * integer evaluated sad
1035 WORD32 sad =0;
1105 /*set current sad to be zero*/
1110 sad += sad_1;
1115 if(sad < (thrsh[0]<<1))sad = 0;
1128 * @brief computes distortion (SAD and SAQTD) between 2 16x16 blocks
1131 * This functions computes SAD between 2 16x16 blocks.
1134 * Other wise sad is retrned
1155 * integer evaluated sad
1171 WORD16 s1[4],s2[4],s3[4],s4[4],sad[4];
1209 sad[j] = ((s1[j]+s2[j]+s3[j]+s4[j])<<1);
1216 //thrsh[0] > (sad[j] >> 1) &&Dc goes in the other part
1217 thrsh[1] > (sad[j] -(s2[j] + s3[j])) &&
1218 thrsh[2] > (sad[j]>>1) &&
1219 thrsh[3] > (sad[j] -(s1[j] + s4[j])) &&
1221 thrsh[4] > (sad[j] -(s3[j] + s4[j])) &&
1222 thrsh[5] > (sad[j] -(s3[j] - (s1[j]<<1))) &&
1223 thrsh[6] > (sad[j] -(s3[j] + s4[j])) &&
1224 thrsh[7] > (sad[j] -(s4[j] - (s2[j]<<1))) &&
1226 thrsh[8] > (sad[j]>>1) &&
1227 thrsh[9] > (sad[j] -(s2[j] + s3[j])) &&
1228 thrsh[10]> (sad[j]>>1) &&
1229 thrsh[11]> (sad[j] -(s1[j] + s4[j])) &&
1231 thrsh[12]> (sad[j] -(s1[j] + s2[j])) &&
1232 thrsh[13]> (sad[j] -(s2[j] - (s4[j]<<1))) &&
1233 thrsh[14]> (sad[j] -(s1[j] + s2[j])) &&
1234 thrsh[15]> (sad[j] -(s1[j] - (s3[j]<<1)))
1237 //sad[j] = 0; /*set current sad to be zero*/
1238 sig_nz_sad[j] = 0;/*Signal that the sad is zero*/
1242 sig_nz_sad[j] = 1;/*signal that sad is non zero*/
1246 (*pi4_mb_distortion) += (sad[j]>>1);