×

Discussion Board

Search:

Type: Posts; User: small2; Keyword(s):

Search: Search took 0.00 seconds; generated 2 minute(s) ago.

  1. Re: How to implement the slider control just like the camera app in lumia 1020

    I don't think it was a smart idea that "blend" the in-build slider control actually. :)
  2. Re: How to implement the slider control just like the camera app in lumia 1020

    Oh ,may be it was blocked by the GFW, how about this one?...
  3. Re: How to implement the slider control just like the camera app in lumia 1020

    well, I had tried before, and here was my demo project on my skydrive : http://sdrv.ms/1bE6Scd
    There were several bugs.
    Note: change the LayoutRoot like this :

    <Grid x:Name="LayoutRoot"...
  4. How to implement the slider control just like the camera app in lumia 1020

    Hi,all could any give me some tips that how to implement the slider control looks like the following :
    http://static.cnbetacdn.com/newsimg/2013/0711/01373556357.jpg_w600.jpg

    Thanks !
  5. Re: troubles on showing argb data in a surface control

    That's my bad! I forgot to change the rendertarget size, as default, it was the screen resolution, after I changed the value to the PhotoCaptureDevice.Previewresolution, it worked fine!
  6. Re: troubles on showing argb data in a surface control

    I had solved this issue by implemented a thread with manuresetevent:


    while (true)
    {
    ManualResetEvent resetEvent = new ManualResetEvent(true);
    ...
  7. Re: troubles on showing argb data in a surface control

    I think I had found the reason why the screen shake. When I put my finger in the front of the camera, and move the finger up and down, the screen's refresh rate could not catch up on with the...
  8. Re: troubles on showing argb data in a surface control

    HI, yan, I modified your project and created a simple demo, so far I was stucking in the several problems.
    1. the texture could not fill the full-screen(not offf-screen ,as your original project...
  9. Re: troubles on showing argb data in a surface control

    Well, I got it!
  10. Re: troubles on showing argb data in a surface control

    Thanks for the wonderful tips. But I found that it was not necessary to create the texture every time when passing the argb data, just update the texture data the next time(use map/unmap ?).
  11. Re: troubles on showing argb data in a surface control

    After I changed the way passing data to the d3d compotent from thread to PreviewFrameAviale event, I can get a framerate of 25 on my 920.
  12. Re: troubles on showing argb data in a surface control

    Acturally it was with my company worked for.


    Thanks for the tips, I'll check it later.


    That couldn ' t be better。:D


    Well ,dose it could render smoothly, just like the viewfinder of...
  13. Re: troubles on showing argb data in a surface control

    Hi, yan_

    When I debug the d3d compontent, the out put window print a bunch of warning s like this:

    D3D11 WARNING: ID3D11DeviceContext::DrawIndexed: The Pixel Shader unit expects a Sampler to be...
  14. Re: troubles on showing argb data in a surface control

    That is wonderful !
  15. Re: troubles on showing argb data in a surface control

    Thanks very much, it helps me a lot! That is just what I'm looking for, dispite it seems like a little complex for me now, but I think I could handle it well.
  16. Re: troubles on showing argb data in a surface control

    Hi, thanks for the attention.
    Here are the sample project:
    http://sdrv.ms/11BzVXs

    I just want to show this girl(a.jpg) on the drawsurface control. but as you know, WIC(Windows Imaging Component)...
  17. Replies
    1
    Views
    1,553

    Add the frame to a Picture

    Hi, all
    I found many picture processing apps in windows phone store. And most of them were able to add a frame to the picture and dynamically changed it. I'd like to implement a similarly feature in...
  18. Re: Rotate the viewfinder & Capture a portrait image in Windows Phone

    Wow, it works. Thanks very much! I had misunderstood your advices before! But it seems like I can't render and fill the fullscreen with the texture(640*480) . What a pity!
  19. Re: Rotate the viewfinder & Capture a portrait image in Windows Phone

    Hi, I had solved the second problem yet.
    I tried to add a rotation when I draw the texture like this.



    Microsoft.Xna.Framework.Rectangle rec2 = new Microsoft.Xna.Framework.Rectangle(0, 0,...
  20. Re: Rotate the viewfinder & Capture a portrait image in Windows Phone

    Hi, thanks for the reply, I had read the post before, and it was not fit for me. It was used in Silverlight Framework, not SL/XNA mixed framework. As the example by Yan, in Sl/XNA, he used the...
  21. Re: Rotate the viewfinder & Capture a portrait image in Windows Phone

    Hi, thanks for the reply, I had read the post before, and it was not fit for me. It was used in Silverlight Framework, not SL/XNA mixed framework. As the example by Yan, in Sl/XNA, he used the...
  22. Re: Rotate the viewfinder & Capture a portrait image in Windows Phone

    I had solved the second problem: capture a portrait layout picture.
    Here is the...
  23. Rotate the viewfinder & Capture a portrait image in Windows Phone

    Hi,all

    I'm creating a camera app based on Silverlight/XNA framework as the yan_ 's example Use Camera with XNA, but in when the page oritation changed to the Portrait , the viewfinder of camera...
  24. Re: How crate a "PhoneApplicationPage" not by XAML file on Window Phone 7?

    I'm afrid it was impossiable!
Results 1 to 24 of 24
×