Home
last modified time | relevance | path

Searched refs:wasted_bits (Results 1 – 5 of 5) sorted by relevance

/external/flac/libFLAC/include/private/
Dstream_encoder_framing.h41 …nst FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite…
42 … *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite…
43 … *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite…
44 …_Verbatim *subframe, unsigned samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite…
/external/flac/libFLAC/
Dstream_encoder_framing.c367 …nst FLAC__Subframe_Constant *subframe, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite… in FLAC__subframe_add_constant() argument
372 …write_raw_uint32(bw, FLAC__SUBFRAME_TYPE_CONSTANT_BYTE_ALIGNED_MASK | (wasted_bits? 1:0), FLAC__SU… in FLAC__subframe_add_constant()
373 (wasted_bits? FLAC__bitwriter_write_unary_unsigned(bw, wasted_bits-1) : true) && in FLAC__subframe_add_constant()
380 … *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite… in FLAC__subframe_add_fixed() argument
384 … FLAC__SUBFRAME_TYPE_FIXED_BYTE_ALIGNED_MASK | (subframe->order<<1) | (wasted_bits? 1:0), FLAC__SU… in FLAC__subframe_add_fixed()
386 if(wasted_bits) in FLAC__subframe_add_fixed()
387 if(!FLAC__bitwriter_write_unary_unsigned(bw, wasted_bits-1)) in FLAC__subframe_add_fixed()
418 … *subframe, unsigned residual_samples, unsigned subframe_bps, unsigned wasted_bits, FLAC__BitWrite… in FLAC__subframe_add_lpc() argument
422 …LAC__SUBFRAME_TYPE_LPC_BYTE_ALIGNED_MASK | ((subframe->order-1)<<1) | (wasted_bits? 1:0), FLAC__SU… in FLAC__subframe_add_lpc()
424 if(wasted_bits) in FLAC__subframe_add_lpc()
[all …]
Dstream_encoder.c3171 …ivate_->subframe_workspace[channel][0].wasted_bits = encoder->private_->subframe_workspace[channel… in process_subframes_()
3182 …me_workspace_mid_side[channel][0].wasted_bits = encoder->private_->subframe_workspace_mid_side[cha… in process_subframes_()
3605 …if(!FLAC__subframe_add_constant(&(subframe->data.constant), subframe_bps, subframe->wasted_bits, f… in add_subframe_()
3611 …data.fixed), blocksize - subframe->data.fixed.order, subframe_bps, subframe->wasted_bits, frame)) { in add_subframe_()
3617 …me->data.lpc), blocksize - subframe->data.lpc.order, subframe_bps, subframe->wasted_bits, frame)) { in add_subframe_()
3623 …_add_verbatim(&(subframe->data.verbatim), blocksize, subframe_bps, subframe->wasted_bits, frame)) { in add_subframe_()
3678 …AC__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + subframe_bps; in evaluate_constant_subframe_()
3741 …C__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (order * subf… in evaluate_fixed_subframe_()
3827 …C__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + FLAC__SUBFRAM… in evaluate_lpc_subframe_()
3851 …C__SUBFRAME_TYPE_LEN + FLAC__SUBFRAME_WASTED_BITS_FLAG_LEN + subframe->wasted_bits + (blocksize * … in evaluate_verbatim_subframe_()
Dstream_decoder.c2474 FLAC__bool wasted_bits; in read_subframe_() local
2480 wasted_bits = (x & 1); in read_subframe_()
2483 if(wasted_bits) { in read_subframe_()
2487 decoder->private_->frame.subframes[channel].wasted_bits = u+1; in read_subframe_()
2488 if (decoder->private_->frame.subframes[channel].wasted_bits >= bps) in read_subframe_()
2490 bps -= decoder->private_->frame.subframes[channel].wasted_bits; in read_subframe_()
2493 decoder->private_->frame.subframes[channel].wasted_bits = 0; in read_subframe_()
2534 if(wasted_bits && do_full_decode) { in read_subframe_()
2535 x = decoder->private_->frame.subframes[channel].wasted_bits; in read_subframe_()
/external/flac/include/FLAC/
Dformat.h352 unsigned wasted_bits; member