Click here to Skip to main content
15,898,036 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CWinThread Question Pin
ForNow16-Mar-09 12:55
ForNow16-Mar-09 12:55 
GeneralRe: CWinThread Question Pin
«_Superman_»16-Mar-09 18:34
professional«_Superman_»16-Mar-09 18:34 
QuestionCMDIChildWnd problem Pin
prithaa16-Mar-09 5:39
prithaa16-Mar-09 5:39 
QuestionConflation algorithm [modified] Pin
lokesh143.surana16-Mar-09 4:12
lokesh143.surana16-Mar-09 4:12 
AnswerRe: Conflation algorithm Pin
CPallini16-Mar-09 4:20
mveCPallini16-Mar-09 4:20 
AnswerRe: Conflation algorithm Pin
Cedric Moonen16-Mar-09 4:44
Cedric Moonen16-Mar-09 4:44 
AnswerRe: Conflation algorithm Pin
Michael Schubert16-Mar-09 4:47
Michael Schubert16-Mar-09 4:47 
QuestionNeed help to create DirectShow filter to read RGB 32/RGB 24 bit pixels Pin
Andy Rama16-Mar-09 3:37
Andy Rama16-Mar-09 3:37 
Hi to all,

I am creating a DirectShow filter, that will only read the RGB pixel (32 bit) from MPEG-2 input video source.
I am connecting it after MPEG-2 Video Decoder as follows,
MPEG-2 Video Decoder --> My Custom Filter --> Video Renderer
I am receiving video size from My Custom Filter is 720x480, but actual video size if 720x576.

Code within CheckInputType(const CMediaType *mtIn) & CheckTransform(const CMediaType *mtIn, const CMediaType *mtOut) functions looks as follows,
<br />
if (IsEqualGUID(*mtIn->Type(), MEDIATYPE_Video))<br />
        if (IsEqualGUID(*mtIn->Subtype(), MEDIASUBTYPE_RGB32))<br />
		{<br />
            VIDEOINFOHEADER *pvi = (VIDEOINFOHEADER *)mtIn->Format();<br />
            return (pvi->bmiHeader.biBitCount == 32);<br />
		}<br />

Is there anything I have to change/add?
Even any solution with RGB 24 bit is also fine.

I appreciate any and all comments and suggestions.

Thanks & Regards,
Aniket A. Salunkhe
AnswerRe: Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels Pin
Code-o-mat16-Mar-09 5:13
Code-o-mat16-Mar-09 5:13 
GeneralRe: Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels Pin
Andy Rama16-Mar-09 22:20
Andy Rama16-Mar-09 22:20 
GeneralRe: Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels Pin
Code-o-mat17-Mar-09 0:55
Code-o-mat17-Mar-09 0:55 
GeneralRe: Need help to create DirectShow filter to read RGB 32/RGB 24 bit pixels Pin
Andy Rama19-Mar-09 0:51
Andy Rama19-Mar-09 0:51 
QuestionHow To store and retrieve images from database in VC++ Pin
savitri16-Mar-09 3:01
savitri16-Mar-09 3:01 
AnswerRe: How To store and retrieve images from database in VC++ Pin
Cedric Moonen16-Mar-09 3:12
Cedric Moonen16-Mar-09 3:12 
GeneralRe: How To store and retrieve images from database in VC++ Pin
Eytukan16-Mar-09 4:47
Eytukan16-Mar-09 4:47 
AnswerRe: How To store and retrieve images from database in VC++ Pin
bulg16-Mar-09 7:44
bulg16-Mar-09 7:44 
GeneralRe: How To store and retrieve images from database in VC++ Pin
savitri16-Mar-09 19:54
savitri16-Mar-09 19:54 
QuestionHelp Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
pandit8416-Mar-09 3:00
pandit8416-Mar-09 3:00 
AnswerRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS [modified] Pin
Michael Schubert16-Mar-09 3:44
Michael Schubert16-Mar-09 3:44 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
pandit8416-Mar-09 4:26
pandit8416-Mar-09 4:26 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
Michael Schubert16-Mar-09 4:31
Michael Schubert16-Mar-09 4:31 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
pandit8416-Mar-09 4:38
pandit8416-Mar-09 4:38 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
Michael Schubert16-Mar-09 4:45
Michael Schubert16-Mar-09 4:45 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
pandit8416-Mar-09 4:51
pandit8416-Mar-09 4:51 
GeneralRe: Help Buttons caption ( MessageBox ) showing "?" in Italian OS Pin
Michael Schubert16-Mar-09 5:00
Michael Schubert16-Mar-09 5:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.