On 4 Apr 2007, at 17:27, Martin Wache wrote:
> Torgeir Veimo schrieb:
>>> Ok, that works. But I got an endian issue I guess. Are you
>>> working on
>>> a ppc mac?
>>>
> Yes :-)
>
>>> Here's a screenshot;
>>>
> I had a chance to try it on an intel mac a few weeks ago, I didn't
> have
> the time to fix those problems correctly, but this hack fixes the
> problems...
>
> Bye,
> Martin
> Index: utils.c
> ===================================================================
> RCS file: /cvsroot/softdevice/softdevice/utils.c,v
> retrieving revision 1.25
> diff -u -r1.25 utils.c
> --- utils.c 15 Jan 2007 19:35:13 -0000 1.25
> +++ utils.c 4 Apr 2007 16:24:06 -0000
> @@ -172,9 +172,13 @@
> }
> #endif
> for ( ; i>=2; i-=2 ) {
> +#if 1
> + *((uint32_t *)dest1) = (yc1[1] << 24)+ (vc[0] << 16) + (yc1
> [0] << 8) + (uc[0] << 0);
> + *((uint32_t *)dest2) = (yc2[1] << 24)+ (vc[0] << 16) + (yc2
> [0] << 8) + (uc[0] << 0);
> +#else
> *((uint32_t *)dest1) = (yc1[0] << 0)+ (uc[0] << 8) + (yc1[1]
> << 16) + (vc[0] << 24);
> *((uint32_t *)dest2) = (yc2[0] << 0)+ (uc[0] << 8) + (yc2[1]
> << 16) + (vc[0] << 24);
> - //*idst++ = (yc[0] << 0)+ (uc[0] << 8) + (yc[1] << 16) + (vc
> [0] << 24);
> +#endif
> dest1+=4;
> dest2+=4;
> yc1 += 2;
>
Ok, it works now. Here's a screenshot while running with streamdev. I
don't currently have any USB dvb device..
http://nothome.com/mcvdr.png
It would be interesting to see the client running on an apple tv. It
should have enough RAM for VDR to run in. The shm client could run as
an apple tv plugin, but I wonder if it would be more efficient to
just run it off streamdev, as it should be capable of decoding the
PES stream directly.
--
Torgeir Veimo
[EMAIL PROTECTED]
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel