media/extensions/av1/src/main
olly 0915998add Switch to new libgav1 frame buffer callback API.
The new code in Libgav1GetFrameBuffer is copied from
libgav1/src/frame_buffer_callback_adaptor.cc. It may become libgav1
utility functions available to libgav1 clients in the future.

The Libgav1FrameBuffer struct in the old frame buffer callback API is
defined as follows:

  typedef struct Libgav1FrameBuffer {
    uint8_t* data[3];
    size_t size[3];
    void* private_data;
  } Libgav1FrameBuffer;

Copy these three fields to the JniFrameBuffer class as private data
members and add the RawBuffer() and Id() getter methods.

The existing AlignTo16 function is replaced by the copied Align template
function.

PiperOrigin-RevId: 293709205
2020-02-11 17:09:55 +00:00
..
java/com/google/android/exoplayer2/ext/av1 Fix some typos 2020-01-28 16:55:41 +00:00
jni Switch to new libgav1 frame buffer callback API. 2020-02-11 17:09:55 +00:00
AndroidManifest.xml Add test AV1 video to demo app 2019-10-10 14:44:20 +01:00