#include "common.h"
#include "bitstream.h"
#include "mpegvideo.h"
#include "h264data.h"
Go to the source code of this file.
Functions | |
static uint8_t * | h264_write_nal_unit (int nal_ref_idc, int nal_unit_type, uint8_t *dest, int *destsize, PutBitContext *b2) |
Write out the provided data into a NAL unit. |
static uint8_t* h264_write_nal_unit | ( | int | nal_ref_idc, | |
int | nal_unit_type, | |||
uint8_t * | dest, | |||
int * | destsize, | |||
PutBitContext * | b2 | |||
) | [static] |
Write out the provided data into a NAL unit.
nal_ref_idc | NAL reference IDC | |
nal_unit_type | NAL unit payload type | |
dest | the target buffer, dst+1 == src is allowed as a special case | |
destsize | the length of the dst array | |
b2 | the data which should be escaped |