File: rem_avc.h

package info (click to toggle)
rem 1.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 540 kB
  • sloc: ansic: 4,618; makefile: 142; python: 19; sh: 1
file content (23 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * @file rem_avc.h Advanced Video Coding
 *
 * Copyright (C) 2010 Creytiv.com
 */


struct avc_config {
	uint8_t profile_ind;
	uint8_t profile_compat;
	uint8_t level_ind;
	uint16_t sps_len;
	uint8_t sps[256];
	uint16_t pps_len;
	uint8_t pps[64];
};


int avc_config_encode(struct mbuf *mb, uint8_t profile_ind,
		      uint8_t profile_compat, uint8_t level_ind,
		      uint16_t sps_length, const uint8_t *sps,
		      uint16_t pps_length, const uint8_t *pps);
int avc_config_decode(struct avc_config *conf, struct mbuf *mb);