[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mash/mash-1/video video-v4l.cc
Update of /usr/mash/src/repository/mash/mash-1/video
In directory gumby.cs.berkeley.edu:/tmp/cvs-serv1631
Modified Files:
video-v4l.cc
Log Message:
Added the routines for conversion between the V4L-board
frame-representations and the 4:2:0-type frames that
the encoders like. This includes adding:
VideoCaptureV4l::planar422_to_planar420
VideoCaptureV4l::packedYUYV422_to_planar420
VideoCaptureV4l::packedUYVY422_to_planar420
Actually the 4:1:1 routines were doing 4:2:0, so
I just changed their name and added correct versions
of the 4:1:1.
Also fixed the fact that when the encoder requests
"CIF color-subsampling" it's usually H.261, which
wants to do 4:2:0. Due to the former bug, it was
working right.
Also added some comments to the routines