2012-06-05 12:38:54 +00:00
|
|
|
/**
|
|
|
|
* HEVC Encoder
|
|
|
|
* - Marko Viitanen ( fador at iki.fi ), Tampere University of Technology, Department of Computer Systems 2012.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*! \file nal.h
|
|
|
|
\brief NAL
|
|
|
|
\author Marko Viitanen
|
|
|
|
\date 2012-06
|
|
|
|
|
|
|
|
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
|
|
|
|
2012-08-14 08:02:08 +00:00
|
|
|
enum { NAL_NONIDR_SLICE = 0x1,NAL_IDR_SLICE = 0x8, NAL_VID_PARAMETER_SET = 25,NAL_SEQ_PARAMETER_SET = 26, NAL_PIC_PARAMETER_SET = 27 };
|
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
|