Home
last modified time | relevance | path

Searched refs:strm (Results 1 – 5 of 5) 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/base/core/jni/android/graphics/
DMovie.cpp97 SkStream* strm = CreateJavaInputStreamAdaptor(env, istream, byteArray); in movie_decodeStream() local
98 if (NULL == strm) { in movie_decodeStream()
108 std::unique_ptr<SkStream>(strm), 6)); in movie_decodeStream()
DYuvToJpegEncoder.cpp241 SkWStream* strm = CreateJavaOutputStreamAdaptor(env, jstream, jstorage); in YuvImage_compressToJpeg() local
248 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); in YuvImage_compressToJpeg()
256 delete strm; in YuvImage_compressToJpeg()
DBitmap.cpp541 std::unique_ptr<SkWStream> strm(CreateJavaOutputStreamAdaptor(env, jstream, jstorage)); in Bitmap_compress() local
542 if (!strm.get()) { in Bitmap_compress()
566 return SkEncodeImage(strm.get(), skbitmap, fm, quality) ? JNI_TRUE : JNI_FALSE; 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 …]