mirror of
https://github.com/giorgisio/goav.git
synced 2024-04-21 12:31:56 +00:00
20 lines
436 B
Go
20 lines
436 B
Go
// Use of this source code is governed by a MIT license that can be found in the LICENSE file.
|
|
|
|
package common
|
|
|
|
// Common types used across all av packages.
|
|
|
|
// AVRational exposes the numerator and denominator part of the undrelying 'Rational' structure.
|
|
type AVRational struct {
|
|
Num int
|
|
Den int
|
|
}
|
|
|
|
type PixelFormat int
|
|
|
|
const (
|
|
AV_PIX_FMT_YUV PixelFormat = 0
|
|
AV_PIX_FMT_RGB24 = 3
|
|
AV_PIX_FMT_RGBA = 28
|
|
)
|