Lines Matching refs:p_stream
55 STREAM *p_stream) in pack_frame_header_ldac() argument
59 pack_store_ldac(LDAC_SYNCWORD, LDAC_SYNCWORDBITS, p_stream, &loc); in pack_frame_header_ldac()
61 pack_store_ldac(smplrate_id, LDAC_SMPLRATEBITS, p_stream, &loc); in pack_frame_header_ldac()
63 pack_store_ldac(chconfig_id, LDAC_CHCONFIG2BITS, p_stream, &loc); in pack_frame_header_ldac()
65 pack_store_ldac(frame_length-1, LDAC_FRAMELEN2BITS, p_stream, &loc); in pack_frame_header_ldac()
67 pack_store_ldac(frame_status, LDAC_FRAMESTATBITS, p_stream, &loc); in pack_frame_header_ldac()
76 STREAM *p_stream, in pack_frame_alignment_ldac() argument
86 pack_store_ldac(LDAC_FILLCODE, LDAC_BYTESIZE, p_stream, p_loc); in pack_frame_alignment_ldac()
95 #define pack_block_alignment_ldac(p_stream, p_loc) pack_byte_alignment_ldac((p_stream), (p_loc)) argument
98 STREAM *p_stream, in pack_byte_alignment_ldac() argument
106 pack_store_ldac(0, nbits_padding, p_stream, p_loc); in pack_byte_alignment_ldac()
117 STREAM *p_stream, in pack_band_info_ldac() argument
120 pack_store_ldac(p_ab->nbands-LDAC_BAND_OFFSET, LDAC_NBANDBITS, p_stream, p_loc); in pack_band_info_ldac()
122 pack_store_ldac(LDAC_FALSE, LDAC_FLAGBITS, p_stream, p_loc); in pack_band_info_ldac()
132 STREAM *p_stream, in pack_gradient_ldac() argument
135 pack_store_ldac(p_ab->grad_mode, LDAC_GRADMODEBITS, p_stream, p_loc); in pack_gradient_ldac()
138 pack_store_ldac(p_ab->grad_qu_l, LDAC_GRADQU0BITS, p_stream, p_loc); in pack_gradient_ldac()
140 pack_store_ldac(p_ab->grad_qu_h-1, LDAC_GRADQU0BITS, p_stream, p_loc); in pack_gradient_ldac()
142 pack_store_ldac(p_ab->grad_os_l, LDAC_GRADOSBITS, p_stream, p_loc); in pack_gradient_ldac()
144 pack_store_ldac(p_ab->grad_os_h, LDAC_GRADOSBITS, p_stream, p_loc); in pack_gradient_ldac()
147 pack_store_ldac(p_ab->grad_qu_l, LDAC_GRADQU1BITS, p_stream, p_loc); in pack_gradient_ldac()
149 pack_store_ldac(p_ab->grad_os_l, LDAC_GRADOSBITS, p_stream, p_loc); in pack_gradient_ldac()
152 pack_store_ldac(p_ab->nadjqus, LDAC_NADJQUBITS, p_stream, p_loc); in pack_gradient_ldac()
162 STREAM *p_stream, in pack_scale_factor_0_ldac() argument
171 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_0, LDAC_SFCBLENBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
173 pack_store_ldac(p_ac->sfc_offset, LDAC_IDSFBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
175 pack_store_ldac(p_ac->sfc_weight, LDAC_SFCWTBLBITS, p_stream, p_loc); in pack_scale_factor_0_ldac()
180 pack_store_ldac(val0-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc); in pack_scale_factor_0_ldac()
186 … pack_store_ldac(hc_word_ldac(p_hcsf->p_tbl+dif), hc_len_ldac(p_hcsf->p_tbl+dif), p_stream, p_loc); in pack_scale_factor_0_ldac()
198 STREAM *p_stream, in pack_scale_factor_1_ldac() argument
205 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_1, LDAC_SFCBLENBITS, p_stream, p_loc); in pack_scale_factor_1_ldac()
209 pack_store_ldac(p_ac->a_idsf[iqu], LDAC_IDSFBITS, p_stream, p_loc); in pack_scale_factor_1_ldac()
213 pack_store_ldac(p_ac->sfc_offset, LDAC_IDSFBITS, p_stream, p_loc); in pack_scale_factor_1_ldac()
215 pack_store_ldac(p_ac->sfc_weight, LDAC_SFCWTBLBITS, p_stream, p_loc); in pack_scale_factor_1_ldac()
219 … pack_store_ldac(p_ac->a_idsf[iqu]+p_tbl[iqu]-p_ac->sfc_offset, p_ac->sfc_bitlen, p_stream, p_loc); in pack_scale_factor_1_ldac()
231 STREAM *p_stream, in pack_scale_factor_2_ldac() argument
239 pack_store_ldac(p_ac->sfc_bitlen-LDAC_MINSFCBLEN_2, LDAC_SFCBLENBITS, p_stream, p_loc); in pack_scale_factor_2_ldac()
244 … pack_store_ldac(hc_word_ldac(p_hcsf->p_tbl+dif), hc_len_ldac(p_hcsf->p_tbl+dif), p_stream, p_loc); in pack_scale_factor_2_ldac()
255 STREAM *p_stream, in pack_scale_factor_ldac() argument
260 pack_store_ldac(sfc_mode, LDAC_SFCMODEBITS, p_stream, p_loc); in pack_scale_factor_ldac()
264 pack_scale_factor_0_ldac(p_ac, p_stream, p_loc); in pack_scale_factor_ldac()
267 pack_scale_factor_1_ldac(p_ac, p_stream, p_loc); in pack_scale_factor_ldac()
272 pack_scale_factor_0_ldac(p_ac, p_stream, p_loc); in pack_scale_factor_ldac()
275 pack_scale_factor_2_ldac(p_ac, p_stream, p_loc); in pack_scale_factor_ldac()
287 STREAM *p_stream, in pack_spectrum_ldac() argument
308 pack_store_ldac(ga_2dimenc_spec_ldac[val], LDAC_2DIMSPECBITS, p_stream, p_loc); in pack_spectrum_ldac()
316 pack_store_ldac(ga_4dimenc_spec_ldac[val], LDAC_4DIMSPECBITS, p_stream, p_loc); in pack_spectrum_ldac()
322 pack_store_ldac(p_ac->a_qspec[isp], wl, p_stream, p_loc); in pack_spectrum_ldac()
335 STREAM *p_stream, in pack_residual_ldac() argument
352 pack_store_ldac(p_ac->a_rspec[isp], wl, p_stream, p_loc); in pack_residual_ldac()
365 STREAM *p_stream, in pack_audio_block_ldac() argument
380 pack_band_info_ldac(p_ab, p_stream, p_loc); in pack_audio_block_ldac()
384 pack_gradient_ldac(p_ab, p_stream, p_loc); in pack_audio_block_ldac()
393 pack_scale_factor_ldac(p_ac, p_stream, p_loc); in pack_audio_block_ldac()
397 pack_spectrum_ldac(p_ac, p_stream, p_loc); in pack_audio_block_ldac()
401 pack_residual_ldac(p_ac, p_stream, p_loc); in pack_audio_block_ldac()
424 STREAM *p_stream, in pack_raw_data_frame_ldac() argument
434 if (!pack_audio_block_ldac(p_ab, p_stream, p_loc)) { in pack_raw_data_frame_ldac()
438 pack_block_alignment_ldac(p_stream, p_loc); in pack_raw_data_frame_ldac()
443 pack_frame_alignment_ldac(p_stream, p_loc, p_cfg->frame_length); in pack_raw_data_frame_ldac()
463 STREAM *p_stream, in pack_null_data_frame_ldac() argument
477 copy_data_ldac(saa_null_data_ldac[blk_type], p_stream+offset, size*sizeof(STREAM)); in pack_null_data_frame_ldac()
487 pack_frame_alignment_ldac(p_stream, p_loc, p_cfg->frame_length); in pack_null_data_frame_ldac()