[MPlayer-dev-eng] vidix, pitch vs. stride
Nick Kurshev
nickols_k at mail.ru
Mon Jan 14 08:52:18 CET 2002
Hello, Arpi!
On Mon, 14 Jan 2002 00:09:46 +0200 (CEST) you wrote:
> Hi,
>
> Why are the pitch (line align in bytes, 2^n) values stored in
> vidix_playback_t->dest, instead of the stride (bytes per line) values?
>
> I see no sense of this solution, as both app and driver have to calculate
> stride, and they both use pitch only for calculating stride. so why don't
> calc stride in driver and store it into the struct?
>
Line length is variable characteristic but line alignment is constant.
Do you want to rename field of struct or what?
Btw: How do I can know movie strides in init() function?
>
> A'rpi / Astral & ESP-team
>
> --
> mailto:arpi at thot.banki.hu
> http://esp-team.scene.hu
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
Best regards! Nick
More information about the MPlayer-dev-eng
mailing list