2004-09-01 23:13:56

by Ronald S. Bultje

[permalink] [raw]
Subject: [PATCH] 2.6.8 zr36067 driver - correct jpeg app/com marker writeout

Hi,

attached patch fixes the writing of APP (application-specific) and COM
(comment) markers in the JPEG stream as generated by the zr36050 or
zr36060 encoders, both part of the zr36067 driver. During separating
those bits out of the main zoran driver, we accidently removed the
interface through which applications can adapt those markers, replacing
them by unchangeable (static) markers. Some video formats, particularly
Quicktime and AVI, require specific container-specific markers in the
stream for interlaced streams. Those markers specify field order and
such. The attached patch re-adds this feature so that decoders depending
on those container-specific markers for correct playback will work
correctly.

Thanks,

Ronald

Signed-off-by: Ronald S. Bultje <[email protected]>

--
Ronald S. Bultje <[email protected]>


Attachments:
zoran-appcom-jpeg-marker.diff (10.60 kB)