From: Daniela Calderon (danielacpucci10++at++yahoo.com)
Date: 11/08/2004 16:50:31
Hello, I have this program that has as input a dv camara video and it
makes it to a
(uint *)pStr->m_pTexImage
which i use with pftexture to show the video
i'm using this parameters:
m_pTexture->setFormat(PFTEX_MINFILTER, PFTEX_LINEAR);
m_pTexture->setFormat(PFTEX_MAGFILTER, PFTEX_LINEAR);
m_pTexture->setFormat(PFTEX_EXTERNAL_FORMAT, PFTEX_PACK_8);
m_pTexture->setFormat(PFTEX_SUBLOAD_FORMAT, PF_ON);
m_pTexture->setFormat(PFTEX_INTERNAL_FORMAT, PFTEX_RGBA_8);
m_pTexture->setFormat(PFTEX_IMAGE_FORMAT, PFTEX_RGBA);
m_pTexture->setRepeat(PFTEX_WRAP, PFTEX_CLAMP);
gstate->setFuncs(loadTex, NULL, this);
and on the loadtex function i just:
pStr->m_pTexture->setImage((uint *)pStr->m_pTexImage, 4,
pStr->m_iTexSize[0],pStr->m_iTexSize[1], 0);
The video is ok, but if i choose 720*480 resolution it is a flicker and
a delay of 2 seconds in the image.. more or less.
any ideas on how to make this resolution to work better and in really
real time
dcp
pd. sorry for my english
---------------------------------
Do you Yahoo!?
Check out the new Yahoo! Front Page. www.yahoo.com
This archive was generated by hypermail 2b29 : Mon Nov 08 2004 - 16:50:34 PST