Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02b33df6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "media.c2: Enable BaseBlock to parcel AHardwareBuffer" into main

parents 38a85e77 22c2ea07
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -35,5 +35,6 @@ package android.hardware.media.c2;
@VintfStability
union BaseBlock {
  android.hardware.common.NativeHandle nativeBlock;
  android.hardware.HardwareBuffer hwbBlock;
  android.hardware.media.bufferpool2.BufferStatusMessage pooledBlock;
}
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package android.hardware.media.c2;

import android.hardware.HardwareBuffer;
import android.hardware.common.NativeHandle;

/**
@@ -31,6 +32,10 @@ union BaseBlock {
     * #nativeBlock is the opaque representation of a buffer.
     */
    NativeHandle nativeBlock;
    /**
     * #hwbBlock is the opaque representation of a GraphicBuffer
     */
    HardwareBuffer hwbBlock;
    /**
     * #pooledBlock is a reference to a buffer handled by a BufferPool.
     */