From 46f30279e7375d6932749ef9dbf2b7062e50c5a7 Mon Sep 17 00:00:00 2001 From: sesse Date: Sun, 23 May 2010 16:01:12 +0000 Subject: Add final missing bits of CineForm HD support on Linux (via the Windows DirectShow codec). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Required changes: - codecs.conf entry (of course). - Allow opening files with “.col” in the file name, just like “vp3” and “.fpf” already was allowed. (CineForm expects to be able to do this, presumably for some color management code.) - In registry.c, fake a few registry keys that the codec expects the installer to have written. Also, change a few magic numbers (0, 2) to the appropriate constants (ERROR_SUCCESS, ERROR_FILE_NOT_FOUND) where appropriate, so the code is easier to follow. SMP works fine, but seemingly performs suboptimally (e.g., on my dual-core laptop, CineForm performs better if I lie to it and tell it I have four cores). I don't know if this is inherent in the codec, or some inefficiency in the emulated synchronization primitives. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31196 b3059339-0415-0410-9bf9-f77b7e298cf2 --- etc/codecs.conf | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'etc') diff --git a/etc/codecs.conf b/etc/codecs.conf index aefb741985..21a9cc4855 100644 --- a/etc/codecs.conf +++ b/etc/codecs.conf @@ -1960,6 +1960,15 @@ videocodec LEADMW20 guid 0xe2b7dc56, 0x38c5, 0x11d5, 0x91, 0xf6, 0x00, 0x10, 0x4b, 0xdb, 0x8f, 0xf9 out BGR24,BGR8 flip +videocodec cineformhd + info "CineForm HD" + status working + fourcc CFHD + driver dshow + dll "CFDecode2.ax" + guid 0xAD83011E, 0x01d1, 0x4623, 0x91, 0xfd, 0x6b, 0x75, 0xf1, 0x83, 0xc5, 0xa9 + out UYVY + videocodec lagarith info "Lagarith Lossless Video Codec" comment "http://lags.leetcode.net/codec.html, requires an MMX2 CPU." -- cgit v1.2.3