Lines Matching refs:put_bits
1346 #include "put_bits.h"
2287 put_bits(&pb, 2, info_bits);
2291 put_bits(&pb, 8, p->lsp_index[2]);
2292 put_bits(&pb, 8, p->lsp_index[1]);
2293 put_bits(&pb, 8, p->lsp_index[0]);
2295 put_bits(&pb, 7, p->pitch_lag[0] - PITCH_MIN);
2296 put_bits(&pb, 2, p->subframe[1].ad_cb_lag);
2297 put_bits(&pb, 7, p->pitch_lag[1] - PITCH_MIN);
2298 put_bits(&pb, 2, p->subframe[3].ad_cb_lag);
2306 put_bits(&pb, 12, temp);
2309 put_bits(&pb, 1, p->subframe[0].grid_index);
2310 put_bits(&pb, 1, p->subframe[1].grid_index);
2311 put_bits(&pb, 1, p->subframe[2].grid_index);
2312 put_bits(&pb, 1, p->subframe[3].grid_index);
2322 put_bits(&pb, 13, temp);
2324 put_bits(&pb, 16, p->subframe[0].pulse_pos & 0xffff);
2325 put_bits(&pb, 14, p->subframe[1].pulse_pos & 0x3fff);
2326 put_bits(&pb, 16, p->subframe[2].pulse_pos & 0xffff);
2327 put_bits(&pb, 14, p->subframe[3].pulse_pos & 0x3fff);
2329 put_bits(&pb, 6, p->subframe[0].pulse_sign);
2330 put_bits(&pb, 5, p->subframe[1].pulse_sign);
2331 put_bits(&pb, 6, p->subframe[2].pulse_sign);
2332 put_bits(&pb, 5, p->subframe[3].pulse_sign);