Searched refs:offset_w (Results 1 – 3 of 3) sorted by relevance
39 size_t offset_r, offset_w; member89 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 …]
216 size_t offset_w = f->wptr - f->buffer; in flac_fifo_grow() local231 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()
280 const auto offset_w = in ValidateStorageClassLayout() local287 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()