Home
last modified time | relevance | path

Searched refs:offset_w (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
Dfifo.c39 size_t offset_r, offset_w; member
89 if (f->offset_w <= f->offset_r && !f->is_empty) in av_fifo_can_read()
90 return f->nb_elems - f->offset_r + f->offset_w; in av_fifo_can_read()
91 return f->offset_w - f->offset_r; in av_fifo_can_read()
113 if (f->offset_w <= f->offset_r && !f->is_empty) { in av_fifo_grow2()
114 const size_t copy = FFMIN(inc, f->offset_w); in av_fifo_grow2()
116 if (copy < f->offset_w) { in av_fifo_grow2()
118 (f->offset_w - copy) * f->elem_size); in av_fifo_grow2()
119 f->offset_w -= copy; in av_fifo_grow2()
121 f->offset_w = copy == inc ? 0 : f->nb_elems + copy; in av_fifo_grow2()
[all …]
/third_party/ffmpeg/libavcodec/
Dflac_parser.c216 size_t offset_w = f->wptr - f->buffer; in flac_fifo_grow() local
231 if (offset_w <= offset_r && !f->empty) { in flac_fifo_grow()
232 const size_t copy = FFMIN(inc, offset_w); in flac_fifo_grow()
234 if (copy < offset_w) { in flac_fifo_grow()
235 memmove(tmp, tmp + copy, offset_w - copy); in flac_fifo_grow()
236 offset_w -= copy; in flac_fifo_grow()
238 offset_w = size_old + copy; in flac_fifo_grow()
244 f->wptr = f->buffer + offset_w; in flac_fifo_grow()
/third_party/skia/third_party/externals/tint/src/resolver/
Dresolver_validation.cc280 const auto offset_w = in ValidateStorageClassLayout() local
287 ss << "/* " << std::setw(offset_w) << " " in ValidateStorageClassLayout()
295 << std::setw(offset_w + size_w + align_w) << " " in ValidateStorageClassLayout()
301 ss << "/* offset(" << std::setw(offset_w) << offset << ") align(" in ValidateStorageClassLayout()