Lines Matching defs:buf_ptr
54 const uint8_t *buf_ptr;
175 const uint8_t *nalu_start = ctx->buf_ptr;
177 if (ctx->buf_end - ctx->buf_ptr >= 4 && AV_RB32(ctx->buf_ptr) == 0x00000001)
179 else if (ctx->buf_end - ctx->buf_ptr >= 3 && AV_RB24(ctx->buf_ptr) == 0x000001)
184 ctx->buf_ptr += nalu->start_code_length;
186 while (ctx->buf_ptr < ctx->buf_end) {
187 if (ctx->buf_end - ctx->buf_ptr >= 4 && AV_RB32(ctx->buf_ptr) == 0x00000001)
189 else if (ctx->buf_end - ctx->buf_ptr >= 3 && AV_RB24(ctx->buf_ptr) == 0x000001)
191 ctx->buf_ptr++;
195 nalu->length = ctx->buf_ptr - nalu->data;
242 ctx.buf_ptr = pkt->data;
247 while (ctx.buf_ptr < ctx.buf_end) {
276 while (ctx->buf_ptr < ctx->buf_end - 1) {
277 if (*ctx->buf_ptr == 0xFF && (*(ctx->buf_ptr + 1) & 0xF0) == 0xF0)
279 ctx->buf_ptr++;
282 if (ctx->buf_ptr >= ctx->buf_end - 1)
285 frame->data = (uint8_t*)ctx->buf_ptr;
306 while (ctx->buf_ptr < ctx->buf_end - 1) {
307 if (*ctx->buf_ptr == 0x0B && *(ctx->buf_ptr + 1) == 0x77)
309 ctx->buf_ptr++;
312 if (ctx->buf_ptr >= ctx->buf_end - 1)
315 frame->data = (uint8_t*)ctx->buf_ptr;
368 ctx.buf_ptr = pkt->data;
371 while (ctx.buf_ptr < ctx.buf_end) {
381 ctx.buf_ptr += frame.length;