Lines Matching defs:buf
45 static int av1_split(const uint8_t *buf, int buf_size, void *logctx)
48 const uint8_t *ptr = buf, *end = buf + buf_size;
57 return ptr - buf;
66 static int h264_split(const uint8_t *buf, int buf_size)
68 const uint8_t *ptr = buf, *end = buf + buf_size;
92 while (ptr - 4 > buf && ptr[-5] == 0)
94 return ptr - 4 - buf;
103 static int hevc_split(const uint8_t *buf, int buf_size)
105 const uint8_t *ptr = buf, *end = buf + buf_size;
126 while (ptr - 4 > buf && ptr[-5] == 0)
128 return ptr - 4 - buf;
135 static int mpegvideo_split(const uint8_t *buf, int buf_size)
141 state = (state << 8) | buf[i];
150 static int mpeg4video_split(const uint8_t *buf, int buf_size)
152 const uint8_t *ptr = buf, *end = buf + buf_size;
158 return ptr - 4 - buf;
164 static int vc1_split(const uint8_t *buf, int buf_size)
166 const uint8_t *ptr = buf, *end = buf + buf_size;
175 return ptr - 4 - buf;