Lines Matching defs:frame_header

146 	const FLAC__FrameHeader *frame_header,
3123 FLAC__FrameHeader frame_header;
3142 frame_header.blocksize = encoder->protected_->blocksize;
3143 frame_header.sample_rate = encoder->protected_->sample_rate;
3144 frame_header.channels = encoder->protected_->channels;
3145 frame_header.channel_assignment = FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT; /* the default unless the encoder determines otherwise */
3146 frame_header.bits_per_sample = encoder->protected_->bits_per_sample;
3147 frame_header.number_type = FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER;
3148 frame_header.number.frame_number = encoder->private_->current_frame_number;
3205 &frame_header,
3231 &frame_header,
3285 frame_header.channel_assignment = channel_assignment;
3287 if(!FLAC__frame_add_header(&frame_header, encoder->private_->frame)) {
3335 if(!add_subframe_(encoder, frame_header.blocksize, left_bps , left_subframe , encoder->private_->frame))
3337 if(!add_subframe_(encoder, frame_header.blocksize, right_bps, right_subframe, encoder->private_->frame))
3341 if(!FLAC__frame_add_header(&frame_header, encoder->private_->frame)) {
3347 if(!add_subframe_(encoder, frame_header.blocksize, encoder->private_->subframe_bps[channel], &encoder->private_->subframe_workspace[channel][encoder->private_->best_subframe[channel]], encoder->private_->frame)) {
3360 encoder->private_->last_channel_assignment = frame_header.channel_assignment;
3369 const FLAC__FrameHeader *frame_header,
3398 FLAC__ASSERT(frame_header->blocksize > 0);
3402 if(encoder->private_->disable_verbatim_subframes && frame_header->blocksize >= FLAC__MAX_FIXED_ORDER)
3405 _best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subframe_bps, subframe[_best_subframe]);
3407 if(frame_header->blocksize >= FLAC__MAX_FIXED_ORDER) {
3409 guess_fixed_order = encoder->private_->local_fixed_compute_best_predictor(integer_signal+FLAC__MAX_FIXED_ORDER, frame_header->blocksize-FLAC__MAX_FIXED_ORDER, fixed_residual_bits_per_sample);
3422 for(i = 1; i < frame_header->blocksize; i++) {
3430 _candidate_bits = evaluate_constant_subframe_(encoder, integer_signal[0], frame_header->blocksize, subframe_bps, subframe[!_best_subframe]);
3446 if(max_fixed_order >= frame_header->blocksize)
3447 max_fixed_order = frame_header->blocksize - 1;
3472 frame_header->blocksize,
3494 if(encoder->protected_->max_lpc_order >= frame_header->blocksize)
3495 max_lpc_order = frame_header->blocksize-1;
3501 FLAC__lpc_window_data(integer_signal, encoder->private_->window[a], encoder->private_->windowed_signal, frame_header->blocksize);
3502 encoder->private_->local_lpc_compute_autocorrelation(encoder->private_->windowed_signal, frame_header->blocksize, max_lpc_order+1, autoc);
3514 frame_header->blocksize,
3523 if(max_lpc_order >= frame_header->blocksize)
3524 max_lpc_order = frame_header->blocksize - 1;
3526 lpc_residual_bits_per_sample = FLAC__lpc_compute_expected_bits_per_residual_sample(lpc_error[lpc_order-1], frame_header->blocksize-lpc_order);
3559 frame_header->blocksize,
3591 _best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subframe_bps, subframe[_best_subframe]);