Click here to Skip to main content
15,910,083 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: files and folders Pin
Ravi Bhavnani1-Aug-04 17:37
professionalRavi Bhavnani1-Aug-04 17:37 
Generaloy ! Pin
bikram singh1-Aug-04 18:11
bikram singh1-Aug-04 18:11 
GeneralRe: oy ! Pin
Ravi Bhavnani2-Aug-04 2:26
professionalRavi Bhavnani2-Aug-04 2:26 
GeneralRe: oy ! Pin
bikram singh2-Aug-04 3:28
bikram singh2-Aug-04 3:28 
QuestionNeed Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
baboguru1-Aug-04 15:41
baboguru1-Aug-04 15:41 
AnswerRe: Need Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
Ryan Binns1-Aug-04 18:31
Ryan Binns1-Aug-04 18:31 
GeneralRe: Need Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
baboguru1-Aug-04 22:45
baboguru1-Aug-04 22:45 
GeneralRe: Need Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
Ryan Binns1-Aug-04 23:07
Ryan Binns1-Aug-04 23:07 
baboguru wrote:
Is there any ways to overlay texts on the OffScreenSurface(video buffer)
of which pixel format is YUV, not RGB?


You can get a pointer to the raw image data in memory, which you can write to however you like. There are libraries out there which can abstract this into pixels for various pixel formats (AntiGrain Geometry[^] comes to mind), or you can work out the data yourself. But there are no Windows calls to do it for you.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Need Help!! GetDC failed when OffScreenSurface's YUV pixel format in directdraw? Pin
baboguru2-Aug-04 1:05
baboguru2-Aug-04 1:05 
GeneralSelect Folder Dialog Pin
Archer2821-Aug-04 15:32
Archer2821-Aug-04 15:32 
GeneralRe: Select Folder Dialog Pin
Ravi Bhavnani1-Aug-04 16:11
professionalRavi Bhavnani1-Aug-04 16:11 
GeneralRe: Select Folder Dialog Pin
Michael Dunn1-Aug-04 19:26
sitebuilderMichael Dunn1-Aug-04 19:26 
Generalnumbers Pin
locoone1-Aug-04 12:59
locoone1-Aug-04 12:59 
GeneralRe: numbers Pin
Archer2821-Aug-04 13:20
Archer2821-Aug-04 13:20 
GeneralRe: numbers Pin
locoone1-Aug-04 17:50
locoone1-Aug-04 17:50 
GeneralRe: numbers Pin
Ravi Bhavnani1-Aug-04 14:19
professionalRavi Bhavnani1-Aug-04 14:19 
Generalone more file io (?) Pin
namethatnooneelsetook1-Aug-04 11:56
namethatnooneelsetook1-Aug-04 11:56 
GeneralRe: one more file io (?) Pin
Ravi Bhavnani1-Aug-04 12:10
professionalRavi Bhavnani1-Aug-04 12:10 
GeneralRe: one more file io (?) Pin
Ayman Mahmoud1-Aug-04 12:40
Ayman Mahmoud1-Aug-04 12:40 
Generalhelp with file io in mfc Pin
namethatnooneelsetook1-Aug-04 10:31
namethatnooneelsetook1-Aug-04 10:31 
GeneralRe: help with file io in mfc Pin
Ravi Bhavnani1-Aug-04 11:18
professionalRavi Bhavnani1-Aug-04 11:18 
Generaldeclaring variables without using classwizard Pin
lyn1-Aug-04 9:52
lyn1-Aug-04 9:52 
GeneralRe: declaring variables without using classwizard Pin
Stan Shannon1-Aug-04 13:29
Stan Shannon1-Aug-04 13:29 
GeneralRe: declaring variables without using classwizard Pin
lyn1-Aug-04 18:34
lyn1-Aug-04 18:34 
Generalarray Pin
mostafa_pasha1-Aug-04 9:44
mostafa_pasha1-Aug-04 9:44 

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.