Searched refs:rateFloat (Results 1 – 2 of 2) sorted by relevance
2442 float rateFloat = -1; in configureCodec() local2443 if (!msg->findFloat("operating-rate", &rateFloat)) { in configureCodec()2445 rateFloat = (float)rateInt; // 16MHz (FLINTMAX) is OK for upper bound. in configureCodec()2447 if (rateFloat > 0) { in configureCodec()2448 err = setOperatingRate(rateFloat, mIsVideo); in configureCodec()2613 status_t ACodec::setOperatingRate(float rateFloat, bool isVideo) { in setOperatingRate() argument2614 if (rateFloat < 0) { in setOperatingRate()2619 if (rateFloat > 65535) { in setOperatingRate()2622 rate = (OMX_U32)(rateFloat * 65536.0f + 0.5f); in setOperatingRate()2624 if (rateFloat > (float)UINT_MAX) { in setOperatingRate()[all …]
546 status_t setOperatingRate(float rateFloat, bool isVideo);