Hello, i took one of your samples and included a small linux framebuffer output
routine to it.
Now i can watch mpeg2 videos on console.
My problem is, i use a very slow cpu (blackfin architecture) and the video is
slow.
If i use the mplayer on the same system, the video is a little bit faster, but
the mplayer uses the same library.
Is there a way to increase the speed of my video using libmpeg2?
Or if someone have a better working framebuffer routine can he post it to me?
thats mine:
static void print_screen (int width, int height, uint8_t * buf)
{
a=0;
for(y=0;y<height;y++)
for(x=0;x<width;x++){
location = (x+vinfo.xoffset) * (vinfo.bits_per_pixel/8) +
(y+vinfo.yoffset) * finfo.line_length;
*(fbp + location) = buf[a];
*(fbp + location + 1) = buf[a+1];
a=a+2;
}
}
greetings jan
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Libmpeg2-devel mailing list
Libmpeg2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmpeg2-devel