Lines Matching refs:height
38 bool Handle(const char* buffer, uint32_t width, uint32_t height) override
40 return adapter_->OutputFrameCallback(buffer, width, height, surface_);
55 std::shared_ptr<NWebEngineInitArgs> initArgs, uint32_t width, uint32_t height, bool incognitoMode)
67 createInfo->SetHeight((height == 0) ? (uint32_t)surface->GetDefaultHeight() : height);
74 bool NWebSurfaceAdapter::OutputFrameCallback(const char *buffer, uint32_t width, uint32_t height,
83 sptr<SurfaceBuffer> surfaceBuffer = this->RequestBuffer(surface, width, height);
88 if (!this->CopyFrame(surfaceBuffer, buffer, width, height)) {
93 return this->FlushBuffer(surface, surfaceBuffer, width, height);
96 sptr<SurfaceBuffer> NWebSurfaceAdapter::RequestBuffer(sptr<Surface> surface, uint32_t width, uint32_t height)
104 .height = height,
130 sptr<SurfaceBuffer> surfaceBuffer, const char *src, uint32_t width, uint32_t height)
146 for (uint32_t currHeight = 0; currHeight < height; ++currHeight) {
148 WVLOG_E("copy size overflow, drop this frame(%{public}u*%{public}u)", width, height);
165 sptr<Surface> surface, sptr<SurfaceBuffer> surfaceBuffer, uint32_t width, uint32_t height)
174 .h = height,