Home
last modified time | relevance | path

Searched refs:blockHeight (Results 1 - 10 of 10) sorted by relevance

/foundation/multimedia/player_framework/frameworks/native/avcodeclist/
H A Davcodec_info.cpp210 void VideoCaps::UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, in UpdateBlockParams() argument
214 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) { 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()
221 CHECK_AND_RETURN(blockWidth != 0 && blockHeight != 0); in UpdateBlockParams()
222 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight; in UpdateBlockParams()
228 blockHeight_ = std::max(blockHeight_, blockHeight); in UpdateBlockParams()
/foundation/multimedia/av_codec/frameworks/native/avcodeclist/
H A Davcodec_info.cpp315 void VideoCaps::UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, Range &blockPerFrameRange, in UpdateBlockParams() argument
319 if (blockWidth > blockWidth_ && blockHeight > blockHeight_) { in UpdateBlockParams()
323 factor = blockWidth * blockHeight / blockWidth_ / blockHeight_; in UpdateBlockParams()
327 verticalBlockRange_ = DivRange(verticalBlockRange_, blockHeight / blockHeight_); in UpdateBlockParams()
328 } else if (blockWidth < blockWidth_ && blockHeight < blockHeight_) { in UpdateBlockParams()
329 if (blockWidth == 0 || blockHeight == 0) { in UpdateBlockParams()
332 factor = blockWidth_ * blockHeight_ / blockWidth / blockHeight; in UpdateBlockParams()
338 blockHeight_ = std::max(blockHeight_, blockHeight); in UpdateBlockParams()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_ktx.cpp215 const auto blockHeight = formatInfo.blockHeight; in ProcessMipmapLevel() local
217 const auto heightBlockCount = (elementHeight + (blockHeight - 1)) / blockHeight; in ProcessMipmapLevel()
219 image->imageBuffers_[imageBufferIndex].bufferImageHeight = heightBlockCount * blockHeight; in ProcessMipmapLevel()
312 desc.blockPixelHeight = formatInfo.blockHeight; in ResolveImageDesc()
H A Dgl_util.h302 uint8_t blockHeight; member
/foundation/arkui/ace_engine/advanced_ui_component/gridobjectsortcomponent/interfaces/
H A Dgridobjectsortcomponent.js93 this.__blockHeight = new ObservedPropertySimplePU(0, this, "blockHeight");
200 if (s16.blockHeight !== undefined) {
201 this.blockHeight = s16.blockHeight;
531 get blockHeight() {
534 set blockHeight(c16) {
832 this.blockHeight = this.gridComState ?
906 if (!this.gridComState || (j13.x < this.blockWidth / 3 && j13.y < this.blockHeight / 3)) {
984 p12 = this.blockHeight * t12;
1014 b12 = b12 - this.blockHeight;
[all...]
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/
H A Dimage_utils.cpp892 uint32_t blockHeight = 0; in GetAstcBytesCount() local
897 blockHeight = ASTC_4X4_BLOCK; in GetAstcBytesCount()
901 blockHeight = ASTC_6X6_BLOCK; in GetAstcBytesCount()
905 blockHeight = ASTC_8X8_BLOCK; in GetAstcBytesCount()
912 if ((blockWidth >= ASTC_4X4_BLOCK) && (blockHeight >= ASTC_4X4_BLOCK)) { in GetAstcBytesCount()
914 ((imageInfo.size.height + blockHeight - 1) / blockHeight) * ASTC_BLOCK_SIZE + ASTC_HEADER_SIZE; in GetAstcBytesCount()
/foundation/multimedia/av_codec/test/unittest/codeclist_test/coverage_unit_test/
H A Davcodec_info_coverage_unit_test.cpp310 constexpr int32_t blockHeight = 1; in HWTEST_F() local
312 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range); in HWTEST_F()
319 * @tc.desc: blockHeight equals zero
324 constexpr int32_t blockHeight = 0; in HWTEST_F() local
326 videoCaps_->UpdateBlockParams(blockWidth, blockHeight, range, range); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_slider_modifier.cpp107 Dimension blockHeight = Dimension(static_cast<double>(heightVal), in SetBlockSize() local
113 if (LessNotEqual(blockHeight.Value(), 0.0)) { in SetBlockSize()
114 blockHeight.SetValue(0.0); in SetBlockSize()
116 SliderModelNG::SetBlockSize(frameNode, blockWidth, blockHeight); in SetBlockSize()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_slider_bridge.cpp132 CalcDimension blockHeight; in SetBlockSize() local
134 bool hasBlockHeight = ArkTSUtils::ParseJsDimensionVp(vm, thirdArg, blockHeight); in SetBlockSize()
142 blockHeight.Value(), static_cast<int>(blockHeight.Unit())); in SetBlockSize()
/foundation/multimedia/av_codec/interfaces/inner_api/native/
H A Davcodec_info.h485 void UpdateBlockParams(const int32_t &blockWidth, const int32_t &blockHeight, Range &blockPerFrameRange,

Completed in 13 milliseconds