Lines Matching defs:FLAC__StreamEncoderPrivate
316 typedef struct FLAC__StreamEncoderPrivate { struct
317 …pacity; /* current size (in samples) of the signal and residual buffers */
318 FLAC__int32 *integer_signal[FLAC__MAX_CHANNELS]; /* the integer version of the input signal */
319 …r_signal_mid_side[2]; /* the integer version of the mid-side input signal (stereo only) */
321 …AC__MAX_CHANNELS]; /* (@@@ currently unused) the floating-point version of the input signal */
322 … /* (@@@ currently unused) the floating-point version of the mid-side input signal (stereo only) */
323 …_APODIZATION_FUNCTIONS]; /* the pre-computed floating-point window for each apodization function */
324 FLAC__real *windowed_signal; /* the integer_signal[] * current window[] */
326 …HANNELS]; /* the effective bits per sample of the input signal (stream bps - wasted bits) */
327 … /* the effective bits per sample of the mid-side input signal (stream bps - wasted bits + 0/1) */
328 …ch channel has a candidate and best workspace where the subframe residual signals will be stored */
329 FLAC__int32 *residual_workspace_mid_side[2][2];
330 FLAC__Subframe subframe_workspace[FLAC__MAX_CHANNELS][2];
331 FLAC__Subframe subframe_workspace_mid_side[2][2];
332 FLAC__Subframe *subframe_workspace_ptr[FLAC__MAX_CHANNELS][2];
333 FLAC__Subframe *subframe_workspace_ptr_mid_side[2][2];
334 …opyCodingMethod_PartitionedRiceContents partitioned_rice_contents_workspace[FLAC__MAX_CHANNELS][2];
335 …Method_PartitionedRiceContents partitioned_rice_contents_workspace_mid_side[FLAC__MAX_CHANNELS][2];
336 …dingMethod_PartitionedRiceContents *partitioned_rice_contents_workspace_ptr[FLAC__MAX_CHANNELS][2];
337 …d_PartitionedRiceContents *partitioned_rice_contents_workspace_ptr_mid_side[FLAC__MAX_CHANNELS][2];
338 …subframe[FLAC__MAX_CHANNELS]; /* index (0 or 1) into 2nd dimension of the above workspaces */
339 unsigned best_subframe_mid_side[2];
340 …d best_subframe_bits[FLAC__MAX_CHANNELS]; /* size in bits of the best subframe for each channel */
341 unsigned best_subframe_bits_mid_side[2];
342 …_sums; /* workspace where the sum of abs(candidate residual) for each partition is stored */
343 … /* workspace where the sum of silog2(candidate residual) for each partition is stored */
344 FLAC__BitWriter *frame; /* the current frame being worked on */
345 …d number of frames the encoder will use before trying both independent and mid/side frames again */
346 …oose_mid_side_stereo_frame_count; /* number of frames using the current channel assignment */
347 FLAC__ChannelAssignment last_channel_assignment;
348 FLAC__StreamMetadata streaminfo; /* scratchpad for STREAMINFO as it is built */
349 …kTable *seek_table; /* pointer into encoder->protected_->metadata_ where the seek table is */
350 unsigned current_sample_number;
351 unsigned current_frame_number;
352 FLAC__MD5Context md5context;
353 FLAC__CPUInfo cpuinfo;
354 …artition_sums[], unsigned residual_samples, unsigned predictor_order, unsigned min_partition_order…
356 …st FLAC__int32 data[], unsigned data_len, float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
357 …st FLAC__int32 data[], unsigned data_len, float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
359 …t32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
360 …t32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
363 …ute_autocorrelation)(const FLAC__real data[], unsigned data_len, unsigned lag, FLAC__real autoc[]);
364 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
365 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
366 …a_len, const FLAC__int32 qlp_coeff[], unsigned order, int lp_quantization, FLAC__int32 residual[]);
368 FLAC__bool disable_constant_subframes;
369 FLAC__bool disable_fixed_subframes;
370 FLAC__bool disable_verbatim_subframes;
371 FLAC__bool is_ogg;
372 FLAC__StreamEncoderReadCallback read_callback; /* currently only needed for Ogg FLAC */
373 FLAC__StreamEncoderSeekCallback seek_callback;
374 FLAC__StreamEncoderTellCallback tell_callback;
375 FLAC__StreamEncoderWriteCallback write_callback;
376 FLAC__StreamEncoderMetadataCallback metadata_callback;
377 FLAC__StreamEncoderProgressCallback progress_callback;
378 void *client_data;
379 unsigned first_seekpoint_to_check;
380 FILE *file; /* only used when encoding to a file */
381 FLAC__uint64 bytes_written;
382 FLAC__uint64 samples_written;
383 unsigned frames_written;
384 unsigned total_frames_estimate;
386 FLAC__int32 *integer_signal_unaligned[FLAC__MAX_CHANNELS];
387 FLAC__int32 *integer_signal_mid_side_unaligned[2];
389 FLAC__real *real_signal_unaligned[FLAC__MAX_CHANNELS]; /* (@@@ currently unused) */
390 FLAC__real *real_signal_mid_side_unaligned[2]; /* (@@@ currently unused) */
391 FLAC__real *window_unaligned[FLAC__MAX_APODIZATION_FUNCTIONS];
392 FLAC__real *windowed_signal_unaligned;
394 FLAC__int32 *residual_workspace_unaligned[FLAC__MAX_CHANNELS][2];
395 FLAC__int32 *residual_workspace_mid_side_unaligned[2][2];
396 FLAC__uint64 *abs_residual_partition_sums_unaligned;
397 unsigned *raw_bits_per_partition_unaligned;
425 } FLAC__StreamEncoderPrivate; argument