summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorAmy Zhang <amyjojo@google.com>2020-09-09 13:49:10 -0700
committerAmy Zhang <amyjojo@google.com>2020-10-13 18:54:12 -0700
commitca365f2fc90821f5f5ddfd3ce46e8eddab906859 (patch)
treed1fcc83b11071f2b7fe69c8f2a18f7154fe720f8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4a11c4408f280ab99877042692d1250d2ac49be3 (diff)
Support shared av memory handle in Tuner JNI
In the MediaEvent of AV filters, the AV memory handle is mapped/unmapped on each event. If the vendor allocates a persistent memory block, and use MediaEvent.offset to access the data, the mapping change is unnecessary. To improve this, a new API to get shared AV Memory is introduced in Tuner HAL 1.1. Tuner JNI queries the sharedAvMemory Handle when the media filter is opened. It builds up linear block through either shared or independent memory block by checking the memory handle fd number. Test: make Bug: 162013047 Bug: 157143515 Bug: 156664393 Change-Id: I5bfe3a8f4c26b5789212f56709b70c512ed15a0c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions