summaryrefslogtreecommitdiff
path: root/modules/av1/av1.h
blob: 7d5a32de1750ce45da84a9284f0e0aad9165d82e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/**
 * @file av1.h Private AV1 Interface
 *
 * Copyright (C) 2010 - 2016 Creytiv.com
 */


/* Encode */
int av1_encode_update(struct videnc_state **vesp, const struct vidcodec *vc,
		      struct videnc_param *prm, const char *fmtp,
		      videnc_packet_h *pkth, void *arg);
int av1_encode(struct videnc_state *ves, bool update,
	       const struct vidframe *frame);


/* Decode */
int av1_decode_update(struct viddec_state **vdsp, const struct vidcodec *vc,
		      const char *fmtp);
int av1_decode(struct viddec_state *vds, struct vidframe *frame,
	       bool *intra, bool marker, uint16_t seq, struct mbuf *mb);