cros-codecs
cros-codecs copied to clipboard
encoder: Enable zero copy
We can expand the CodedBitstreamBuffer to accept another generic from the backend, a segment, which would require AsRef<[u8]> . In the case of the vaapi it would be mapped to libva::MappedCodedSegment