Lines Matching defs:end
27 static const uint8_t *ff_avc_find_startcode_internal(const uint8_t *p, const uint8_t *end)
31 for (end -= 3; p < a && p < end; p++) {
36 for (end -= 3; p < end; p += 4) {
56 for (end += 3; p < end; p++) {
61 return end + 3;
64 const uint8_t *ff_avc_find_startcode(const uint8_t *p, const uint8_t *end){
65 const uint8_t *out= ff_avc_find_startcode_internal(p, end);
66 if(p<out && out<end && !out[-1]) out--;
73 const uint8_t *end = p + size;
77 nal_start = ff_avc_find_startcode(p, end);
79 while (nal_start < end && !*(nal_start++));
80 if (nal_start == end)
83 nal_end = ff_avc_find_startcode(nal_start, end);
112 uint8_t *buf=NULL, *end, *start;
120 end = buf + len;
123 while (end - buf > 4) {
126 size = FFMIN(AV_RB32(buf), end - buf - 4);