mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "media.c2: Enable BaseBlock to parcel AHardwareBuffer" into main am: 02b33df6b8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2751284 Change-Id: Ib0312240d25d3a4683429181949457535249657e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -35,5 +35,6 @@ package android.hardware.media.c2;
|
|||||||
@VintfStability
|
@VintfStability
|
||||||
union BaseBlock {
|
union BaseBlock {
|
||||||
android.hardware.common.NativeHandle nativeBlock;
|
android.hardware.common.NativeHandle nativeBlock;
|
||||||
|
android.hardware.HardwareBuffer hwbBlock;
|
||||||
android.hardware.media.bufferpool2.BufferStatusMessage pooledBlock;
|
android.hardware.media.bufferpool2.BufferStatusMessage pooledBlock;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,7 @@
|
|||||||
|
|
||||||
package android.hardware.media.c2;
|
package android.hardware.media.c2;
|
||||||
|
|
||||||
|
import android.hardware.HardwareBuffer;
|
||||||
import android.hardware.common.NativeHandle;
|
import android.hardware.common.NativeHandle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -31,6 +32,10 @@ union BaseBlock {
|
|||||||
* #nativeBlock is the opaque representation of a buffer.
|
* #nativeBlock is the opaque representation of a buffer.
|
||||||
*/
|
*/
|
||||||
NativeHandle nativeBlock;
|
NativeHandle nativeBlock;
|
||||||
|
/**
|
||||||
|
* #hwbBlock is the opaque representation of a GraphicBuffer
|
||||||
|
*/
|
||||||
|
HardwareBuffer hwbBlock;
|
||||||
/**
|
/**
|
||||||
* #pooledBlock is a reference to a buffer handled by a BufferPool.
|
* #pooledBlock is a reference to a buffer handled by a BufferPool.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user