<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5" -->
<rss version="0.92">
<channel>
	<title>Alex Mogurenko`s Blog</title>
	<link>http://alexmogurenko.com/blog</link>
	<description>Blog about site, programming and life</description>
	<lastBuildDate>Sun, 07 Mar 2010 20:41:48 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>HTCCamera v.1.0</title>
		<description>HTC provides the simpliest DirectShow driver, that does not allow to chose resolution of frame that we want to grab... does not allow to control flash or autofocus and other available settings that default application allows...

Here is first version of HTCCamera class that works directly with driver as result we ...</description>
		<link>http://alexmogurenko.com/blog/uncategorized/htccamera-v10/</link>
			</item>
	<item>
		<title>How to get focused/targeted image?</title>
		<description>After i added functionality to draw target/rectangle on preview, i received some emails with question how to grab part that exactly in rectagnle.

Ok you dont need anything special and any lib, for example you draw target with
[csharp]
Rect _rect
[/csharp]
then to grab that part you need:

1. Grab full image
[csharp]
Bitmap bmp = new ...</description>
		<link>http://alexmogurenko.com/blog/uncategorized/how-to-get-focusedtargeted-image/</link>
			</item>
	<item>
		<title>More samplegrabber chages</title>
		<description>Made some changes in samplegrabber and IGetFrame interface now you can define target position and target type, so new IGetFrame:

[csharp]
[ComVisible(true), ComImport,
Guid("2B21644A-D405-4E27-A51C-A4812bE0CE4C"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IGetFrame
{
[PreserveSig]
int getFrame(IntPtr pBuff);

[PreserveSig]
int getSize([Out] out long size);

[PreserveSig]
int getFrameParams(
[Out] out int width,
[Out] out int height,
[Out] out RawFrameFormat format);

[PreserveSig]
int drawText(
[In] IntPtr ptr,
[In] int height,
[In] int width);

[PreserveSig]
int stopDraw();

[PreserveSig]
int getGrayScale(IntPtr ptr);

[PreserveSig]
int getRgb(IntPtr ...</description>
		<link>http://alexmogurenko.com/blog/programming/more-samplegrabber-chages/</link>
			</item>
	<item>
		<title>Samplegrabber Changes</title>
		<description>I made some changes in native part of library (Samplegrabber) now we can use up to 3 samplegrabbers in the same time and now you can PIvoke for samplegrabber like in bellow code:

[csharp]
[DllImport("DirectShowNETCF.Native.dll")]
private static extern IntPtr GetBaseFilter(int index);

[DllImport("DirectShowNETCF.Native.dll")]
private static extern void DeleteBaseFilter(int index);
[/csharp]

also interface IBaseFrame has been changed:
[csharp]
[ComVisible(true), ComImport,
Guid("2B21644A-D405-4E27-A51C-A4812bE0CE4C"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ...</description>
		<link>http://alexmogurenko.com/blog/programming/samplegrabber-changes/</link>
			</item>
	<item>
		<title>DirectShow.NETCF sources</title>
		<description>I received a lot of requests for share sources of library...
First of all, sorry guys i`m not going to open sources for free, but if somebody really need em for some reasons (sign library, add changes, learn something so on) i ready to sell it. you will have to sign ...</description>
		<link>http://alexmogurenko.com/blog/uncategorized/directshownetcf-sources/</link>
			</item>
	<item>
		<title>[Windows Mobile]Draw Text on preview or SampleGrabber and DirectShow.NETCF</title>
		<description>If you ever used DirectShow under windows then you know that if you want draw text on preview you can use VMRRenderer, but windows mobile dont provide any way to draw text on preview :(

I see there only 1 way to solve it - Draw text directly on stream, so ...</description>
		<link>http://alexmogurenko.com/blog/programming/windows-mobiledraw-text-on-preview-or-samplegrabber-and-directshownetcf/</link>
			</item>
	<item>
		<title>[Windows Mobile] Capturing Raw Frames or SampleGrabber and DirectShow.NETCF</title>
		<description>What is SampleGrabber? this is filter (as a rule Transform or TransInPlace) that goes after filter which samples we are going to grab.

Why do we need SampleGrabber?
1. In windows mobile this is the fastest way to still images, more than that we still uncompressed images (so we dont loose time ...</description>
		<link>http://alexmogurenko.com/blog/programming/windows-mobile-capturing-raw-frames-or-samplegrabber-and-directshownetcf/</link>
			</item>
	<item>
		<title>[Windows Mobile] Changing still image resolution or DirectShow.NETCF part IV</title>
		<description>Most of us who was trying to use DirectShowNETCF found that resolution of stilled image smaller that it could be, for example my device (Samsung i710) got default resolution on still pin 320x240, but i know that it supports resolutions up to 2Mpx. So that should be fixed :)

What do ...</description>
		<link>http://alexmogurenko.com/blog/programming/windows-mobile-changing-still-image-resolution-or-directshownetcf-part-iv/</link>
			</item>
	<item>
		<title>[Windows Mobile]Stilling images from Camera C# or DirectShow .NETCF part III</title>
		<description>Ok, most popular question for last week was: "How to still images from windows mobile camera?"
I finished my project little bit earlier that i was planing, so i have free time again and looking for job too :)

So what do we need? tons extra com interfaces (Ipin, IEnumPins, IEnumFilters, IFileSinkFilter, ...</description>
		<link>http://alexmogurenko.com/blog/programming/windows-mobilestilling-images-from-camera-c-or-directshow-netcf-part-iii/</link>
			</item>
	<item>
		<title>[Windows Mobile] Capturing video from device camera C# or DirectShow.NET CF Part II</title>
		<description>In previous post i explained how to play video or audio on Windows Mobile devices using DirectShow.
I`ve received some emails with request to explain how preview video from device camera.
First of all in Windows Mobile SDK in examples you can find C++ exmaple. I`ve seen examples that suggest  to compile ...</description>
		<link>http://alexmogurenko.com/blog/programming/windows-mobile-capturing-video-from-camera-c/</link>
			</item>
</channel>
</rss>
