mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-24 02:24:07 +00:00
33 lines
809 B
C
33 lines
809 B
C
/**
|
|
* HEVC Encoder
|
|
* - Marko Viitanen ( fador at iki.fi ), Tampere University of Technology, Department of Pervasive Computing 2013.
|
|
*/
|
|
|
|
/*! \file nal.h
|
|
\brief NAL
|
|
\author Marko Viitanen
|
|
\date 2013-02
|
|
|
|
NAL function headers
|
|
*/
|
|
#ifndef __NAL_H
|
|
#define __NAL_H
|
|
|
|
enum { NAL_TRAIL_N = 0, NAL_TRAIL_R = 1,
|
|
|
|
NAL_BLA_W_LP = 16,
|
|
|
|
NAL_IDR_W_RADL = 19, NAL_IDR_N_LP = 10,
|
|
|
|
NAL_RSV_IRAP_VCL23 = 23,
|
|
|
|
/* Parameter sets */
|
|
NAL_VID_PARAMETER_SET = 32, NAL_SEQ_PARAMETER_SET = 33, NAL_PIC_PARAMETER_SET = 34,
|
|
NAL_SUFFIT_SEI_NUT = 40
|
|
};
|
|
|
|
void nal_write(FILE* output, uint8_t* buffer, uint32_t buffer_len, uint8_t nal_ref, uint8_t nal_type, uint8_t temporal_id);
|
|
void picture_checksum(const picture* pic, unsigned char* checksum_out);
|
|
|
|
#endif
|