[MPlayer-dev-eng] [PATCH] tga loader for libmpcodecs
Arpi
arpi at thot.banki.hu
Fri Sep 13 18:42:23 CEST 2002
Hi,
> If I understand that correctly, VDCTRL_QUERY_FORMAT gives information
> about the supported formats... So I return CONTROL_TRUE when the tga
not really
codecs.conf's "out" contains the list of the supported formats.
vdctrl_query_format is called for each format listed in codecs.conf to ask
the codec if it's supported for that given file.
> decoder is queried for IMGFMT_BGR24 or IMGFMT_BGR32. Basically, I just
> want to use BGR24 for 24bpp TGA files and BGR32 for 32bpp TGA files at the
> moment (that way I can decode quite fast). Is it possible to do so?
then you should add BGR24,BGR32 to codecs.conf, and your vdctrl_query_fmt
should check the file bpp (24 or 32) and accept BG24 _or_ BGR32 _only_
depending on it.
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list