/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/src/ |
H A D | output.cpp | 83 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 D | input.cpp | 54 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 D | scale_filter.cpp | 41 data.textureHeight = std::floorf(scale_ * data.textureHeight); in DoProcess()
|
H A D | algo_filter.cpp | 29 …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 D | filter.cpp | 29 if (data.textureWidth == 0 || data.textureHeight == 0) { in Process()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_element.cpp | 415 …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 D | xcomponent_element.h | 72 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 D | camera_element.cpp | 150 … [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 D | camera_element.h | 67 void OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/resource/ |
H A D | texture.cpp | 115 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 D | ext_texture.cpp | 97 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 D | texture.h | 36 void OnSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
|
H A D | ext_texture.h | 33 void SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/ |
H A D | native_texture.cpp | 114 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 D | native_texture.h | 34 void SetSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight,
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/effectChain/include/ |
H A D | filter.h | 38 int textureHeight; member
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/effect/test/unittest/ |
H A D | filter_unittest.cpp | 122 data.textureHeight = 1; 152 data.textureHeight = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.h | 118 void OnTextureSize(int64_t textureId, int32_t textureWidth, int32_t textureHeight);
|
H A D | video_element.cpp | 608 … [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 D | xcomponent_pattern.h | 128 void InitNativeWindow(float textureWidth, float textureHeight);
|
H A D | xcomponent_pattern.cpp | 668 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()
|