Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Talk:Template universal app for video recording with MediaCapture using Imaging SDK Filters

From Wiki
Jump to: navigation, search

Contents

Chintandave er - edited and suggestions,

HI, Thanks for this article,

I have edited this articles and correct Contest page link in note (which was wrong from our side), I have also edited article metadata Template, before it was not showing.

Please note whenever there is class name or method name using in your explanation you can use icode template like below. I have added it in half of your article.

{{icode|classname}}

Good article, Thanks,

Chintan Dave,

Wiki Moderator.

Chintandave er 10:26, 9 June 2014 (EEST)

Yan -

Really cool article. Maybe you could :

Generally, you should avoid using namespace XXX in c++ header.

In rendering part i thinks you should create a Bitmap to interface output memory and avoid final copy

yan_ (talk) 11:11, 10 June 2014 (EEST)

Leemcpherson -

Thanks for the suggestions. I'm a C++ novice so there may be problems with it even though it "works", so I'll take the suggestions seriously.

In any case, I need to update it anyways as I have made some changes to the C++ class in developing a sample app that is in the store... I'm going to add a link to the sample app in the summary section.

leemcpherson (talk) 03:31, 12 June 2014 (EEST)

Leemcpherson - Major update to code

I changed how the C# app communicates with the C++ component through IPropertySet. Now, you can pass a List<IImageProvider> that is generated in C# through the IPropertySet to the effect. It's so much easier and I should have done this in the first place. I just wasn't sure it was possible ... but I guess it is. :)

Yan: I will try to move namespace using statements... but whoever wrote the sample at Microsoft is the one who started this mess :)

Also, I will try the interface to output memory suggestion as this could probably speed things up a lot.

leemcpherson (talk) 18:29, 12 June 2014 (EEST)

Yan -

Now, you can pass a List<IImageProvider> 

Coool :) so you can cast it to IImageConsumer to change source?

It could be interesting to test with

i'll certainly do it once you have finish your sample :)

Also, I will try the interface to output memory suggestion as this could probably speed things up a lot.
It should not be complicate, you have ever AsBitmapYUY2 and AsBitmapNV12 function :)

yan_ (talk) 18:41, 12 June 2014 (EEST)

Leemcpherson -

You're right, that was easy. Ok, CopyMemory is gone and replaced with a better constructor for the BitmapRenderer that contains a BitmapImage created from the destination array and AsBitmapYUY2 (and NV12).


Yes, you can cast any of the IImageProvider in the list to IImageConsumer. I have to do that in the code to link up the first effect to the BitmapImageSource.

I really want to get a function version of the ChromaKeyFilter with BlendFilter working. The linear pipeline I have setup currently will not work. I have some ideas though...

leemcpherson (talk) 19:32, 12 June 2014 (EEST)

Yan -

I really want to get a function version of the ChromaKeyFilter with BlendFilter working. The linear pipeline I have setup currently will not work

You could look how i've make recipe template  :https://github.com/yan-verdavaine/wp8-sample/blob/master/Imaging/ImagingSDKFilterTemplate/CSharp/Recipe/RecipeTemplate.cs

For your case, i thinks you could modify "IImageProvider Source property" to set the source to the blendfilter or ChromaKeyFilter instead of begin.

yan_ (talk) 22:40, 12 June 2014 (EEST)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×