Commit 063c63e3 authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato

Make the color properties repr C

parent 66b4cd97
......@@ -158,6 +158,7 @@ pub enum PredictionModesSetting {
arg_enum!{
#[derive(Debug, Clone, Copy, PartialEq)]
#[repr(C)]
pub enum MatrixCoefficients {
Identity = 0,
BT709,
......@@ -184,6 +185,7 @@ impl Default for MatrixCoefficients {
arg_enum!{
#[derive(Debug,Clone,Copy,PartialEq)]
#[repr(C)]
pub enum ColorPrimaries {
BT709 = 1,
Unspecified,
......@@ -208,6 +210,7 @@ impl Default for ColorPrimaries {
arg_enum!{
#[derive(Debug,Clone,Copy,PartialEq)]
#[repr(C)]
pub enum TransferCharacteristics {
BT1886 = 1,
Unspecified,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment