1 // Copyright 2022 The ChromiumOS Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #![cfg(unix)] 6 7 pub mod avcodec; 8 mod avutil; 9 pub use avutil::*; 10 mod error; 11 pub use error::*; 12 mod ffmpeg; 13 use crate::ffmpeg as ffi; 14 pub mod swscale; 15 16 pub use ffi::AVPictureType_AV_PICTURE_TYPE_I; 17 pub use ffi::AVPixelFormat_AV_PIX_FMT_NV12; 18 pub use ffi::AVPixelFormat_AV_PIX_FMT_YUV420P; 19 pub use ffi::AVRational; 20 pub use ffi::AV_CODEC_CAP_DR1; 21 pub use ffi::AV_PKT_FLAG_KEY; 22 pub use ffi::FF_PROFILE_H264_BASELINE; 23 pub use ffi::FF_PROFILE_H264_EXTENDED; 24 pub use ffi::FF_PROFILE_H264_HIGH; 25 pub use ffi::FF_PROFILE_H264_HIGH_10; 26 pub use ffi::FF_PROFILE_H264_HIGH_422; 27 pub use ffi::FF_PROFILE_H264_HIGH_444_PREDICTIVE; 28 pub use ffi::FF_PROFILE_H264_MAIN; 29 pub use ffi::FF_PROFILE_H264_MULTIVIEW_HIGH; 30 pub use ffi::FF_PROFILE_H264_STEREO_HIGH; 31 pub use ffi::FF_PROFILE_HEVC_MAIN; 32 pub use ffi::FF_PROFILE_HEVC_MAIN_10; 33 pub use ffi::FF_PROFILE_HEVC_MAIN_STILL_PICTURE; 34 pub use ffi::FF_PROFILE_VP9_0; 35 pub use ffi::FF_PROFILE_VP9_1; 36 pub use ffi::FF_PROFILE_VP9_2; 37 pub use ffi::FF_PROFILE_VP9_3; 38