Home
last modified time | relevance | path

Searched refs:strm (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/jni/
Dandroid_graphics_Picture.cpp36 SkStream* strm = CreateJavaInputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_deserialize() local
37 if (strm) { in android_graphics_Picture_deserialize()
38 picture = Picture::CreateFromStream(strm); in android_graphics_Picture_deserialize()
39 delete strm; in android_graphics_Picture_deserialize()
62 SkWStream* strm = CreateJavaOutputStreamAdaptor(env, jstream, jstorage); in android_graphics_Picture_serialize() local
64 if (NULL != strm) { in android_graphics_Picture_serialize()
65 picture->serialize(strm); in android_graphics_Picture_serialize()
66 delete strm; in android_graphics_Picture_serialize()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_decoder.c162 strmData_t strm; in h264bsdDecode() local
177 strm = pStorage->strm[0]; in h264bsdDecode()
178 strm.pStrmCurrPos = strm.pStrmBuffStart; in h264bsdDecode()
179 strm.strmBuffReadBits = strm.bitPosInWord = 0; in h264bsdDecode()
184 tmp = h264bsdExtractNalUnit(byteStrm, len, &strm, readBytes); in h264bsdDecode()
191 pStorage->strm[0] = strm; in h264bsdDecode()
197 tmp = h264bsdDecodeNalUnit(&strm, &nalUnit); in h264bsdDecode()
212 &strm, in h264bsdDecode()
273 tmp = h264bsdDecodeSeqParamSet(&strm, &seqParamSet); in h264bsdDecode()
286 tmp = h264bsdDecodePicParamSet(&strm, &picParamSet); in h264bsdDecode()
[all …]
Dh264bsd_storage.c644 strmData_t *strm, in h264bsdCheckAccessUnitBoundary() argument
659 ASSERT(strm); in h264bsdCheckAccessUnitBoundary()
688 tmp = h264bsdCheckPpsId(strm, &ppsId); in h264bsdCheckAccessUnitBoundary()
711 tmp = h264bsdCheckFrameNum(strm, sps->maxFrameNum, &frameNum); in h264bsdCheckAccessUnitBoundary()
723 tmp = h264bsdCheckIdrPicId(strm, sps->maxFrameNum, nuNext->nalUnitType, in h264bsdCheckAccessUnitBoundary()
737 tmp = h264bsdCheckPicOrderCntLsb(strm, sps, nuNext->nalUnitType, in h264bsdCheckAccessUnitBoundary()
750 tmp = h264bsdCheckDeltaPicOrderCntBottom(strm, sps, in h264bsdCheckAccessUnitBoundary()
766 tmp = h264bsdCheckDeltaPicOrderCnt(strm, sps, nuNext->nalUnitType, in h264bsdCheckAccessUnitBoundary()
Dh264bsd_storage.h138 strmData_t strm[1]; member
166 strmData_t *strm,
/frameworks/base/core/jni/android/graphics/
DMovie.cpp97 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream() local
98 if (NULL == strm) { in movie_decodeStream()
107 std::unique_ptr<SkStreamRewindable> bufferedStream(SkFrontBufferedStream::Create(strm, 6)); in movie_decodeStream()
DYuvToJpegEncoder.cpp226 SkWStream* strm = CreateJavaOutputStreamAdaptor(env, jstream, jstorage); in YuvImage_compressToJpeg() local
233 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg()
241 delete strm; in YuvImage_compressToJpeg()
DBitmap.cpp863 std::unique_ptr<SkWStream> strm(CreateJavaOutputStreamAdaptor(env, jstream, jstorage)); in Bitmap_compress() local
864 if (!strm.get()) { in Bitmap_compress()
872 success = encoder->encodeStream(strm.get(), skbitmap, quality); in Bitmap_compress()
/frameworks/av/media/libstagefright/httplive/
DLiveSession.cpp390 StreamItem& strm = mStreams[streamIdx]; in dequeueAccessUnit() local
394 if (discontinuitySeq > (int32_t) strm.mCurDiscontinuitySeq) { in dequeueAccessUnit()
396 if (mDiscontinuityOffsetTimesUs.indexOfKey(strm.mCurDiscontinuitySeq) >= 0) { in dequeueAccessUnit()
397 offsetTimeUs = mDiscontinuityOffsetTimesUs.valueFor(strm.mCurDiscontinuitySeq); in dequeueAccessUnit()
402 if (mDiscontinuityAbsStartTimesUs.indexOfKey(strm.mCurDiscontinuitySeq) >= 0 in dequeueAccessUnit()
403 && strm.mLastDequeuedTimeUs >= 0) { in dequeueAccessUnit()
405 firstTimeUs = mDiscontinuityAbsStartTimesUs.valueFor(strm.mCurDiscontinuitySeq); in dequeueAccessUnit()
406 offsetTimeUs += strm.mLastDequeuedTimeUs - firstTimeUs; in dequeueAccessUnit()
407 offsetTimeUs += strm.mLastSampleDurationUs; in dequeueAccessUnit()
409 offsetTimeUs += strm.mLastSampleDurationUs; in dequeueAccessUnit()
[all …]