Searched refs:bitstream (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.h24 Int PutCoeff_Inter(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
25 Int PutCoeff_Intra(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
26 Int PutCBPY(Int cbpy, Char intra, BitstreamEncVideo *bitstream);
27 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
28 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
29 Int PutMV(Int mvint, BitstreamEncVideo *bitstream);
30 Int PutDCsize_chrom(Int size, BitstreamEncVideo *bitstream);
31 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
32 Int PutDCsize_lum(Int size, BitstreamEncVideo *bitstream);
33 Int PutCoeff_Inter_RVLC(Int run, Int level, Int last, BitstreamEncVideo *bitstream);
[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...]
H A Dbitstream_io.h44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
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...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp84 bitstream = pointer to buffer where bits are read
102 Purpose : Read "no_of_bits" bits from the array bitstream[]
120 Word16 *bitstream // output: address where bits are written
129 bit = *bitstream++;
164 Word16 *bitstream /* input: address where bits are read from */
175 single_bit = *(bitstream++);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dprm2bits.cpp95 bitstream = pointer to address where bits are written of type Word16
112 bitstream[]. The most significant bits are written first.
130 Word16 *bitstream // output: address where bits are written
135 pt_bitstream = &bitstream[no_of_bits];
181 Word16 *bitstream /* output: address where bits are written */
187 pt_bitstream = &bitstream[no_of_bits-1];
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
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 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 Davcenc_lib.h144 This function performs bitstream encoding of the sequence parameter set NAL.
153 This function encodes the VUI parameters into the sequence parameter set bitstream.
161 This function encodes HRD parameters into the sequence parameter set bitstream
170 This function performs bitstream encoding of the picture parameter set NAL.
183 \return "AVCENC_SUCCESS if success or bitstream fail statuses."
226 This function initializes the bitstream structure with the information given by
228 \param "bitstream" "Pointer to the AVCEncBitstream structure."
235 AVCEnc_Status BitstreamEncInit(AVCEncBitstream *bitstream, uint8 *buffer, int buf_size,
239 This function writes the data from the cache into the bitstream buffer. It also adds the
248 the bitstream buffe
[all...]
H A Dslice.cpp28 AVCEncBitstream *stream = encvid->bitstream;
161 AVCEncBitstream *stream = encvid->bitstream;
412 start_mb_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
433 start_text_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
499 num_bits = 32 + (encvid->bitstream->write_pos << 3) - encvid->bitstream->bit_left;
555 AVCEncBitstream *stream = encvid->bitstream;
H A Davcenc_api.h96 AVCProfile profile; /* profile of the bitstream to be compliant with*/
97 AVCLevel level; /* level of the bitstream to be compliant with*/
239 \param "buffer" "Pointer to the output AVC bitstream buffer, the format will be EBSP,
253 \param "bitstream" "Pointer to the beginning of a NAL unit (start with forbidden_zero_bit, etc.)."
254 \param "size" "size of the bitstream (NumBytesInNALunit + 1)."
258 OSCL_IMPORT_REF AVCEnc_Status PVAVCEncGetNALType(uint8 *bitstream, int size, int *nal_type, int *nal_ref_idc);
H A Dresidual.cpp25 AVCEncBitstream *stream = encvid->bitstream;
47 /* at this point bitstream is byte-aligned */
152 AVCEncBitstream *stream = encvid->bitstream;
355 if (status != AVCENC_SUCCESS) /* occasionally check the bitstream */
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/src/
H A Dpacket_util.cpp20 #include "bitstream.h"
33 BitstreamDecVideo *stream = video->bitstream;
148 BitstreamDecVideo *stream = video->bitstream;
199 BitstreamDecVideo *stream = video->bitstream;
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
H A Dvop.cpp19 #include "bitstream.h"
97 stream = currVol->bitstream;
237 * Read the VOL header entries from the bitstream
733 * -- DecodeGOV -- Decodes the Group of VOPs from bitstream
796 * -- DecodeVopHeader -- Decodes the VOPheader information from the bitstream
806 BitstreamDecVideo *stream = currVol->bitstream;
811 * Read the VOP header from the bitstream (No shortVideoHeader Mode here!)
1006 * -- VideoPlaneWithShortHeader -- Decodes the short_video_header information from the bitstream
1016 BitstreamDecVideo *stream = currVol->bitstream;
1511 * -- PV_DecodeVop -- Decodes the VOP information from the bitstream
[all...]
H A Dpvdec_api.cpp20 #include "bitstream.h"
196 mp4dec_log("InitVideoDecoder(): Can't allocate bitstream buffer.\n");
201 video->vol[idx]->bitstream = stream;
208 /* Set up VOL header bitstream for frame-based decoding. 08/30/2000 */
609 BitstreamClose(video->vol[idx]->bitstream);
610 video->vol[idx]->bitstream = NULL;
682 if (video->vol[idx]->bitstream)
684 BitstreamClose(video->vol[idx]->bitstream);
685 oscl_free(video->vol[idx]->bitstream);
853 /* bitstream
[all...]
H A Ddatapart_decode.cpp20 #include "bitstream.h"
28 /* Purpose : Decode a frame of MPEG4 bitstream in datapartitioning mode. */
43 BitstreamDecVideo *stream = video->bitstream;
142 BitstreamDecVideo *stream = video->bitstream;
307 BitstreamDecVideo *stream = video->bitstream;
519 BitstreamDecVideo *stream = video->bitstream;
576 BitstreamDecVideo *stream = video->bitstream;
H A Dconceal.cpp20 #include "bitstream.h"
34 BitstreamDecVideo *stream = video->bitstream;
H A Dvlc_dequant.cpp55 BitstreamDecVideo *stream = video->bitstream;
387 BitstreamDecVideo *stream = video->bitstream;
505 BitstreamDecVideo *stream = video->bitstream;
807 BitstreamDecVideo *stream = video->bitstream;
1069 BitstreamDecVideo *stream = video->bitstream;
H A Dcombined_decode.cpp20 #include "bitstream.h"
27 /* Purpose : Decode a frame of MPEG4 bitstream in combined mode. */
47 BitstreamDecVideo *stream = video->bitstream;
347 BitstreamDecVideo *stream = video->bitstream;
528 BitstreamDecVideo *stream = video->bitstream;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
H A DSoftMPEG4.cpp136 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; local
137 uint32_t *start_code = (uint32_t *)bitstream;
151 vol_data[0] = bitstream;
228 mHandle, &bitstream, &timestamp, &tmp,
H A DAndroid.mk6 src/bitstream.cpp \
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/
H A Dmp4dec_api.h157 OSCL_IMPORT_REF Bool PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_timestamp[], uint8* currYUV);

Completed in 205 milliseconds

12