vdr-plugin-softhddevice-drm-gles 1.6.2
drmhdr.h File Reference

HDR (High Dynamic Range) Header File. More...

#include <libavutil/frame.h>
#include <libavutil/mastering_display_metadata.h>
#include <drm_mode.h>

Go to the source code of this file.

Classes

struct  vector
 
struct  colorspace
 
class  cHdrMetadata
 HDR Metadata. More...
 

Macros

#define ARRAY_LENGTH(a)   (sizeof(a) / sizeof(a)[0])
 

Functions

static struct colorspacecolorspace_lookup (const char *name)
 

Variables

static struct colorspace bt709
 BT709 Color Space.
 
static struct colorspace bt2020
 BT2020 Color Space.
 
static struct colorspace bt470bg
 BT470bg Color Space.
 
static struct colorspace *const colorspaces []
 

Detailed Description

HDR (High Dynamic Range) Header File.

This code is mostly taken from https://github.com/jojo61/vdr-plugin-softhdcuvid and it seems this was at least inspired by libweston (https://gitlab.freedesktop.org/wayland/weston which is published under the MIT license.

Definition in file drmhdr.h.