Home | History | Annotate | Download | only in src

Lines Matching refs:Cost

453  *    Intra 4x4 Mode decision by calculating cost for all possible modes and
471 * [in] pBestCost - Cost for the Best Intra 4x4 mode
489 OMX_S32 Cost, BestCost;
531 Cost = BestCost = ARM_VCM4P10_MAX_COST;
533 /* Go through each mode for minim cost */
553 &Cost,
557 if (Cost < BestCost)
559 BestCost = Cost;
761 * [in] nLamda - For calculating the cost
762 * [out] pBestCost - Minimum cost for encoding current block
763 * [out] pBestMV - MV corresponding to best cost
803 OMX_S32 Cost;
840 &Cost,
844 /**pBestCost = Cost;
863 &Cost);
879 &Cost);
882 /* updated Best Cost and Best MV */
883 *pBestCost = Cost;
888 * Skip MB cost calculations of 16x16 inter mode
897 * Gets best cost for the current partition
915 * [in] Lambda - For calculating the cost
916 * [out] pCost - Pointer to cost for Inter MB
1048 * Copy back best reference frame, motion vectors and cost.
1105 * [in] Lambda - For calculating the cost
1106 * [out] pCost - Pointer to cost for Intra16x16
1127 OMX_S32 Cost;
1176 &Cost,
1179 if (Cost < *pCost)
1181 *pCost = Cost;
1210 * [in] Lambda - For calculating the cost
1211 * [out] pCost - Pointer to cost for Intra4x4
1228 OMX_S32 Cost;
1337 &Cost);
1339 *pCost += Cost;
1366 * [in] Lambda - For calculating the cost
1367 * [out] pDstCost - Pointer to cost for Inter MB
1421 OMX_S32 Cost, MotionCost8x8 [4], MBCost, BestCost;
1428 /* Set cost to a high value */
1429 Cost = BestCost = ARM_VCM4P10_MAX_COST;
1531 &Cost);
1533 if (Cost <= BestCost)
1535 /* Update cost */
1536 BestCost = Cost;
1562 /* Update cost */
1566 /* Cost for mbType OMX_VC_P_8x8 */
1624 &Cost);
1626 MBCost += Cost;
1631 /* Update cost */
1659 /* Update Best Cost */
1694 * Lambda - Lagrange factor for computing the cost function
1721 * pDstCost - Pointer to the minimum motion cost for the current MB.
1763 OMX_U32 Cost, i, IntraFlag = 1;
1789 /* Check if current MB needs INTER cost calculations */
1798 * Inter cost calculations
1815 &Cost
1818 *pDstCost = Cost;
1826 * Intra 4x4 cost calculations
1835 &Cost
1838 if (Cost <= *pDstCost)
1840 *pDstCost = Cost;
1848 * Cost for Intra 16x16 mode
1860 &Cost
1863 if (Cost <= *pDstCost)
1865 *pDstCost = Cost;