Lines Matching defs:buffer
59 * @param buffer the buffer where to put bits
60 * @param buffer_size the size in bytes of buffer
62 static inline void init_put_bits(PutBitContext *s, uint8_t *buffer,
67 buffer = NULL;
70 s->buf = buffer;
106 * Rebase the bit writer onto a reallocated buffer.
108 * @param buffer the buffer where to put bits
109 * @param buffer_size the size in bytes of buffer,
112 static inline void rebase_put_bits(PutBitContext *s, uint8_t *buffer,
117 s->buf_end = buffer + buffer_size;
118 s->buf_ptr = buffer + (s->buf_ptr - s->buf);
119 s->buf = buffer;
213 av_log(NULL, AV_LOG_ERROR, "Internal error, put_bits buffer too small\n");
231 av_log(NULL, AV_LOG_ERROR, "Internal error, put_bits buffer too small\n");
269 av_log(NULL, AV_LOG_ERROR, "Internal error, put_bits buffer too small\n");
310 av_log(NULL, AV_LOG_ERROR, "Internal error, put_bits buffer too small\n");
321 av_log(NULL, AV_LOG_ERROR, "Internal error, put_bits buffer too small\n");
400 * Change the end of the buffer.
402 * @param size the new size in bytes of the buffer where to put bits