Searched refs:blockHeight_ (Results 1 - 4 of 4) sorted by relevance
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 163 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() 182 int64_t verticalBlockNum = static_cast<int64_t>(DivCeil(height, blockHeight_)); in GetVideoWidthRangeForHeight() 203 if (blockWidth_ != 0 && blockHeight_ != 0) { in GetVideoHeightRangeForWidth() 211 Range((verticalBlockNum.minVal - 1) * blockHeight_ + data_->alignment.height, in GetVideoHeightRangeForWidth() 212 verticalBlockNum.maxVal * blockHeight_)); 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_ == 0 || blockHeight_ in UpdateBlockParams() [all...] |
/foundation/multimedia/player_framework/frameworks/native/avcodeclist/ |
H A D | avcodec_info.cpp | 174 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() 219 verticalBlockRange_ = DivRange(verticalBlockRange_, blockHeight / blockHeight_);
in UpdateBlockParams() 220 } else if (blockWidth < blockWidth_ && blockHeight < blockHeight_) {
in UpdateBlockParams() 222 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight;
in UpdateBlockParams() 228 blockHeight_ = std::max(blockHeight_, blockHeight);
in UpdateBlockParams() 256 blockHeight_ in InitParams() [all...] |
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/ |
H A D | avcodec_info_coverage_unit_test.cpp | 314 EXPECT_EQ(videoCaps_->blockHeight_, BLOCK_SIZE_MIN); in HWTEST_F() 328 EXPECT_EQ(videoCaps_->blockHeight_, BLOCK_SIZE_MIN); in HWTEST_F() 440 * 2.blockHeight_ equals zero 445 videoCaps_->blockHeight_ = initialHeight; in HWTEST_F()
|
/foundation/multimedia/av_codec/interfaces/inner_api/native/ |
H A D | avcodec_info.h | 469 int32_t blockHeight_ = 0; member in OHOS::MediaAVCodec::VideoCaps
|
Completed in 4 milliseconds