Home
last modified time | relevance | path

Searched refs:BitBuffer (Results 1 – 25 of 27) sorted by relevance

12

/third_party/libsnd/src/ALAC/
DALACBitUtilities.h61 typedef struct BitBuffer struct
68 } BitBuffer ; argument
75 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) ;
76 uint32_t BitBufferRead (BitBuffer * bits, uint8_t numBits) ; // note: cannot read more than 16 bits…
77 uint8_t BitBufferReadSmall (BitBuffer * bits, uint8_t numBits) ;
78 uint8_t BitBufferReadOne (BitBuffer * bits) ;
79 uint32_t BitBufferPeek (BitBuffer * bits, uint8_t numBits) ; // note: cannot read more than 16 bit…
80 uint32_t BitBufferPeekOne (BitBuffer * bits) ;
81 uint32_t BitBufferUnpackBERSize (BitBuffer * bits) ;
82 uint32_t BitBufferGetPosition (BitBuffer * bits) ;
[all …]
DALACBitUtilities.c34 void BitBufferInit (BitBuffer * bits, uint8_t * buffer, uint32_t byteSize) in BitBufferInit()
44 uint32_t BitBufferRead (BitBuffer * bits, uint8_t numBits) in BitBufferRead()
69 uint8_t BitBufferReadSmall (BitBuffer * bits, uint8_t numBits) in BitBufferReadSmall()
93 uint8_t BitBufferReadOne (BitBuffer * bits) in BitBufferReadOne()
111 uint32_t BitBufferPeek (BitBuffer * bits, uint8_t numBits) in BitBufferPeek()
119 uint32_t BitBufferPeekOne (BitBuffer * bits) in BitBufferPeekOne()
126 uint32_t BitBufferUnpackBERSize (BitBuffer * bits) in BitBufferUnpackBERSize()
139 uint32_t BitBufferGetPosition (BitBuffer * bits) in BitBufferGetPosition()
150 void BitBufferByteAlign (BitBuffer * bits, int32_t addZeros) in BitBufferByteAlign()
164 void BitBufferAdvance (BitBuffer * bits, uint32_t numBits) in BitBufferAdvance()
[all …]
DALACEncoder.h32 struct BitBuffer ;
58 …int32_t EncodeStereo (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t chan…
59 …int32_t EncodeStereoFast (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t …
60 …int32_t EncodeStereoEscape (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_…
61 …int32_t EncodeMono (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t channe…
DALACDecoder.h32 struct BitBuffer ;
41 …int32_t Decode (struct BitBuffer * bits, uint8_t * sampleBuffer, uint32_t numSamples, uint32_t num…
48 int32_t FillElement (struct BitBuffer * bits) ;
49 int32_t DataStreamElement (struct BitBuffer * bits) ;
Daglib.h68 struct BitBuffer ;
73 int32_t dyn_comp (AGParamRecPtr params, int32_t * pc, struct BitBuffer * bitstream, int32_t numSamp…
74 int32_t dyn_decomp (AGParamRecPtr params, struct BitBuffer * bitstream, int32_t * pc, int32_t numSa…
Dalac_encoder.c55 static int32_t EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, …
56 static int32_t EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inp…
57 static int32_t EncodeStereoEscape (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * i…
58 static int32_t EncodeMono (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, ui…
78 static void AddFiller (BitBuffer * bits, int32_t numBytes) ;
222 EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t … in EncodeStereo()
224 BitBuffer workBits ; in EncodeStereo()
225BitBuffer startBits = *bitstream ; // squirrel away copy of current state in case we need to go… in EncodeStereo()
504 EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint3… in EncodeStereoFast()
506BitBuffer startBits = *bitstream ; // squirrel away current bit position in case we decide to u… in EncodeStereoFast()
[all …]
Dalac_decoder.h38 struct BitBuffer ;
59 int32_t alac_decode (alac_decoder *, struct BitBuffer * bits, uint8_t * sampleBuffer, uint32_t numS…
Dalac_decoder.c51 static int32_t alac_fill_element (struct BitBuffer * bits) ;
52 static int32_t alac_data_stream_element (struct BitBuffer * bits) ;
137 alac_decode (ALAC_DECODER *p, struct BitBuffer * bits, int32_t * sampleBuffer, uint32_t numSamples,… in alac_decode()
139 BitBuffer shiftBits ; in alac_decode()
587 alac_fill_element (struct BitBuffer * bits) in alac_fill_element()
609 alac_data_stream_element (struct BitBuffer * bits) in alac_data_stream_element()
Dalac_codec.h35 struct BitBuffer ;
91 int32_t alac_decode (ALAC_DECODER *, struct BitBuffer * bits, int32_t * sampleBuffer,
Dag_dec.c266 int32_t dyn_decomp (AGParamRecPtr params, BitBuffer * bitstream, int32_t * pc, int32_t numSamples, … in dyn_decomp()
Dag_enc.c230 int32_t dyn_comp (AGParamRecPtr params, int32_t * pc, BitBuffer * bitstream, int32_t numSamples, in… in dyn_comp()
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/
DQrSegment.java61 BitBuffer bb = new BitBuffer(); in makeBytes()
80 BitBuffer bb = new BitBuffer(); in makeNumeric()
104 BitBuffer bb = new BitBuffer(); in makeAlphanumeric()
148 BitBuffer bb = new BitBuffer(); in makeEci()
204 final BitBuffer data;
219 public QrSegment(Mode md, int numCh, BitBuffer data) { in QrSegment()
235 public BitBuffer getData() { in getData()
DBitBuffer.java33 public final class BitBuffer implements Cloneable { class
48 public BitBuffer() { in BitBuffer() method in BitBuffer
106 public void appendData(BitBuffer bb) { in appendData()
119 public BitBuffer clone() { in clone()
121 BitBuffer result = (BitBuffer)super.clone(); in clone()
DQrSegmentAdvanced.java264 BitBuffer bb = new BitBuffer(); in makeKanji()
DQrCode.java172 BitBuffer bb = new BitBuffer(); in encodeSegments()
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/
DQrSegment.java79 BitBuffer bb = new BitBuffer(); in makeNumeric()
111 BitBuffer bb = new BitBuffer(); in makeAlphanumeric()
163 BitBuffer bb = new BitBuffer(); in makeEci()
DBitBuffer.java31 final class BitBuffer { class
44 public BitBuffer() { in BitBuffer() method in BitBuffer
DQrSegmentAdvanced.java256 BitBuffer bb = new BitBuffer(); in makeKanji()
DQrCode.java172 BitBuffer bb = new BitBuffer(); in encodeSegments()
/third_party/qrcodegen/cpp/
Dqrcodegen.cpp72 BitBuffer bb; in makeBytes()
80 BitBuffer bb; in makeNumeric()
103 BitBuffer bb; in makeAlphanumeric()
144 BitBuffer bb; in makeEci()
291 BitBuffer bb; in encodeSegments()
819 BitBuffer::BitBuffer() in BitBuffer() function in qrcodegen::BitBuffer
823 void BitBuffer::appendBits(std::uint32_t val, int len) { in appendBits()
Dqrcodegen.hpp532 class BitBuffer final : public std::vector<bool> { class
537 public: BitBuffer();
DQrCodeGeneratorDemo.cpp156 qrcodegen::BitBuffer bb; in doSegmentDemo()
/third_party/qrcodegen/rust/src/
Dlib.rs242 let mut bb = BitBuffer(Vec::new()); in encode_segments_advanced()
976 let mut bb = BitBuffer(Vec::with_capacity(data.len() * 8)); in make_bytes()
988 let mut bb = BitBuffer(Vec::with_capacity(text.len() * 3 + (text.len() + 2) / 3)); in make_numeric()
1015 let mut bb = BitBuffer(Vec::with_capacity(text.len() * 5 + (text.len() + 1) / 2)); in make_alphanumeric()
1060 let mut bb = BitBuffer(Vec::with_capacity(24)); in make_eci()
1205 pub struct BitBuffer(pub Vec<bool>); struct
1208 impl BitBuffer { implementation
/third_party/qrcodegen/rust-no-heap/src/
Dlib.rs283 let mut bb = BitBuffer::new(&mut outbuffer[ .. datacapacitybits/8]); in encode_segments_to_codewords()
1113 let mut bb = BitBuffer::new(buf); in make_numeric()
1140 let mut bb = BitBuffer::new(buf); in make_alphanumeric()
1164 let mut bb = BitBuffer::new(buf); in make_eci()
1343 pub struct BitBuffer<'a> { struct
1352 impl<'a> BitBuffer<'a> { argument
/third_party/qrcodegen/rust/examples/
Dqrcodegen-demo.rs129 let mut bb = qrcodegen::BitBuffer(Vec::new()); in do_segment_demo()

12