summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScriptCacheDir.java
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2018-03-07 16:22:18 -0800
committerChong Zhang <chz@google.com>2018-03-12 21:23:00 +0000
commita89f6e1bb2076518068084fea53c4ee5c1306b4c (patch)
tree8c6dc07af07eb0982ffbf4f43dce2aa3bbf96750 /rs/java/android/renderscript/RenderScriptCacheDir.java
parent3a1b5d186786bf41a73370f31f90033b23a5a70a (diff)
heif: add option for specifying bitmap pixel format
Add an option similar to BitmapFactory.Options to the bitmap extraction APIs added in P to allow the app to specify bitmap's pixel format. MediaMetadataRetriever's old getFrameAtTime() only allows extraction in RGB565, for image use case the bitdepth could be too low. Also change return type of getFramesAtIndex to List as Lint is complaining about returning raw arrays. bug: 63633199 bug: 73886998 Change-Id: I40f0a421c767483e32c7744180dc5a187681e066
Diffstat (limited to 'rs/java/android/renderscript/RenderScriptCacheDir.java')
0 files changed, 0 insertions, 0 deletions