Searched defs:bitstream (Results 1 - 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dbitstream_io.cpp29 /* Purpose : Populate bitstream structure with bitstream buffer and size */
227 AVCEnc_Status BitstreamTrailingBits(AVCEncBitstream *bitstream, uint *nal_size) argument
232 int bit_left = bitstream->bit_left;
236 /* bitstream->bit_left == 0 cannot happen here since it would have been Saved already */
238 status = BitstreamWriteBits(bitstream, bit_left, trailing_bits[bit_left]);
246 //if(bitstream->bit_left<(WORD_SIZE<<3)) /* in fact, no need to check */
248 status = AVCBitstreamSaveWord(bitstream);
H A Dvlc_encode.cpp22 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum) argument
24 if (AVCENC_SUCCESS != SetEGBitstring(bitstream, codeNum))
32 AVCEnc_Status se_v(AVCEncBitstream *bitstream, int value) argument
46 status = ue_v(bitstream, codeNum);
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range) argument
57 return ue_v(bitstream, value);
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
70 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum) argument
78 status = BitstreamWrite1Bit(bitstream, 1);
91 status = BitstreamWriteBits(bitstream, leadingZero
[all...]
H A Davcenc_api.cpp24 /* Purpose : Sniff NAL type from the bitstream */
29 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetNALType(unsigned char *bitstream, int size, argument
35 forbidden_zero_bit = bitstream[0] >> 7;
38 *nal_ref_idc = (bitstream[0] & 0x60) >> 5;
39 *nal_type = bitstream[0] & 0x1F;
93 /* allocate bitstream structure */
94 encvid->bitstream = (AVCEncBitstream*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncBitstream), DEFAULT_ATTR);
95 if (encvid->bitstream == NULL)
99 encvid->bitstream->encvid = encvid; /* to point back for reallocation */
372 AVCEncBitstream *bitstream local
524 AVCEncBitstream *bitstream = encvid->bitstream; local
[all...]
H A Davcenc_int.h125 Bitstream structure contains bitstream related parameters such as the pointer
375 AVCEncBitstream *bitstream; /* for current NAL */ member in struct:tagEncObject
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp144 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; local
145 uint32_t *start_code = (uint32_t *)bitstream;
159 vol_data[0] = bitstream;
244 mHandle, &bitstream, &timestamp, &tmp,
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dbitstream_io.cpp20 /* Change the bitstream parsing algorithm. Use temporary word of 2 or 4 bytes */
21 /* before writing it to the bitstream buffer. */
45 /* Purpose : Create a bitstream to hold one encoded video packet or frame */
47 /* bufferSize : size of the bitstream buffer in bytes */
86 /* Purpose : close a bitstream */
88 stream : the bitstream to be closed */
114 /* stream the bitstream where the bits are put in */
162 /* stream the bitstream where the bits are put in */
200 /* Purpose : save written word into the bitstream buffer. */
202 /* stream the bitstream wher
581 BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount) argument
[all...]
H A Dvlc_encode.cpp64 * Description: Functions for writing to bitstream
142 Int PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream);
143 Int PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream);
144 Int PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream);
145 Int PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream);
146 Int PutCBPY(Int cbpy, Char intra, BitstreamEncVideo *bitstream);
147 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
148 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
149 Int PutMV(Int mvint, BitstreamEncVideo *bitstream);
150 Int PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream);
182 PutDCsize_lum(Int size, BitstreamEncVideo *bitstream) argument
197 PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream) argument
211 PutMV(Int mvint, BitstreamEncVideo *bitstream) argument
239 PutMCBPC_Intra(Int cbp, Int mode, BitstreamEncVideo *bitstream) argument
254 PutMCBPC_Inter(Int cbp, Int mode, BitstreamEncVideo *bitstream) argument
269 PutCBPY(Int cbpy, Char intra, BitstreamEncVideo *bitstream) argument
291 PutCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument
311 PutCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
333 PutCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument
365 PutCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
393 PutCoeff_Inter_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument
449 PutCoeff_Inter_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
483 PutCoeff_Intra_RVLC(Int run, Int level, BitstreamEncVideo *bitstream) argument
545 PutCoeff_Intra_RVLC_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
580 PutRunCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument
609 PutRunCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
638 PutRunCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument
688 PutRunCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
729 PutLevelCoeff_Inter(Int run, Int level, BitstreamEncVideo *bitstream) argument
756 PutLevelCoeff_Inter_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
783 PutLevelCoeff_Intra(Int run, Int level, BitstreamEncVideo *bitstream) argument
829 PutLevelCoeff_Intra_Last(Int run, Int level, BitstreamEncVideo *bitstream) argument
1944 IntraDC_dpcm(Int val, Int lum, BitstreamEncVideo *bitstream) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmp4lib_int.h90 BitstreamDecVideo *bitstream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
201 BitstreamDecVideo *bitstream; /* library bitstream buffer (input buffer) */ member in struct:tagVideoDecData

Completed in 191 milliseconds