Home
last modified time | relevance | path

Searched refs:textureHeight (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/
H A Doutput.cpp83 opts.size.height = std::ceil(data.textureHeight); in EncodeToPixelMap()
95 …uint32_t bufferSize = static_cast<uint32_t>(data.textureWidth * data.textureHeight * COLOR_CHANNEL… in WriteToBuffer()
99 …glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, data.textureWidth, data.textureHeight, 0, GL_RGBA, GL_UNSI… in WriteToBuffer()
102 glViewport(0, 0, data.textureWidth, data.textureHeight); in WriteToBuffer()
107 …glReadPixels(0, 0, data.textureWidth, data.textureHeight, GL_RGBA, GL_UNSIGNED_BYTE, colorBuffer_.… in WriteToBuffer()
H A Dinput.cpp54 data.textureHeight = pixelMap_->GetHeight(); in DecodeFromPixelMap()
58 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, data.textureWidth, data.textureHeight, in DecodeFromPixelMap()
69 data.textureHeight = bufferHeight_; in DecodeFromBuffer()
72 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, data.textureWidth, data.textureHeight, in DecodeFromBuffer()
H A Dscale_filter.cpp41 data.textureHeight = std::floorf(scale_ * data.textureHeight); in DoProcess()
H A Dalgo_filter.cpp29 …glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, data.textureWidth, data.textureHeight, 0, GL_RGBA, GL_UNSI… in Prepare()
32 glViewport(0, 0, data.textureWidth, data.textureHeight); in Prepare()
H A Dfilter.cpp29 if (data.textureWidth == 0 || data.textureHeight == 0) { in Process()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Dxcomponent_element.cpp415 …ponentElement::OnXComponentSizeInit(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in OnXComponentSizeInit() argument
434 surfaceHeight_ = textureHeight * viewScale; in OnXComponentSizeInit()
441 … (int)(textureWidth * viewScale), (int)(textureHeight * viewScale)); in OnXComponentSizeInit()
462 texture_->SetSize(textureId, textureWidth, textureHeight, in OnXComponentSizeInit()
478 …nentElement::OnXComponentSizeChange(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in OnXComponentSizeChange() argument
495 surfaceHeight_ = textureHeight * viewScale; in OnXComponentSizeChange()
501 (int)(textureWidth * viewScale), (int)(textureHeight * viewScale)); in OnXComponentSizeChange()
508 texture_->SetSize(textureId, textureWidth, textureHeight, in OnXComponentSizeChange()
H A Dxcomponent_element.h72 void OnXComponentSizeInit(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
73 void OnXComponentSizeChange(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/camera/
H A Dcamera_element.cpp150 … [weak = WeakClaim(this)](int64_t textureId, int32_t textureWidth, int32_t textureHeight) { in Prepare() argument
153 cameraElement->OnTextureSize(textureId, textureWidth, textureHeight); in Prepare()
200 void CameraElement::OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in OnTextureSize() argument
211 LOGI("CameraElement:OnTextureSize %{public}d %{public}d ", textureWidth, textureHeight); in OnTextureSize()
212 camera_->OnCameraSizeChange(textureWidth, textureHeight); in OnTextureSize()
224 camera_->SetPreViewSize(textureWidth, textureHeight); in OnTextureSize()
228 texture_->OnSize(textureId, textureWidth, textureHeight); in OnTextureSize()
H A Dcamera_element.h67 void OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/resource/
H A Dtexture.cpp115 void Texture::OnSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in OnSize() argument
119 << PARAM_AND << TEXTURE_HEIGHT << PARAM_EQUALS << textureHeight; in OnSize()
H A Dext_texture.cpp97 void ExtTexture::SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in SetSize() argument
102 << TEXTURE_HEIGHT << PARAM_EQUALS << textureHeight; in SetSize()
H A Dtexture.h36 void OnSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
H A Dext_texture.h33 void SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/
H A Dnative_texture.cpp114 void NativeTexture::SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight, in SetSize() argument
120 << TEXTURE_HEIGHT << XCOMPONENT_PARAM_EQUALS << textureHeight << XCOMPONENT_PARAM_AND in SetSize()
H A Dnative_texture.h34 void SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight,
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/include/
H A Dfilter.h38 int textureHeight; member
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/
H A Dfilter_unittest.cpp122 data.textureHeight = 1;
152 data.textureHeight = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Dvideo_element.h118 void OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
H A Dvideo_element.cpp608 … [weak = WeakClaim(this)](int64_t textureId, int32_t textureWidth, int32_t textureHeight) { in Prepare() argument
611 videoElement->OnTextureSize(textureId, textureWidth, textureHeight); in Prepare()
630 void VideoElement::OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight) in OnTextureSize() argument
634 texture_->OnSize(textureId, textureWidth, textureHeight); in OnTextureSize()
645 textureHeight_ = textureHeight * viewScale + 1; in OnTextureSize()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.h128 void InitNativeWindow(float textureWidth, float textureHeight);
H A Dxcomponent_pattern.cpp668 void XComponentPattern::InitNativeWindow(float textureWidth, float textureHeight) in InitNativeWindow() argument
678 …static_cast<uint32_t>(textureWidth * viewScale), static_cast<uint32_t>(textureHeight * viewScale)); in InitNativeWindow()