Closed mmaitre314 closed 9 years ago
SUPPPPPPPPPER, can't wait :)
Thanks, David
Date: Sun, 19 Apr 2015 00:40:36 -0700 From: notifications@github.com To: VideoEffect@noreply.github.com Subject: [VideoEffect] Enable Win2D video effects (#11)
Need a Win2D-equivalent of IBitmapVideoEffect for hardware-accelerated video effects in Bgra8 format.
See https://github.com/Microsoft/Win2D. Probably need to split the NuGet package into two to avoid pulling two other NuGet packages when not needed. ShaderEffectDefinitionXxx should go into the new Graphics package.
Tentative syntax:
class MyEffect : ICanvasVideoEffect
{
public void Process(CanvasBitmap input, CanvasRenderTarget output, TimeSpan time)
{
using (var ds = output.CreateDrawingSession())
using (var brush = new CanvasImageBrush(input.device,input))
{
....
}
}
}
— Reply to this email directly or view it on GitHub.
The implementation is checked in: cfd3f13b5834b644d040d32065ff4ed87f6194f3. I need to add more tests before publishing the NuGet.
2.3.0 is out with support for Win2D effects (aka CanvasEffect). I did some basic testing on Desktop and Lumia 520. Could you kick the tires on your side too, see if I didn't miss any major bug?
Thank you !!!!!!! I will try immediately :)
Dvaid
Date: Wed, 22 Apr 2015 23:02:06 -0700 From: notifications@github.com To: VideoEffect@noreply.github.com CC: david@venetasoft.it Subject: Re: [VideoEffect] Enable Win2D video effects (#11)
2.3.0 is out with support for Win2D effects (aka CanvasEffect). I did some basic testing on Desktop and Lumia 520. Could you kick the tires on your side too, see if I didn't miss any major bug?
— Reply to this email directly or view it on GitHub.
Need a Win2D-equivalent of IBitmapVideoEffect for hardware-accelerated video effects in Bgra8 format. See https://github.com/Microsoft/Win2D. Probably need to split the NuGet package into two to avoid pulling two other NuGet packages when not needed. ShaderEffectDefinitionXxx should go into the new Graphics package.
Tentative syntax:
class MyEffect : ICanvasVideoEffect { public void Process(CanvasBitmap input, CanvasRenderTarget output, TimeSpan time) { using (var ds = output.CreateDrawingSession()) using (var brush = new CanvasImageBrush(input.device,input)) { .... }
} }