Skip to content

Instantly share code, notes, and snippets.

View kkkrackpot's full-sized avatar

Kranky K. Krackpot kkkrackpot

View GitHub Profile
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils
DESCRIPTION="C for Media Runtime"
HOMEPAGE="https://github.com/01org/cmrt"
SRC_URI="https://github.com/01org/cmrt/archive/${PV}.tar.gz -> ${P}.tar.gz"
@kkkrackpot
kkkrackpot / 3dl2-specification.txt
Created November 29, 2016 11:31
3dlut file specification
________________________________________________________________________________
3DL2 file format specification
http://forum.doom9.org/showthread.php?p=1525672#post1525672
________________________________________________________________________________
enum {PAGE_SIZE = 16384};
struct H3DLUT2
{
@kkkrackpot
kkkrackpot / gist:30c040abe2ccbb7fed1d302267933af9
Last active November 10, 2016 10:18
NVidia 10 bit color
In brief, NVIDIA has traditionally used 10bit+ color support under OpenGL as a feature differentiator between GeForce and Quadro. GeForce
cards can use 10bit color with Direct3D, but only Quadro cards supported 10bit color under OpenGL, and professional applications like
Photoshop are usually OpenGL based.
For Pascal, NVIDIA is opening things up a bit more, but they are still going to keep the most important aspect of that feature
differentiation in place. 10bit color is being enabled for fullscreen exclusive OpenGL applications – so your typical OpenGL game would be
able to tap into deeper colors and HDR – however 10bit OpenGL windowed support is still limited to the Quadro cards. So professional users
will still need Quadro cards for 10bit support in their common applications.
http://www.anandtech.com/show/10325/the-nvidia-geforce-gtx-1080-and-1070-founders-edition-review/12
@kkkrackpot
kkkrackpot / gist:46253d822ad53a224dc2495192b5efb9
Created October 3, 2016 08:34
mpv: nvidia+skylake: HEVC decode
https://github.com/mpv-player/mpv/pull/3609
@kkkrackpot
kkkrackpot / 10bit.diff
Created September 21, 2016 09:56
cuviddec.h with bith depth support
commit e0e1b9c778ed98c942d435da6ecbd3c6e3cbaf53
Author: Philip Langdale <[email protected]>
Date: Sat Sep 3 12:52:52 2016 -0700
cuvid: Support > 8bit input formats
Although cuvid can only output 8bit, it can consume HEVC Main10 if
the bit depth is set properly.
This requires a newer version of cuviddec.h from CUDA 8 (I expect),