2012-06-05 12:38:54 +00:00
|
|
|
/**
|
|
|
|
* HEVC Encoder
|
2013-04-16 08:23:03 +00:00
|
|
|
* - Marko Viitanen ( fador at iki.fi ), Tampere University of Technology, Department of Pervasive Computing 2013.
|
2012-06-05 12:38:54 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/*! \file nal.h
|
|
|
|
\brief NAL
|
|
|
|
\author Marko Viitanen
|
2013-02-13 12:46:26 +00:00
|
|
|
\date 2013-02
|
2012-06-05 12:38:54 +00:00
|
|
|
|
|
|
|
NAL function headers
|
|
|
|
*/
|
2012-06-06 13:20:29 +00:00
|
|
|
#ifndef __NAL_H
|
|
|
|
#define __NAL_H
|
2012-06-05 12:38:54 +00:00
|
|
|
|
2013-02-21 14:45:22 +00:00
|
|
|
enum { NAL_NONIDR_SLICE = 0x1,NAL_IDR_SLICE = 19, NAL_VID_PARAMETER_SET = 32,NAL_SEQ_PARAMETER_SET = 33, NAL_PIC_PARAMETER_SET = 34 };
|
2012-06-05 12:38:54 +00:00
|
|
|
|
2012-06-06 13:20:29 +00:00
|
|
|
void nal_write(FILE* output, uint8_t* buffer, uint32_t buffer_len, uint8_t nal_ref, uint8_t nal_type, uint8_t temporal_id);
|
|
|
|
|
|
|
|
#endif
|