Lines Matching refs:ptr
48 const uint8_t *ptr = buf, *end = buf + buf_size;
50 while (ptr < end) {
51 int len = ff_av1_extract_obu(&obu, ptr, buf_size, logctx);
57 return ptr - buf;
59 ptr += len;
68 const uint8_t *ptr = buf, *end = buf + buf_size;
74 while (ptr < end) {
75 ptr = avpriv_find_start_code(ptr, end, &state);
92 while (ptr - 4 > buf && ptr[-5] == 0)
93 ptr--;
94 return ptr - 4 - buf;
105 const uint8_t *ptr = buf, *end = buf + buf_size;
112 while (ptr < end) {
113 ptr = avpriv_find_start_code(ptr, end, &state);
126 while (ptr - 4 > buf && ptr[-5] == 0)
127 ptr--;
128 return ptr - 4 - buf;
152 const uint8_t *ptr = buf, *end = buf + buf_size;
155 while (ptr < end) {
156 ptr = avpriv_find_start_code(ptr, end, &state);
158 return ptr - 4 - buf;
166 const uint8_t *ptr = buf, *end = buf + buf_size;
170 while (ptr < end) {
171 ptr = avpriv_find_start_code(ptr, end, &state);
175 return ptr - 4 - buf;