Overlay Text

Dear all, Please provide me a procedure for overlaying text over the video through cuda. If any example is available, then please mention the link for same.

Dear all, Please provide me a procedure for overlaying text over the video through cuda. If any example is available, then please mention the link for same.

Please Give me answer urgent

using this function we can draw and moving the text (OpenGL)
DrawText()
{
static int iCount = 0;

int cx, cy;   
glMatrixMode(GL_MODELVIEW);   
glLoadIdentity();   
glListBase(font_base);   
glColor3f(1.0, 1.0, 1.0);   
LONGLONG i = 720;
if(iCount  > i)
{
  iCount++;
  i++;
}
glWindowPos2i(move+(iCount-=TextSpeed), (ymove));
ss<<pCh;
glCallLists(filesize, GL_UNSIGNED_BYTE,ss.str().c_str());
ss.str("");
 glListBase(0);   

}