Lines Matching refs:pb
137 static av_always_inline unsigned int copy_bits(PutBitContext *pb,
142 put_bits(pb, bits, el);
146 int ff_copy_pce_data(PutBitContext *pb, GetBitContext *gb)
149 int offset = put_bits_count(pb);
151 copy_bits(pb, gb, 10); //Tag, Object Type, Frequency
152 five_bit_ch = copy_bits(pb, gb, 4); //Front
153 five_bit_ch += copy_bits(pb, gb, 4); //Side
154 five_bit_ch += copy_bits(pb, gb, 4); //Back
155 four_bit_ch = copy_bits(pb, gb, 2); //LFE
156 four_bit_ch += copy_bits(pb, gb, 3); //Data
157 five_bit_ch += copy_bits(pb, gb, 4); //Coupling
158 if (copy_bits(pb, gb, 1)) //Mono Mixdown
159 copy_bits(pb, gb, 4);
160 if (copy_bits(pb, gb, 1)) //Stereo Mixdown
161 copy_bits(pb, gb, 4);
162 if (copy_bits(pb, gb, 1)) //Matrix Mixdown
163 copy_bits(pb, gb, 3);
165 copy_bits(pb, gb, 16);
167 copy_bits(pb, gb, bits);
168 align_put_bits(pb);
170 comment_size = copy_bits(pb, gb, 8);
172 copy_bits(pb, gb, 8);
174 return put_bits_count(pb) - offset;