HomeSort by relevance Sort by last modified time
    Searched refs:bitstream (Results 1 - 25 of 45) sorted by null

1 2

  /frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
vlc_encode.h 24 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...]
vlc_encode.cpp 64 * 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);
    [all...]
bitstream_io.h 44 PV_STATUS BitstreamRepos(BitstreamEncVideo *bitstream, Int byteCount, Int bitCount);
bitstream_io.cpp 20 /* 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 where the bits are put in *
    [all...]
  /frameworks/base/media/libstagefright/codecs/avc/dec/include/
pvavcdecoderinterface.h 37 virtual int32 DecodeSPS(uint8 *bitstream, int32 buffer_size) = 0;
38 virtual int32 DecodePPS(uint8 *bitstream, int32 buffer_size) = 0;
39 virtual int32 DecodeAVCSlice(uint8 *bitstream, int32 *buffer_size) = 0;
pvavcdecoder.h 35 virtual int32 DecodeSPS(uint8 *bitstream, int32 buffer_size);
36 virtual int32 DecodePPS(uint8 *bitstream, int32 buffer_size);
37 virtual int32 DecodeAVCSlice(uint8 *bitstream, int32 *buffer_size);
avcdec_api.h 84 \param "bitstream" "Pointer to the bitstream buffer."
86 found in bitstream."
87 \param "size" "As input, the pointer to the size of bitstream in bytes. As output,
92 OSCL_IMPORT_REF AVCDec_Status PVAVCAnnexBGetNALUnit(uint8 *bitstream, uint8 **nal_unit, int *size);
96 \param "bitstream" "Pointer to the beginning of a NAL unit (start with forbidden_zero_bit, etc.)."
97 \param "size" "size of the bitstream (NumBytesInNALunit + 1)."
101 OSCL_IMPORT_REF AVCDec_Status PVAVCDecGetNALType(uint8 *bitstream, int size, int *nal_type, int *nal_ref_idc);
110 \param "nal_size" "size of the bitstream NumBytesInNALunit."
135 \param "nal_size" "size of the bitstream NumBytesInNALunit.
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrnb/common/src/
bits2prm.cpp 84 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/base/media/libstagefright/codecs/amrnb/enc/src/
prm2bits.cpp 95 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/base/media/libstagefright/codecs/avc/enc/src/
vlc_encode.cpp 22 AVCEnc_Status ue_v(AVCEncBitstream *bitstream, uint codeNum)
24 if (AVCENC_SUCCESS != SetEGBitstring(bitstream, codeNum))
32 AVCEnc_Status se_v(AVCEncBitstream *bitstream, int value)
46 status = ue_v(bitstream, codeNum);
51 AVCEnc_Status te_v(AVCEncBitstream *bitstream, uint value, uint range)
57 return ue_v(bitstream, value);
61 status = BitstreamWrite1Bit(bitstream, 1 - value);
70 AVCEnc_Status SetEGBitstring(AVCEncBitstream *bitstream, uint codeNum)
78 status = BitstreamWrite1Bit(bitstream, 1);
91 status = BitstreamWriteBits(bitstream, leadingZeros, 0)
    [all...]
avcenc_api.cpp 24 /* Purpose : Sniff NAL type from the bitstream */
29 OSCL_EXPORT_REF AVCEnc_Status PVAVCEncGetNALType(unsigned char *bitstream, int size,
35 forbidden_zero_bit = bitstream[0] >> 7;
38 *nal_ref_idc = (bitstream[0] & 0x60) >> 5;
39 *nal_type = bitstream[0] & 0x1F;
95 /* allocate bitstream structure */
96 encvid->bitstream = (AVCEncBitstream*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCEncBitstream), DEFAULT_ATTR);
97 if (encvid->bitstream == NULL)
101 encvid->bitstream->encvid = encvid; /* to point back for reallocation */
380 AVCEncBitstream *bitstream = encvid->bitstream local
532 AVCEncBitstream *bitstream = encvid->bitstream; local
    [all...]
bitstream_io.cpp 29 /* Purpose : Populate bitstream structure with bitstream buffer and size */
224 AVCEnc_Status BitstreamTrailingBits(AVCEncBitstream *bitstream, uint *nal_size)
229 int bit_left = bitstream->bit_left;
233 /* bitstream->bit_left == 0 cannot happen here since it would have been Saved already */
235 status = BitstreamWriteBits(bitstream, bit_left, trailing_bits[bit_left]);
243 //if(bitstream->bit_left<(WORD_SIZE<<3)) /* in fact, no need to check */
245 status = AVCBitstreamSaveWord(bitstream);
avcenc_lib.h 144 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 buffer
    [all...]
  /frameworks/base/media/libstagefright/codecs/avc/dec/src/
