Home
last modified time | relevance | path

Searched refs:closestSize (Results 1 - 2 of 2) sorted by relevance

/foundation/multimedia/player_framework/frameworks/native/avcodeclist/
H A Davcodec_info.cpp340 ImgSize closestSize = MatchClosestSize(ImgSize(width, height)); in GetPreferredFrameRate() local
341 CHECK_AND_RETURN_RET_LOG(data_.measuredFrameRate.find(closestSize) != data_.measuredFrameRate.end(), range, in GetPreferredFrameRate()
344 int64_t closestBlockNum = DivCeil(closestSize.width, blockWidth_) * in GetPreferredFrameRate()
345 static_cast<int64_t>(DivCeil(closestSize.height, blockHeight_)); in GetPreferredFrameRate()
346 Range closestFrameRate = data_.measuredFrameRate.at(closestSize); in GetPreferredFrameRate()
358 ImgSize closestSize; in MatchClosestSize() local
365 closestSize = iter->first; in MatchClosestSize()
369 data_.codecName.c_str(), imgSize.width, imgSize.height, closestSize.width, closestSize.height); in MatchClosestSize()
370 return closestSize; in MatchClosestSize()
[all...]
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp470 ImgSize closestSize = MatchClosestSize(ImgSize(width, height)); in GetPreferredFrameRate() local
471 if (data_->measuredFrameRate.find(closestSize) == data_->measuredFrameRate.end()) { in GetPreferredFrameRate()
477 DivCeil(closestSize.width, blockWidth_) * static_cast<int64_t>(DivCeil(closestSize.height, blockHeight_)); in GetPreferredFrameRate()
478 Range closestFrameRate = data_->measuredFrameRate.at(closestSize); in GetPreferredFrameRate()
490 ImgSize closestSize; in MatchClosestSize() local
497 closestSize = iter->first; in MatchClosestSize()
501 data_->codecName.c_str(), imgSize.width, imgSize.height, closestSize.width, closestSize.height); in MatchClosestSize()
502 return closestSize; in MatchClosestSize()
[all...]

Completed in 2 milliseconds