Rename Encoder/Decoder to VideoEncoder/VideoDecoder

This commit is contained in:
Lukas Herman
2020-01-04 19:04:35 -08:00
parent cf2a3436fe
commit 46b2c15bcf
3 changed files with 6 additions and 6 deletions

View File

@@ -2,12 +2,12 @@ package codec
import "image"
type Encoder interface {
type VideoEncoder interface {
Encode(img image.Image) ([]byte, error)
Close() error
}
type Decoder interface {
type VideoDecoder interface {
Decode([]byte) (image.Image, error)
Close() error
}