Lines Matching defs:FLAC__StreamEncoderPrivate
335 typedef struct FLAC__StreamEncoderPrivate { struct
336 …pacity; /* current size (in samples) of the signal and residual buffers */
337 FLAC__int32 *integer_signal[FLAC__MAX_CHANNELS]; /* the integer version of the input signal */
338 …r_signal_mid_side[2]; /* the integer version of the mid-side input signal (stereo only) */
339 FLAC__int64 *integer_signal_33bit_side; /* 33-bit side for 32-bit stereo decorrelation */
341 …AC__MAX_CHANNELS]; /* (@@@ currently unused) the floating-point version of the input signal */
342 … /* (@@@ currently unused) the floating-point version of the mid-side input signal (stereo only) */
343 …_APODIZATION_FUNCTIONS]; /* the pre-computed floating-point window for each apodization function */
344 FLAC__real *windowed_signal; /* the integer_signal[] * current window[] */
346 …HANNELS]; /* the effective bits per sample of the input signal (stream bps - wasted bits) */
347 … /* the effective bits per sample of the mid-side input signal (stream bps - wasted bits + 0/1) */
348 …ch channel has a candidate and best workspace where the subframe residual signals will be stored */
349 FLAC__int32 *residual_workspace_mid_side[2][2];
350 FLAC__Subframe subframe_workspace[FLAC__MAX_CHANNELS][2];
351 FLAC__Subframe subframe_workspace_mid_side[2][2];
352 FLAC__Subframe *subframe_workspace_ptr[FLAC__MAX_CHANNELS][2];
353 FLAC__Subframe *subframe_workspace_ptr_mid_side[2][2];
354 …opyCodingMethod_PartitionedRiceContents partitioned_rice_contents_workspace[FLAC__MAX_CHANNELS][2];
355 …Method_PartitionedRiceContents partitioned_rice_contents_workspace_mid_side[FLAC__MAX_CHANNELS][2];
356 …dingMethod_PartitionedRiceContents *partitioned_rice_contents_workspace_ptr[FLAC__MAX_CHANNELS][2];
357 …d_PartitionedRiceContents *partitioned_rice_contents_workspace_ptr_mid_side[FLAC__MAX_CHANNELS][2];
358 …subframe[FLAC__MAX_CHANNELS]; /* index (0 or 1) into 2nd dimension of the above workspaces */
359 uint32_t best_subframe_mid_side[2];
360 …t best_subframe_bits[FLAC__MAX_CHANNELS]; /* size in bits of the best subframe for each channel */
361 uint32_t best_subframe_bits_mid_side[2];
362 …_sums; /* workspace where the sum of abs(candidate residual) for each partition is stored */
363 … /* workspace where the sum of silog2(candidate residual) for each partition is stored */
364 FLAC__BitWriter *frame; /* the current frame being worked on */
365 …d number of frames the encoder will use before trying both independent and mid/side frames again */
366 …oose_mid_side_stereo_frame_count; /* number of frames using the current channel assignment */
367 FLAC__ChannelAssignment last_channel_assignment;
368 FLAC__StreamMetadata streaminfo; /* scratchpad for STREAMINFO as it is built */
369 …kTable *seek_table; /* pointer into encoder->protected_->metadata_ where the seek table is */
370 uint32_t current_sample_number;
371 uint32_t current_frame_number;
372 FLAC__MD5Context md5context;
373 FLAC__CPUInfo cpuinfo;
374 …artition_sums[], uint32_t residual_samples, uint32_t predictor_order, uint32_t min_partition_order…
376 …st FLAC__int32 data[], uint32_t data_len, float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
377 …st FLAC__int32 data[], uint32_t data_len, float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
378 …st FLAC__int32 data[], uint32_t data_len, float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
380 …t32 data[], uint32_t data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
381 …t32 data[], uint32_t data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
382 …t32 data[], uint32_t data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]);
385 …compute_autocorrelation)(const FLAC__real data[], uint32_t data_len, uint32_t lag, double autoc[]);
386 …a_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
387 …a_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
388 …a_len, const FLAC__int32 qlp_coeff[], uint32_t order, int lp_quantization, FLAC__int32 residual[]);
390 FLAC__bool disable_mmx;
391 FLAC__bool disable_sse2;
392 FLAC__bool disable_ssse3;
393 FLAC__bool disable_sse41;
394 FLAC__bool disable_sse42;
395 FLAC__bool disable_avx2;
396 FLAC__bool disable_fma;
397 FLAC__bool disable_constant_subframes;
398 FLAC__bool disable_fixed_subframes;
399 FLAC__bool disable_verbatim_subframes;
400 FLAC__bool is_ogg;
401 FLAC__StreamEncoderReadCallback read_callback; /* currently only needed for Ogg FLAC */
402 FLAC__StreamEncoderSeekCallback seek_callback;
403 FLAC__StreamEncoderTellCallback tell_callback;
404 FLAC__StreamEncoderWriteCallback write_callback;
405 FLAC__StreamEncoderMetadataCallback metadata_callback;
406 FLAC__StreamEncoderProgressCallback progress_callback;
407 void *client_data;
408 uint32_t first_seekpoint_to_check;
409 FILE *file; /* only used when encoding to a file */
410 FLAC__uint64 bytes_written;
411 FLAC__uint64 samples_written;
412 uint32_t frames_written;
413 uint32_t total_frames_estimate;
415 FLAC__int32 *integer_signal_unaligned[FLAC__MAX_CHANNELS];
416 FLAC__int32 *integer_signal_mid_side_unaligned[2];
417 FLAC__int64 *integer_signal_33bit_side_unaligned;
419 FLAC__real *real_signal_unaligned[FLAC__MAX_CHANNELS]; /* (@@@ currently unused) */
420 FLAC__real *real_signal_mid_side_unaligned[2]; /* (@@@ currently unused) */
421 FLAC__real *window_unaligned[FLAC__MAX_APODIZATION_FUNCTIONS];
422 FLAC__real *windowed_signal_unaligned;
424 FLAC__int32 *residual_workspace_unaligned[FLAC__MAX_CHANNELS][2];
425 FLAC__int32 *residual_workspace_mid_side_unaligned[2][2];
426 FLAC__uint64 *abs_residual_partition_sums_unaligned;
427 uint32_t *raw_bits_per_partition_unaligned;
455 } FLAC__StreamEncoderPrivate; typedef