
The serializable form is used when we need to serialize the result into bytes in the sample queue. The binder-based (ultimately filedescriptor-based) form is used for session/controller IPC, in order to avoid sending the bitmap bytes over the IPC. Issue: androidx/media#836 #minor-release PiperOrigin-RevId: 588420836