comparison bitstream.h @ 9403:12fe11381b21 libavcodec

Doxygenate ff_copy_bits().
author stefano
date Sat, 11 Apr 2009 14:47:35 +0000
parents 9a1c34f662e4
children 72d354a91367
comparison
equal deleted inserted replaced
9402:9a1c34f662e4 9403:12fe11381b21
158 /** 158 /**
159 * Pads the bitstream with zeros up to the next byte boundary. 159 * Pads the bitstream with zeros up to the next byte boundary.
160 */ 160 */
161 void align_put_bits(PutBitContext *s); 161 void align_put_bits(PutBitContext *s);
162 void ff_put_string(PutBitContext * pbc, const char *s, int put_zero); 162 void ff_put_string(PutBitContext * pbc, const char *s, int put_zero);
163
164 /**
165 * Copies the content of \p src to the bitstream.
166 *
167 * @param length the number of bits of \p src to copy
168 */
163 void ff_copy_bits(PutBitContext *pb, const uint8_t *src, int length); 169 void ff_copy_bits(PutBitContext *pb, const uint8_t *src, int length);
164 170
165 /* bit input */ 171 /* bit input */
166 /* buffer, buffer_end and size_in_bits must be present and used by every reader */ 172 /* buffer, buffer_end and size_in_bits must be present and used by every reader */
167 typedef struct GetBitContext { 173 typedef struct GetBitContext {