Revision ff4d09f3 payload.h

View differences:

payload.h
1 1
#define VIDEO_PAYLOAD_HEADER_SIZE 1 + 2 + 2 + 2 + 2 + 1 // 1 Frame type + 2 width + 2 height + 2 frame rate num + 2 frame rate den + 1 number of frames
2 2
#define FRAME_HEADER_SIZE (3 + 4 + 1)	// 3 Frame size + 4 PTS + 1 DeltaTS
3 3

  
4
static inline void frame_header_parse(const uint8_t *data, int *size, int32_t *pts, int32_t *dts)
4
static inline void frame_header_parse(const uint8_t *data, int *size, int64_t *pts, int64_t *dts)
5 5
{
6 6
  int i;
7 7

  

Also available in: Unified diff