[mythtv] [patch] Conexant 2388x chip support

Andreas Kloeckner inducer at users.sf.net
Sun Jan 25 15:58:13 EST 2004


Hi all,

Attached you will find a patch that will allow MythTV to work
with TV cards that come with chips from the 2388x series by Conexant,
using Gerd Knorr's V4L2 drivers at www.bytesex.org/cx88.

The patch is against the 0.13 release and is localized in
libs/libmythtv/NuppelVideoRecorder.cpp, and even there all the
modifications are contained within the DoV4L2 routine. Consequently,
this support only works through the V4L2 API. V4L1 can't be easily
supported because some weird DMA setup routine is not implemented in the
driver. :-S

Here's what the patch does:

- If the S_FMT for the primary desired video input format fails, it also
  tries the YUYV (interleaved color) format.

- Before handing the frame buffer over to the BufferIt routine, it
  checks whether the grabbed buffer is in YUYV format, and if so, 
  it performs a frame conversion, throwing away half the color 
  information and providing a YUV420 picture as assumed by the 
  rest of the code.

- V4L2 support is enabled by default (0.13 defaults to disabling the code)

This patch may also help those ATI chips that were said a while ago to only
support YUYV, but I'm not completely sure. (and I can't test that
because I don't have the hardware.)

Btw, thanks everybody for the great work on MythTV :D

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv-0.13-patch-yuyv-support.gz
Type: application/octet-stream
Size: 1229 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20040125/e018b702/mythtv-0.13-patch-yuyv-support.obj


More information about the mythtv-dev mailing list