Lines Matching defs:width
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)
66 createInfo->SetWidth((width == 0) ? (uint32_t)surface->GetDefaultWidth() : width);
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)
103 .width = width,
130 sptr<SurfaceBuffer> surfaceBuffer, const char *src, uint32_t width, uint32_t height)
142 uint32_t srcStride = width * BITS_PER_PIXEL;
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)
173 .w = width,