Talk:Template universal app for video recording with MediaCapture using Imaging SDK Filters
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.
Good article, Thanks,
Chintan Dave,Wiki Moderator.
Chintandave er 10:26, 9 June 2014 (EEST)
Really cool article. Maybe you could :
- explain CImagingEffect should implement an C++/CX interface AND COM interface
- list quickly method/properties
- remove UYVY from your supported list. (http://msdn.microsoft.com/en-us/library/windows/desktop/dd206750(v=vs.85).aspx#uyvy)
- try to give pipeline as filter parameters? You could use IImageProvider and IImageConsummer interface.
Generally, you should avoid using namespace XXX in c++ header.
talk) 11:11, 10 June 2014 (EEST)(
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.
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.
talk) 18:29, 12 June 2014 (EEST)(
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
- the recipe template : http://developer.nokia.com/community/wiki/Template_app_for_developing_Imaging_SDK_Effects#RecipeTemplate
- the pipelineManger : http://developer.nokia.com/community/discussion/showthread.php/247617-How-to-apply-list-of-custom-base-effects-at-one-time?p=939558&viewfull=1#post939558
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 :)
talk) 18:41, 12 June 2014 (EEST)(
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).
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...
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.
talk) 19:32, 12 June 2014 (EEST)(
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.csFor your case, i thinks you could modify "IImageProvider Source property" to set the source to the blendfilter or ChromaKeyFilter instead of begin.
talk) 22:40, 12 June 2014 (EEST)(