Home
last modified time | relevance | path

Searched refs:blockWidth_ (Results 1 - 4 of 4) sorted by relevance

/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp163 if (blockWidth_ != 0 && blockHeight_ != 0) { in IsSizeSupported()
165 static_cast<int64_t>(DivCeil(width, blockWidth_)) * static_cast<int64_t>(DivCeil(height, blockHeight_)); in IsSizeSupported()
181 if (blockWidth_ != 0 && blockHeight_ != 0) { in GetVideoWidthRangeForHeight()
189 Range((horizontalBlockNum.minVal - 1) * blockWidth_ + data_->alignment.width, in GetVideoWidthRangeForHeight()
190 horizontalBlockNum.maxVal * blockWidth_)); in GetVideoWidthRangeForHeight()
203 if (blockWidth_ != 0 && blockHeight_ != 0) { in GetVideoHeightRangeForWidth()
204 int64_t horizontalBlockNum = static_cast<int64_t>(DivCeil(width, blockWidth_)); in GetVideoHeightRangeForWidth()
232 int64_t blockPerFrame = DivCeil(width, blockWidth_) * static_cast<int64_t>(DivCeil(height, blockHeight_)); in GetSupportedFrameRatesFor()
319 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) { in UpdateBlockParams()
320 if (blockWidth_ in UpdateBlockParams()
[all...]
/foundation/multimedia/player_framework/frameworks/native/avcodeclist/
H A Davcodec_info.cpp174 int64_t blockPerFrame = DivCeil(width, blockWidth_) * static_cast<int64_t>(DivCeil(height, blockHeight_)); in GetSupportedFrameRatesFor()
214 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) { in UpdateBlockParams()
215 CHECK_AND_RETURN(blockWidth_ != 0 && blockHeight_ != 0); in UpdateBlockParams()
216 factor = blockWidth * blockHeight / blockWidth_ / blockHeight_; in UpdateBlockParams()
218 horizontalBlockRange_ = DivRange(horizontalBlockRange_, blockWidth / blockWidth_); in UpdateBlockParams()
220 } else if (blockWidth < blockWidth_ && blockHeight < blockHeight_) { in UpdateBlockParams()
222 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight; in UpdateBlockParams()
227 blockWidth_ = std::max(blockWidth_, blockWidth); in UpdateBlockParams()
255 blockWidth_ in InitParams()
[all...]
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Davcodec_info_coverage_unit_test.cpp313 EXPECT_EQ(videoCaps_->blockWidth_, BLOCK_SIZE_MIN); in HWTEST_F()
327 EXPECT_EQ(videoCaps_->blockWidth_, BLOCK_SIZE_MIN); in HWTEST_F()
428 * 2.blockWidth_ equals zero
433 videoCaps_->blockWidth_ = initialWidth; in HWTEST_F()
555 videoCaps_->blockWidth_ = 0; in HWTEST_F()
571 videoCaps_->blockWidth_ = 0; in HWTEST_F()
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h468 int32_t blockWidth_ = 0; member in OHOS::MediaAVCodec::VideoCaps

Completed in 5 milliseconds