summaryrefslogtreecommitdiff
path: root/vp9/simple_encode.h
diff options
context:
space:
mode:
authorangiebird <angiebird@google.com>2019-11-10 20:01:42 -0800
committerangiebird <angiebird@google.com>2019-11-18 11:37:24 -0800
commit9330bd71a10a216aa0098b2a7a6e17c40c247c27 (patch)
treec193719fc22ce5f398dc10883c9671a257fe05bc /vp9/simple_encode.h
parent7ee697a5daea0dfd7470cc9d1b352de01af0836f (diff)
downloadlibvpx-9330bd71a10a216aa0098b2a7a6e17c40c247c27.tar
libvpx-9330bd71a10a216aa0098b2a7a6e17c40c247c27.tar.gz
libvpx-9330bd71a10a216aa0098b2a7a6e17c40c247c27.tar.bz2
libvpx-9330bd71a10a216aa0098b2a7a6e17c40c247c27.zip
Add SimpleEncode::EncodeFrame()
Change-Id: I08f074b7db2011f88769bd1d9d50cb376c238fe5
Diffstat (limited to 'vp9/simple_encode.h')
-rw-r--r--vp9/simple_encode.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/simple_encode.h b/vp9/simple_encode.h
index ff676d58f..6308ff5ea 100644
--- a/vp9/simple_encode.h
+++ b/vp9/simple_encode.h
@@ -22,6 +22,9 @@ class SimpleEncode {
// Free the encoder
void EndEncode();
+ // Encode a frame
+ void EncodeFrame(char *cx_data, size_t *size, size_t max_size);
+
private:
class impl;
int frame_width;