Merge github.com/pion/codec

This commit is contained in:
Lukas Herman
2020-01-04 18:49:33 -08:00
parent e34a7b6fe3
commit cf2a3436fe
16 changed files with 2014 additions and 6 deletions
+13
View File
@@ -0,0 +1,13 @@
package codec
import "image"
type Encoder interface {
Encode(img image.Image) ([]byte, error)
Close() error
}
type Decoder interface {
Decode([]byte) (image.Image, error)
Close() error
}