Home | History | Annotate | Download | only in src

Lines Matching defs:Cost

468  *    Intra 4x4 Mode decision by calculating cost for all possible modes and
486 * [in] pBestCost - Cost for the Best Intra 4x4 mode
504 OMX_S32 Cost, BestCost;
546 Cost = BestCost = ARM_VCM4P10_MAX_COST;
548 /* Go through each mode for minim cost */
568 &Cost,
572 if (Cost < BestCost)
574 BestCost = Cost;
776 * [in] nLamda - For calculating the cost
777 * [out] pBestCost - Minimum cost for encoding current block
778 * [out] pBestMV - MV corresponding to best cost
818 OMX_S32 Cost;
855 &Cost,
859 /**pBestCost = Cost;
878 &Cost);
894 &Cost);
897 /* updated Best Cost and Best MV */
898 *pBestCost = Cost;
903 * Skip MB cost calculations of 16x16 inter mode
912 * Gets best cost for the current partition
930 * [in] Lambda - For calculating the cost
931 * [out] pCost - Pointer to cost for Inter MB
1063 * Copy back best reference frame, motion vectors and cost.
1120 * [in] Lambda - For calculating the cost
1121 * [out] pCost - Pointer to cost for Intra16x16
1142 OMX_S32 Cost;
1191 &Cost,
1194 if (Cost < *pCost)
1196 *pCost = Cost;
1225 * [in] Lambda - For calculating the cost
1226 * [out] pCost - Pointer to cost for Intra4x4
1243 OMX_S32 Cost;
1352 &Cost);
1354 *pCost += Cost;
1381 * [in] Lambda - For calculating the cost
1382 * [out] pDstCost - Pointer to cost for Inter MB
1436 OMX_S32 Cost, MotionCost8x8 [4], MBCost, BestCost;
1443 /* Set cost to a high value */
1444 Cost = BestCost = ARM_VCM4P10_MAX_COST;
1546 &Cost);
1548 if (Cost <= BestCost)
1550 /* Update cost */
1551 BestCost = Cost;
1577 /* Update cost */
1581 /* Cost for mbType OMX_VC_P_8x8 */
1639 &Cost);
1641 MBCost += Cost;
1646 /* Update cost */
1674 /* Update Best Cost */
1709 * Lambda - Lagrange factor for computing the cost function
1736 * pDstCost - Pointer to the minimum motion cost for the current MB.
1778 OMX_U32 Cost, i, IntraFlag = 1;
1804 /* Check if current MB needs INTER cost calculations */
1813 * Inter cost calculations
1830 &Cost
1833 *pDstCost = Cost;
1841 * Intra 4x4 cost calculations
1850 &Cost
1853 if (Cost <= *pDstCost)
1855 *pDstCost = Cost;
1863 * Cost for Intra 16x16 mode
1875 &Cost
1878 if (Cost <= *pDstCost)
1880 *pDstCost = Cost;