Home
last modified time | relevance | path

Searched refs:BitstreamWriteBits (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
Dresidual.cpp40 BitstreamWriteBits(stream, 0, i); in EncodeIntraPCM()
58 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM()
67 status = BitstreamWriteBits(stream, 16, code); in EncodeIntraPCM()
91 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM()
100 status = BitstreamWriteBits(stream, 16, code); in EncodeIntraPCM()
124 status = BitstreamWriteBits(stream, 32, code); in EncodeIntraPCM()
133 status = BitstreamWriteBits(stream, 16, code); in EncodeIntraPCM()
274 status = BitstreamWriteBits(stream, TrailingOnes, trailing_ones_sign_flag); in enc_residual_block()
319 status = BitstreamWriteBits(stream, value * 2 + sign - 1, 1); in enc_residual_block()
323 … status = BitstreamWriteBits(stream, 14 + 1 + 4, (1 << 4) | ((value - 8) << 1) | sign); in enc_residual_block()
[all …]
Dvlc_encode.cpp91 status = BitstreamWriteBits(bitstream, leadingZeros, 0); in SetEGBitstring()
93 status = BitstreamWriteBits(bitstream, leadingZeros + 1, infobits); in SetEGBitstring()
169 status = BitstreamWriteBits(stream, 6, code); in ce_TotalCoeffTrailingOnes()
188 status = BitstreamWriteBits(stream, len, code); in ce_TotalCoeffTrailingOnes()
209 status = BitstreamWriteBits(stream, len, code); in ce_TotalCoeffTrailingOnesChromaDC()
260 status = BitstreamWriteBits(stream, len, code); in ce_TotalZeros()
288 status = BitstreamWriteBits(stream, len, code); in ce_TotalZerosChromaDC()
332 status = BitstreamWriteBits(stream, len, code); in ce_RunBefore()
Dheader.cpp35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); in EncodeSPS()
40 status = BitstreamWriteBits(stream, 4, 0); /* forbidden zero bits */ in EncodeSPS()
46 status = BitstreamWriteBits(stream, 8, seqParam->level_idc); in EncodeSPS()
121 BitstreamWriteBits(stream, 8, vui->aspect_ratio_idc); in EncodeVUI()
124 BitstreamWriteBits(stream, 16, vui->sar_width); in EncodeVUI()
125 BitstreamWriteBits(stream, 16, vui->sar_height); in EncodeVUI()
138 BitstreamWriteBits(stream, 3, vui->video_format); in EncodeVUI()
144 BitstreamWriteBits(stream, 8, vui->colour_primaries); in EncodeVUI()
145 BitstreamWriteBits(stream, 8, vui->transfer_characteristics); in EncodeVUI()
146 BitstreamWriteBits(stream, 8, vui->matrix_coefficients); in EncodeVUI()
[all …]
Dbitstream_io.cpp145 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code) in BitstreamWriteBits() function
238 status = BitstreamWriteBits(bitstream, bit_left, trailing_bits[bit_left]); in BitstreamTrailingBits()
Davcenc_api.cpp387 BitstreamWriteBits(bitstream, 8, (1 << 5) | AVC_NALTYPE_SPS); in PVAVCEncodeNAL()
410 BitstreamWriteBits(bitstream, 8, (1 << 5) | AVC_NALTYPE_PPS); in PVAVCEncodeNAL()
440 BitstreamWriteBits(bitstream, 8, (video->nal_ref_idc << 5) | (video->nal_unit_type)); in PVAVCEncodeNAL()
Davcenc_lib.h254 AVCEnc_Status BitstreamWriteBits(AVCEncBitstream *stream, int nBits, uint code);
Dslice.cpp1012 BitstreamWriteBits(stream, 3, rem); in EncodeIntra4x4Mode()