/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...] |
H A D | dec_pred_intra_dc.cpp | 25 BitstreamDecVideo *stream, 41 status = PV_VlcDecIntraDCPredSize(stream, compnum, &DC_size); 52 code = (int) BitstreamReadBits16_INLINE(stream, DC_size); 66 if (DC_size > 8) BitstreamRead1Bits_INLINE(stream); 23 PV_DecodePredictedIntraDC( int compnum, BitstreamDecVideo *stream, int16 *INTRADC_delta) argument
|
H A D | vlc_decode.cpp | 103 PV_STATUS DecodeUserData(BitstreamDecVideo *stream) argument 108 BitstreamReadBits32HC(stream); 109 BitstreamShowBits32(stream, 24, &code); 114 BitstreamReadBits16(stream, 8); 115 BitstreamShowBits32(stream, 24, &code); 116 status = BitstreamCheckEndBuffer(stream); 135 BitstreamDecVideo *stream = video->bitstream; local 164 status = PV_VlcDecMV(stream, &vlc_code_mag); 174 status = PV_VlcDecMV(stream, &vlc_code_mag); 191 status = PV_VlcDecMV(stream, 267 PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f) argument 452 PV_VlcDecMV(BitstreamDecVideo *stream, int *mv) argument 503 PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream) argument 536 PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream) argument 557 PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream) argument 590 PV_VlcDecCBPY(BitstreamDecVideo *stream, int intra) argument 628 PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) argument 839 VlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1022 VlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1201 VlcDecTCOEFShortHeader(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1261 VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1316 VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1389 VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1471 RvlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1554 RvlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument [all...] |
/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);
|
H A D | Registry.h | 30 FrameSequence* (*createFrameSequence)(Stream* stream); 31 Decoder* (*createDecoder)(Stream* stream); 46 static const RegistryEntry* Find(Stream* 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/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...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetworkTestUtil.java | 62 ByteArrayOutputStream stream = new ByteArrayOutputStream(); 70 stream.write((byte) ieiType); 72 stream.write((byte) ((plmnsSize + 1) & CellularNetwork.IEI_CONTENT_LENGTH_MASK)); 73 stream.write((byte) plmnList.length); 75 stream.write(plmn); 78 return stream.toByteArray();
|
/frameworks/base/core/jni/android/graphics/ |
H A D | CreateJavaOutputStreamAdaptor.h | 16 * @param stream Pointer to Java InputStream. 24 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, 30 * @param stream Pointer to Java InputStream. 33 * @return SkStreamRewindable The data in stream will be copied 36 SkStreamRewindable* CopyJavaInputStream(JNIEnv* env, jobject stream, 39 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | IconLoader.java | 47 InputStream stream = getIcon(resourceDir); 48 if (stream != null) { 49 return stream; 77 InputStream stream = getIcon(resourceDir, mDesiredDensity); 78 if (stream != null) { 80 return stream; 88 stream = getIcon(resourceDir, density); 89 if (stream != null) { 91 return stream; 113 InputStream stream [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/av/media/libaaudio/src/core/ |
H A D | AAudioAudio.cpp | 105 static AudioStream *convertAAudioStreamToAudioStream(AAudioStream* stream) argument 107 return (AudioStream*) stream; 241 AAUDIO_API aaudio_result_t AAudioStream_close(AAudioStream* stream) argument 243 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); 244 ALOGD("AAudioStream_close(%p)", stream); 253 AAUDIO_API aaudio_result_t AAudioStream_requestStart(AAudioStream* stream) argument 255 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); 256 ALOGD("AAudioStream_requestStart(%p)", stream); 260 AAUDIO_API aaudio_result_t AAudioStream_requestPause(AAudioStream* stream) argument 262 AudioStream *audioStream = convertAAudioStreamToAudioStream(stream); 267 AAudioStream_requestFlush(AAudioStream* stream) argument 274 AAudioStream_requestStop(AAudioStream* stream) argument 281 AAudioStream_waitForStateChange(AAudioStream* stream, aaudio_stream_state_t inputState, aaudio_stream_state_t *nextState, int64_t timeoutNanoseconds) argument 295 AAudioStream_read(AAudioStream* stream, void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) argument 315 AAudioStream_write(AAudioStream* stream, const void *buffer, int32_t numFrames, int64_t timeoutNanoseconds) argument 346 AAudioStream_getSampleRate(AAudioStream* stream) argument 352 AAudioStream_getChannelCount(AAudioStream* stream) argument 358 AAudioStream_getSamplesPerFrame(AAudioStream* stream) argument 364 AAudioStream_getState(AAudioStream* stream) argument 370 AAudioStream_getFormat(AAudioStream* stream) argument 376 AAudioStream_setBufferSizeInFrames(AAudioStream* stream, int32_t requestedFrames) argument 383 AAudioStream_getBufferSizeInFrames(AAudioStream* stream) argument 389 AAudioStream_getDirection(AAudioStream* stream) argument 395 AAudioStream_getFramesPerBurst(AAudioStream* stream) argument 401 AAudioStream_getFramesPerDataCallback(AAudioStream* stream) argument 407 AAudioStream_getBufferCapacityInFrames(AAudioStream* stream) argument 413 AAudioStream_getXRunCount(AAudioStream* stream) argument 419 AAudioStream_getPerformanceMode(AAudioStream* stream) argument 425 AAudioStream_getDeviceId(AAudioStream* stream) argument 431 AAudioStream_getSharingMode(AAudioStream* stream) argument 437 AAudioStream_getFramesWritten(AAudioStream* stream) argument 443 AAudioStream_getFramesRead(AAudioStream* stream) argument 449 AAudioStream_getTimestamp(AAudioStream* stream, clockid_t clockid, int64_t *framePosition, int64_t *timeNanoseconds) argument 486 AAudioStream_isMMapUsed(AAudioStream* stream) argument [all...] |