vlc.cpp 97 AVCDec_Status ue_v(AVCDecBitstream *bitstream, uint *codeNum)
101 BitstreamShowBits(bitstream, 16, &temp);
109 BitstreamFlushBits(bitstream, (leading_zeros << 1) + 1);
113 BitstreamReadBits(bitstream, (leading_zeros << 1) + 1, &temp);
122 AVCDec_Status se_v(AVCDecBitstream *bitstream, int *value)
126 BitstreamShowBits(bitstream, 16, &temp);
134 BitstreamFlushBits(bitstream, (leading_zeros << 1) + 1);
138 BitstreamReadBits(bitstream, (leading_zeros << 1) + 1, &temp);
152 AVCDec_Status se_v32bit(AVCDecBitstream *bitstream, int32 *value)
158 if (AVCDEC_SUCCESS != GetEGBitstring32bit(bitstream, &leadingZeros, &infobits)
    [all...]
avcdec_int.h 36 Bitstream structure contains bitstream related parameters such as the pointer
65 AVCDecBitstream *bitstream; /* for current NAL */ member in struct:tagDecObject
avcdec_api.cpp 100 OSCL_EXPORT_REF AVCDec_Status PVAVCAnnexBGetNALUnit(uint8 *bitstream, uint8 **nal_unit,
107 while (bitstream[i] == 0 && i < *size)
113 *nal_unit = bitstream;
116 else if (bitstream[i] != 0x1)
122 *nal_unit = bitstream + i; /* point to the beginning of the NAL unit */
127 while ((j + 1 < *size) && (bitstream[j] != 0 || bitstream[j+1] != 0)) /* see 2 consecutive zero bytes */
132 while (j + 2 < *size && bitstream[j+2] == 0) /* keep reading for zero byte */
141 if (bitstream[j+2] == 0x1)
160 /* Purpose : Sniff NAL type from the bitstream */
197 AVCDecBitstream *bitstream; local
394 AVCDecBitstream *bitstream; local
451 AVCDecBitstream *bitstream; local
    [all...]
avcdec_lib.h 31 The result is written over the input bitstream.
229 \param "mb_type" "From the syntax bitstream."
239 \param "mb_type" "From the syntax bitstream."
249 \param "mb_type" "From the syntax bitstream."
259 \param "mb_type" "From the syntax bitstream."
269 \param "sub_mb_type" "From the syntax bitstream."
279 \param "sub_mb_type" "From the syntax bitstream."
297 \param "bitstream" "Pointer to AVCDecBitstream."
301 AVCDec_Status ue_v(AVCDecBitstream *bitstream, uint *codeNum);
305 \param "bitstream" "Pointer to AVCDecBitstream.
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PurgeableBitmapView.java 34 * PurgeableBitmapView decodes an encoded bitstream to a Bitmap each time update()
39 private final byte[] bitstream; field in class:PurgeableBitmapView
61 bitstream = generateBitstream(src, Bitmap.CompressFormat.JPEG, 80);
84 bitstream, 0, bitstream.length, mOptions);
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
packet_util.cpp 20 #include "bitstream.h"
33 BitstreamDecVideo *stream = video->bitstream;
148 BitstreamDecVideo *stream = video->bitstream;
199 BitstreamDecVideo *stream = video->bitstream;
mp4lib_int.h 90 BitstreamDecVideo *bitstream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
201 BitstreamDecVideo *bitstream; /* library bitstream buffer (input buffer) */ member in struct:tagVideoDecData
vop.cpp 19 #include "bitstream.h"
97 stream = currVol->bitstream;
104 { /* Bitstream Exhchange Fix 9/99 */
105 /* Bitstream Exchange requires we allow start with Video Object Sequence */
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!)
    [all...]
pvdec_api.cpp 20 #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);
    [all...]
  /hardware/ti/omap3/omx/ti_omx_config_parser/src/
ti_video_config_parser.cpp 64 int32 GetNAL_Config(uint8** bitstream, int32* size);
258 /* This function finds a nal from the SC's, moves the bitstream pointer to the beginning of the NAL unit, returns the
259 size of the NAL, and at the same time, updates the remaining size in the bitstream buffer that is passed in */
260 int32 GetNAL_Config(uint8** bitstream, int32* size)
264 uint8* nal_unit = *bitstream;
274 *bitstream = nal_unit + i;
  /frameworks/base/media/libstagefright/codecs/m4v_h263/dec/
Android.mk 7 src/bitstream.cpp \
  /external/tremolo/Tremolo/
ivorbisfile.h 134 int *bitstream);

Completed in 343 milliseconds

1 2