Home
last modified time | relevance | path

Searched refs:rateFloat (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
DACodec.cpp2273 float rateFloat = -1; in configureCodec() local
2274 if (!msg->findFloat("operating-rate", &rateFloat)) { in configureCodec()
2276 rateFloat = (float)rateInt; // 16MHz (FLINTMAX) is OK for upper bound. in configureCodec()
2278 if (rateFloat > 0) { in configureCodec()
2279 err = setOperatingRate(rateFloat, mIsVideo); in configureCodec()
2364 status_t ACodec::setOperatingRate(float rateFloat, bool isVideo) { in setOperatingRate() argument
2365 if (rateFloat < 0) { in setOperatingRate()
2370 if (rateFloat > 65535) { in setOperatingRate()
2373 rate = (OMX_U32)(rateFloat * 65536.0f + 0.5f); in setOperatingRate()
2375 if (rateFloat > UINT_MAX) { in setOperatingRate()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h479 status_t setOperatingRate(float rateFloat, bool isVideo);