libavcodec/h264enc.c File Reference

#include "common.h"
#include "bitstream.h"
#include "mpegvideo.h"
#include "h264data.h"

Go to the source code of this file.

Functions

static uint8_th264_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.


Function Documentation

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.

Parameters:
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
Returns:
pointer to current position in the output buffer or NULL if an error occured

Definition at line 34 of file h264enc.c.


Generated on Fri Oct 3 22:46:56 2008 for ffmpeg by  doxygen 1.5.6