/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | stream.c | 18 * File: stream.c * 24 #include "stream.h" 26 void voAWB_InitFrameBuffer(FrameStream *stream) argument 28 stream->set_ptr = NULL; 29 stream->frame_ptr_bk = stream->frame_ptr; 30 stream->set_len = 0; 31 stream->framebuffer_len = 0; 32 stream->frame_storelen = 0; 36 FrameStream *stream, 35 voAWB_UpdateFrameBuffer( FrameStream *stream, VO_MEM_OPERATOR *pMemOP ) argument 50 voAWB_FlushFrameBuffer(FrameStream *stream) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) argument 51 uint8 *bitstreamBuffer = stream->bitstreamBuffer; 55 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32 56 stream->next_word <<= (31 - stream->incnt); 57 stream->next_word <<= 1; 58 num_bits = stream 124 BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) argument 140 BitstreamOpen(BitstreamDecVideo *stream, int) argument 175 BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) argument 193 BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 215 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument 238 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument 257 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument 270 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument 286 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument 311 BitstreamReadBits16(BitstreamDecVideo *stream, int nbits) argument 333 BitstreamRead1Bits(BitstreamDecVideo *stream) argument 355 PV_BitstreamFlushBitsCheck(BitstreamDecVideo *stream, int nbits) argument 382 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits) argument 396 BitstreamReadBits32HC(BitstreamDecVideo *stream) argument 415 BitstreamCheckEndBuffer(BitstreamDecVideo *stream) argument 422 PV_BitstreamShowBitsByteAlign(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 441 PV_BitstreamShowBitsByteAlignNoForceStuffing(BitstreamDecVideo *stream, int nbits, uint32 *code) argument 460 PV_BitstreamByteAlign(BitstreamDecVideo *stream) argument 487 BitstreamByteAlignNoForceStuffing(BitstreamDecVideo *stream) argument 513 getPointer(BitstreamDecVideo *stream) argument 529 movePointerTo(BitstreamDecVideo *stream, int32 pos) argument 565 validStuffing(BitstreamDecVideo *stream) argument 577 validStuffing_h263(BitstreamDecVideo *stream) argument 603 PVSearchNextH263Frame(BitstreamDecVideo *stream) argument 632 PVSearchNextM4VFrame(BitstreamDecVideo *stream) argument 652 PVLocateM4VFrameBoundary(BitstreamDecVideo *stream) argument 663 PVLocateH263FrameBoundary(BitstreamDecVideo *stream) argument 682 quickSearchVideoPacketHeader(BitstreamDecVideo *stream, int marker_length) argument 706 quickSearchH263SliceHeader(BitstreamDecVideo *stream) argument 784 quickSearchMotionMarker(BitstreamDecVideo *stream) argument 875 quickSearchDCM(BitstreamDecVideo *stream) argument 950 quickSearchGOBHeader(BitstreamDecVideo *stream) argument [all...] |
H A D | bitstream.h | 33 PV_STATUS BitstreamFillBuffer(BitstreamDecVideo *stream); 34 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream); 35 void BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size); 36 int BitstreamOpen(BitstreamDecVideo *stream, int layer); 37 void BitstreamClose(BitstreamDecVideo *stream); 39 PV_STATUS BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code); 40 uint32 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits); 42 uint BitstreamReadBits16(BitstreamDecVideo *stream, int nbits); 43 uint BitstreamRead1Bits(BitstreamDecVideo *stream); 45 PV_STATUS BitstreamShowBits16(BitstreamDecVideo *stream, in 51 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument 69 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument 83 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument 95 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument 110 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument [all...] |
H A D | vlc_decode.h | 94 PV_STATUS DecodeUserData(BitstreamDecVideo *stream); 96 PV_STATUS PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f); 99 PV_STATUS PV_VlcDecMV(BitstreamDecVideo *stream, int *mv); 100 int PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream); 101 int PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream); 103 int PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream); 104 PV_STATUS VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef); 105 PV_STATUS VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef); /* ANNEX_T */ 106 PV_STATUS VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef); 108 int PV_VlcDecCBPY(BitstreamDecVideo *stream, in [all...] |
H A D | packet_util.cpp | 33 BitstreamDecVideo *stream = video->bitstream; local 47 status = PV_BitstreamShowBitsByteAlign(stream, resync_marker_length, &tmpvar32); 51 // DecNextStartCode(stream); 52 PV_BitstreamByteAlign(stream); 53 BitstreamReadBits32(stream, resync_marker_length); 55 *next_MB = (int) BitstreamReadBits16(stream, nbits); 65 quantizer = (int16) BitstreamReadBits16(stream, currVol->quantPrecision); 72 if (BitstreamRead1Bits(stream)) 80 tmpvar16 = BitstreamRead1Bits(stream); 85 BitstreamRead1Bits(stream); 148 BitstreamDecVideo *stream = video->bitstream; local 199 BitstreamDecVideo *stream = video->bitstream; local [all...] |
H A D | vop.cpp | 86 BitstreamDecVideo *stream; local 99 stream = currVol->bitstream; 103 status = BitstreamShowBits32HC(stream, &startCode); 109 (void) BitstreamReadBits32HC(stream); 110 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */ 144 status = BitstreamShowBits32HC(stream, &tmpvar); 148 status = DecodeUserData(stream); 152 BitstreamShowBits32HC(stream, &tmpvar); 158 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */ 160 BitstreamShowBits32(stream, VOL_START_CODE_LENGT 744 DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base) argument 812 BitstreamDecVideo *stream = currVol->bitstream; local 1022 BitstreamDecVideo *stream = currVol->bitstream; local [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | UsbACAudioStreamEndpoint.java | 32 public int parseRawDescriptors(ByteStream stream) { argument 33 super.parseRawDescriptors(stream); 36 stream.advance(mLength - stream.getReadCount());
|
H A D | Usb20ACMixerUnit.java | 41 public int parseRawDescriptors(ByteStream stream) { argument 42 super.parseRawDescriptors(stream); 44 mChanConfig = stream.unpackUsbInt(); 45 mChanNames = stream.getByte(); 49 mControls[index] = stream.getByte(); 51 mControlsMask = stream.getByte(); 52 mNameID = stream.getByte();
|
H A D | UsbInterfaceAssoc.java | 65 public int parseRawDescriptors(ByteStream stream) { argument 66 mFirstInterface = stream.getByte(); 67 mInterfaceCount = stream.getByte(); 68 mFunctionClass = stream.getByte(); 69 mFunctionSubClass = stream.getByte(); 70 mFunctionProtocol = stream.getByte(); 71 mFunction = stream.getByte();
|
H A D | UsbACAudioControlEndpoint.java | 62 public int parseRawDescriptors(ByteStream stream) { argument 63 super.parseRawDescriptors(stream); 65 mAddress = stream.getByte(); 66 mAttribs = stream.getByte(); 67 mMaxPacketSize = stream.unpackUsbShort(); 68 mInterval = stream.getByte();
|
H A D | UsbACSelectorUnit.java | 56 public int parseRawDescriptors(ByteStream stream) { argument 57 mUnitID = stream.getByte(); 58 mNumPins = stream.getByte(); 61 mSourceIDs[index] = stream.getByte(); 63 mNameIndex = stream.getByte();
|
H A D | Usb10ACInputTerminal.java | 56 public int parseRawDescriptors(ByteStream stream) { argument 57 super.parseRawDescriptors(stream); 59 mNrChannels = stream.getByte(); 60 mChannelConfig = stream.unpackUsbShort(); 61 mChannelNames = stream.getByte(); 62 mTerminal = stream.getByte();
|
H A D | Usb20ACOutputTerminal.java | 58 public int parseRawDescriptors(ByteStream stream) { argument 59 super.parseRawDescriptors(stream); 61 mSourceID = stream.getByte(); 62 mClkSoureID = stream.getByte(); 63 mControls = stream.unpackUsbShort(); 64 mTerminalID = stream.getByte();
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | OpDumperTests.cpp | 29 std::stringstream stream; local 30 OpDumper::dump(op, stream); 31 EXPECT_STREQ("RectOp [100 x 100]", stream.str().c_str()); 33 stream.str(""); 34 OpDumper::dump(op, stream, 2); 35 EXPECT_STREQ(" RectOp [100 x 100]", stream.str().c_str()); 40 stream.str(""); 41 OpDumper::dump(op, stream, 2); 42 EXPECT_STREQ(" RectOp [100 x 100] clip=[50 x 50] mode=0", stream.str().c_str());
|
/frameworks/compile/slang/ |
H A D | slang_diagnostic_buffer.cpp | 41 llvm::raw_string_ostream stream(Message); 44 SrcLoc.print(stream, Info.getSourceManager()); 45 stream << ": "; 50 stream << "note: "; 54 stream << "warning: "; 58 stream << "error: "; 62 stream << "fatal: "; 72 stream << Buf.str() << '\n'; 73 stream.flush();
|
/frameworks/base/tools/aapt/tests/ |
H A D | TestHelper.h | 27 inline std::ostream& operator<<(std::ostream& stream, const String8& str) { argument 28 return stream << str.string();
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
H A D | stream.h | 20 File: stream.h 43 void voAWB_UpdateFrameBuffer(FrameStream *stream, VO_MEM_OPERATOR *pMemOP); 44 void voAWB_InitFrameBuffer(FrameStream *stream); 45 void voAWB_FlushFrameBuffer(FrameStream *stream);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | IVolumeCurvesCollection.h | 28 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream) = 0; 29 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, 31 virtual bool canBeMuted(audio_stream_type_t stream) = 0; 32 virtual int getVolumeIndexMin(audio_stream_type_t stream) const = 0; 33 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) = 0; 34 virtual int getVolumeIndexMax(audio_stream_type_t stream) const = 0; 35 virtual float volIndexToDb(audio_stream_type_t stream, device_category device, 37 virtual status_t initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) = 0; 41 virtual void restoreOriginVolumeCurve(audio_stream_type_t stream) argument 43 switchVolumeCurve(stream, strea [all...] |
H A D | StreamDescriptor.h | 27 // stream descriptor used for volume control 60 bool mCanBeMuted; /**< true is the stream can be muted. */ 64 * stream descriptors collection for volume control 72 virtual void clearCurrentVolumeIndex(audio_stream_type_t stream); 73 virtual void addCurrentVolumeIndex(audio_stream_type_t stream, audio_devices_t device, 75 virtual bool canBeMuted(audio_stream_type_t stream); 76 virtual int getVolumeIndexMin(audio_stream_type_t stream) const 78 return valueFor(stream).getVolumeIndexMin(); 80 virtual int getVolumeIndex(audio_stream_type_t stream, audio_devices_t device) argument 82 return valueFor(stream) 93 hasVolumeIndexForDevice(audio_stream_type_t stream, audio_devices_t device) const argument [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence.cpp | 21 FrameSequence* FrameSequence::create(Stream* stream) { argument 22 const RegistryEntry* entry = Registry::Find(stream); 26 FrameSequence* frameSequence = entry->createFrameSequence(stream);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 54 BitstreamEncVideo *stream; local 55 stream = (BitstreamEncVideo *) M4VENC_MALLOC(sizeof(BitstreamEncVideo)); 56 if (stream == NULL) 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 62 if (stream->bitstreamBuffer == NULL) 64 M4VENC_FREE(stream); 65 stream = NULL; 68 M4VENC_MEMSET(stream 93 BitstreamCloseEnc(BitstreamEncVideo *stream) argument 120 BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value) argument 168 BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value) argument 207 BitstreamSaveWord(BitstreamEncVideo *stream) argument 257 BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) argument 326 BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream) argument 355 BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream) argument 760 BitstreamGetPos(BitstreamEncVideo *stream) argument 766 BitstreamEncReset(BitstreamEncVideo *stream) argument 776 BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) argument 787 BitstreamUseOverrunBuffer(BitstreamEncVideo* stream, Int numExtraBytes) argument [all...] |
H A D | bitstream_io.h | 31 Void BitstreamCloseEnc(BitstreamEncVideo *stream); 32 PV_STATUS BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value); 33 PV_STATUS BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value); 34 PV_STATUS BitstreamSaveWord(BitstreamEncVideo *stream); 35 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction); 36 Int BitstreamGetPos(BitstreamEncVideo *stream); 37 void BitstreamEncReset(BitstreamEncVideo *stream); 39 Int BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream); 40 Int BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream); 49 Void BitstreamSetOverrunBuffer(BitstreamEncVideo *stream, UCha [all...] |
H A D | vop.cpp | 24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop); 25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop); 26 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds); 46 // BitstreamEncVideo *stream=video->bitstream1; 128 BitstreamEncVideo *stream = video->bitstream1; local 135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */ 137 video->header_bits = BitstreamGetPos(stream); /* Header Bits */ 147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */ 149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */ 151 video->header_bits = BitstreamGetPos(stream); /* Heade 197 BitstreamEncVideo *stream = video->bitstream1; /* different from frame-based */ local 276 EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds) argument 314 BitstreamEncVideo *stream = currVol->stream; local 353 EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop) argument 412 EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop) argument [all...] |
/frameworks/native/services/vr/bufferhubd/ |
H A D | buffer_hub.cpp | 37 std::ostringstream stream; local 46 stream << "Active Producer Buffers:\n"; 47 stream << std::right; 48 stream << std::setw(6) << "Id"; 49 stream << " "; 50 stream << std::setw(9) << "Consumers"; 51 stream << " "; 52 stream << std::setw(14) << "Geometry"; 53 stream << " "; 54 stream << st [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 83 * encoded and sent back to each stream. 147 synchronized void add(AudioStream stream) { argument 148 if (!mStreams.containsKey(stream)) { 150 AudioCodec codec = stream.getCodec(); 153 long id = nativeAdd(stream.getMode(), stream.getSocket(), 154 stream.getRemoteAddress().getHostAddress(), 155 stream.getRemotePort(), codecSpec, stream.getDtmfType(), 157 mStreams.put(stream, i 168 remove(AudioStream stream) argument [all...] |