[MPlayer-dev-eng] [PATCH] Add IMGFMT_444P and IMGFMT_422P to vo_md5sum.c

Giorgio mywing81 at gmail.com
Sun Jun 6 20:02:48 CEST 2010


Hello,

currently md5sum vo only works with IMGFMT_RGB24 and IMGFMT_YV12. If a
video file uses another image format, a filter to convert format is
used. This is not optimal. This patch adds support for IMGFMT_444P and
IMGFMT_422P.

Reading the code I got the impression that mpi->width and mpi->w have
always the same value (when an image is created in new_mp_image(),
these values are initialized like this: mpi->width=mpi->w=w;). The
same happens with mpi->height and mpi->h. So I used mpi->width and
mpi->height because I think it's more clear. Is this correct?

Regards,

Giorgio Vazzana
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-md5sum-00.diff
Type: text/x-diff
Size: 1865 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100606/dc2cc220/attachment.diff>


More information about the MPlayer-dev-eng mailing list