rice_parameter=(fixed_residual_bits_per_sample[fixed_order]>FLAC__FP_ZERO)?(unsigned)FLAC__fixedpoint_trunc(fixed_residual_bits_per_sample[fixed_order]+FLAC__FP_ONE_HALF):0;/* 0.5 is for rounding */
#endif
rice_parameter++;/* to account for the signed->unsigned conversion during rice coding */
FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN+/* actually could end up being FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_PARAMETER_LEN but err on side of 16bps */
(1+rice_parameter)*partition_samples/* 1 for unary stop bit + rice_parameter for the binary portion */
FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE_PARAMETER_LEN+/* actually could end up being FLAC__ENTROPY_CODING_METHOD_PARTITIONED_RICE2_PARAMETER_LEN but err on side of 16bps */
(1+rice_parameter)*partition_samples+/* 1 for unary stop bit + rice_parameter for the binary portion */