Commit 48381abf authored by Luca Barbato's avatar Luca Barbato Committed by Luca Barbato
Browse files

crav1e: Update to the current API

parent 0ec864a4
......@@ -69,9 +69,9 @@ pub struct Packet {
type ChromaSamplePosition=rav1e::ChromaSamplePosition;
type ChromaSampling=rav1e::ChromaSampling;
/* type MatrixCoefficients=rav1e::MatrixCoefficients;
type MatrixCoefficients=rav1e::MatrixCoefficients;
type ColorPrimaries=rav1e::ColorPrimaries;
type TransferCharacteristics=rav1e::TransferCharacteristics; */
type TransferCharacteristics=rav1e::TransferCharacteristics;
type Rational=rav1e::Rational;
......@@ -103,7 +103,6 @@ pub unsafe extern "C" fn rav1e_config_default(
pub unsafe extern "C" fn rav1e_config_set_color_description(cfg: *mut Config,
matrix: MatrixCoefficients,
......@@ -116,7 +115,6 @@ pub unsafe extern "C" fn rav1e_config_set_color_description(cfg: *mut Config,
transfer_characteristics: transfer,
pub unsafe extern "C" fn rav1e_config_unref(cfg: *mut Config) {
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