Lines Matching refs:frame_header
146 const FLAC__FrameHeader *frame_header,
3123 FLAC__FrameHeader frame_header; in process_subframes_() local
3142 frame_header.blocksize = encoder->protected_->blocksize; in process_subframes_()
3143 frame_header.sample_rate = encoder->protected_->sample_rate; in process_subframes_()
3144 frame_header.channels = encoder->protected_->channels; in process_subframes_()
3145 …frame_header.channel_assignment = FLAC__CHANNEL_ASSIGNMENT_INDEPENDENT; /* the default unless the … in process_subframes_()
3146 frame_header.bits_per_sample = encoder->protected_->bits_per_sample; in process_subframes_()
3147 frame_header.number_type = FLAC__FRAME_NUMBER_TYPE_FRAME_NUMBER; in process_subframes_()
3148 frame_header.number.frame_number = encoder->private_->current_frame_number; in process_subframes_()
3205 &frame_header, in process_subframes_()
3231 &frame_header, in process_subframes_()
3285 frame_header.channel_assignment = channel_assignment; in process_subframes_()
3287 if(!FLAC__frame_add_header(&frame_header, encoder->private_->frame)) { in process_subframes_()
3335 …if(!add_subframe_(encoder, frame_header.blocksize, left_bps , left_subframe , encoder->private_->f… in process_subframes_()
3337 …if(!add_subframe_(encoder, frame_header.blocksize, right_bps, right_subframe, encoder->private_->f… in process_subframes_()
3341 if(!FLAC__frame_add_header(&frame_header, encoder->private_->frame)) { in process_subframes_()
3347 …if(!add_subframe_(encoder, frame_header.blocksize, encoder->private_->subframe_bps[channel], &enco… in process_subframes_()
3360 encoder->private_->last_channel_assignment = frame_header.channel_assignment; in process_subframes_()
3369 const FLAC__FrameHeader *frame_header, in process_subframe_() argument
3398 FLAC__ASSERT(frame_header->blocksize > 0); in process_subframe_()
3402 …if(encoder->private_->disable_verbatim_subframes && frame_header->blocksize >= FLAC__MAX_FIXED_ORD… in process_subframe_()
3405 …_best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subfram… in process_subframe_()
3407 if(frame_header->blocksize >= FLAC__MAX_FIXED_ORDER) { in process_subframe_()
3409 …al_fixed_compute_best_predictor(integer_signal+FLAC__MAX_FIXED_ORDER, frame_header->blocksize-FLAC… in process_subframe_()
3422 for(i = 1; i < frame_header->blocksize; i++) { in process_subframe_()
3430 …_candidate_bits = evaluate_constant_subframe_(encoder, integer_signal[0], frame_header->blocksize,… in process_subframe_()
3446 if(max_fixed_order >= frame_header->blocksize) in process_subframe_()
3447 max_fixed_order = frame_header->blocksize - 1; in process_subframe_()
3472 frame_header->blocksize, in process_subframe_()
3494 if(encoder->protected_->max_lpc_order >= frame_header->blocksize) in process_subframe_()
3495 max_lpc_order = frame_header->blocksize-1; in process_subframe_()
3501 …signal, encoder->private_->window[a], encoder->private_->windowed_signal, frame_header->blocksize); in process_subframe_()
3502 …local_lpc_compute_autocorrelation(encoder->private_->windowed_signal, frame_header->blocksize, max… in process_subframe_()
3514 frame_header->blocksize, in process_subframe_()
3523 if(max_lpc_order >= frame_header->blocksize) in process_subframe_()
3524 max_lpc_order = frame_header->blocksize - 1; in process_subframe_()
3526 …lpc_compute_expected_bits_per_residual_sample(lpc_error[lpc_order-1], frame_header->blocksize-lpc_… in process_subframe_()
3559 frame_header->blocksize, in process_subframe_()
3591 …_best_bits = evaluate_verbatim_subframe_(encoder, integer_signal, frame_header->blocksize, subfram… in process_subframe_()