Lines Matching defs:n_cache
30 int n_cache;
114 if (!s->n_cache)
143 if (uses_superframe_syntax && s->n_cache > 0) {
148 } else if ((!invisible || uses_superframe_syntax) && !s->n_cache) {
151 } else if (s->n_cache + 1 >= MAX_CACHE) {
158 av_packet_move_ref(s->cache[s->n_cache++], pkt);
163 av_assert0(s->n_cache > 0);
166 if ((res = merge_superframe(s->cache, s->n_cache, pkt)) < 0)
169 res = av_packet_copy_props(pkt, s->cache[s->n_cache - 1]);
173 for (n = 0; n < s->n_cache; n++)
175 s->n_cache = 0;
204 for (n = 0; n < s->n_cache; n++)
206 s->n_cache = 0;