Lines Matching defs:buf
44 unsigned char buf[8];
68 * @param buf buffer to read from (referenced as long as FFTextReader is in use)
69 * @param size size of buf
71 void ff_text_init_buf(FFTextReader *r, void *buf, size_t size);
101 void ff_text_read(FFTextReader *r, char *buf, size_t size);
155 * SMIL helper to load next chunk ("<...>" or untagged content) in buf.
159 int ff_smil_extract_next_text_chunk(FFTextReader *tr, AVBPrint *buf, char *c);
172 void ff_subtitles_read_chunk(AVIOContext *pb, AVBPrint *buf);
179 * Example: "foo\r\nbar\r\n\r\nnext" will print "foo\r\nbar" into buf, and pb
183 * @param buf an initialized buf where the chunk is written
185 * @note buf is cleared before writing into it.
187 void ff_subtitles_read_text_chunk(FFTextReader *tr, AVBPrint *buf);
213 * Returns the number of bytes written to buf. Always writes a terminating 0,
218 ptrdiff_t ff_subtitles_read_line(FFTextReader *tr, char *buf, size_t size);