Skip to content

Instantly share code, notes, and snippets.

@sobotka
sobotka / sample.stanza
Last active March 5, 2018 05:13
Alexa REC.709 with Sample Adaption Transform
- !<ColorSpace>
name: Alexa LogC REC.709 with Adaption
family: ""
equalitygroup: ""
bitdepth: 32f
description: |
LogC Arri REC.709 with adaption matrix
isdata: false
allocation: uniform
allocationvars: [0, 1]
@sobotka
sobotka / alexa_stanza
Last active February 25, 2022 06:24
Arri Wide Gamut to REC.709
- !<ColorSpace>
name: Alexa Wide Gamut LogC
family: ""
equalitygroup: ""
bitdepth: 32f
description: |
LogC Arri Wide Gamut to REC.709 Primaries
isdata: false
allocation: uniform
allocationvars: [0, 1]
@sobotka
sobotka / V-Log-L-V-Gamut-To-Scene-Referred-709
Created February 13, 2018 00:59
V-Log L Transform for REC.709 Scene Referred Reference Space Primaries
- !<ColorSpace>
name: Input - Panasonic - V-Log - V-Gamut
family: Input/Panasonic
equalitygroup: ""
bitdepth: 32f
description: |
V-Log - V-Gamut
isdata: false
allocation: uniform
allocationvars: [0, 1]
@sobotka
sobotka / FFMPEG.txt
Created January 11, 2018 00:44
BT.709 encoding
ffmpeg -i file.dpx -vf scale=out_color_matrix=bt709 -movflags write_colr -color_primaries bt709 -color_trc bt709 -colorspace bt709 -codec prores output.mov
/*********************** CubicBSpline Prefilter ****************************/
327 /* This function creates a prefilter in the frequency domain. It can be
328 viewed as a compliment to a traditional bicubic filter. */
329
330 void create_prefilter(ImBuf *in, ImBuf *out)
331 {
332 int x, y;
333
334 // A row of float coefficients.
335 float *coeff = out->rect_float;
Index: source/blender/compositor/intern/COM_SocketReader.h
===================================================================
--- source/blender/compositor/intern/COM_SocketReader.h (revision 51011)
+++ source/blender/compositor/intern/COM_SocketReader.h (working copy)
@@ -32,7 +32,8 @@
typedef enum PixelSampler {
COM_PS_NEAREST = 0,
COM_PS_BILINEAR = 1,
- COM_PS_BICUBIC = 2
+ COM_PS_BICUBIC = 2,
@sobotka
sobotka / cubic-prefilter.patch
Created November 26, 2017 23:09
Cubic Prefilter Patch against 587b2f105c4e14031f4d70c31d12f9d4da7439ca
diff --git a/source/blender/compositor/intern/COM_SocketReader.h b/source/blender/compositor/intern/COM_SocketReader.h
index 88b018ef8b..0563d9e1b0 100644
--- a/source/blender/compositor/intern/COM_SocketReader.h
+++ b/source/blender/compositor/intern/COM_SocketReader.h
@@ -32,7 +32,8 @@
typedef enum PixelSampler {
COM_PS_NEAREST = 0,
COM_PS_BILINEAR = 1,
- COM_PS_BICUBIC = 2
+ COM_PS_BICUBIC = 2,
@sobotka
sobotka / node-skeleton.patch
Created November 26, 2017 23:07
Node Skeleton Patch against 587b2f105c4e14031f4d70c31d12f9d4da7439ca
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h
index 4ee5c894b5..d57edd45cc 100644
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@ -700,6 +700,8 @@ void ntreeGPUMaterialNodes(struct bNodeTree *ntree, struct GPUMateria
#define CMP_NODE_BOKEHBLUR 316
#define CMP_NODE_SWITCH 317
+#define CMP_NODE_SKELETON 330
+

Keybase proof

I hereby claim:

  • I am sobotka on github.
  • I am troy_s (https://keybase.io/troy_s) on keybase.
  • I have a public key ASB0w63ekZ943Od5Mit1fKTzKqjzliON8a2xVnt929Ra3wo

To claim this, I am signing this object:

- !<ColorSpace>
name: Custom Base Contrast Filmic Log Encoding
family:
equalitygroup:
bitdepth: 32f
description: |
Custom experimental Filmic Log with Base Contrast encoding.
isdata: false
allocation: lg2
allocationvars: [-12.473931188, 12.526068812]