summaryrefslogtreecommitdiff
path: root/vp9/simple_encode.h
diff options
context:
space:
mode:
authorangiebird <angiebird@google.com>2019-11-11 12:32:10 -0800
committerangiebird <angiebird@google.com>2019-11-18 11:37:24 -0800
commit6956e393c710fab99833500a57062862e97096b6 (patch)
treec899c9fe8ebb5d74e9b2e812007e1c88b4ba006e /vp9/simple_encode.h
parentf975d02d6dc095c97c6950a2b8c3768f29644fe5 (diff)
downloadlibvpx-6956e393c710fab99833500a57062862e97096b6.tar
libvpx-6956e393c710fab99833500a57062862e97096b6.tar.gz
libvpx-6956e393c710fab99833500a57062862e97096b6.tar.bz2
libvpx-6956e393c710fab99833500a57062862e97096b6.zip
Add frame_type and show_idx to EncodeFrameResult
Let vp9_get_compressed_data update ENCODE_FRAME_RESULT, a C version of EncodeFrameResult. Let unit test to test frame_type and show_idx properly. Change-Id: Id810c26c826254fd82249f19ab855ea3b440d99c
Diffstat (limited to 'vp9/simple_encode.h')
-rw-r--r--vp9/simple_encode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/simple_encode.h b/vp9/simple_encode.h
index b06339f43..26415a3c2 100644
--- a/vp9/simple_encode.h
+++ b/vp9/simple_encode.h
@@ -8,8 +8,8 @@ enum FrameType {
};
struct EncodeFrameResult {
- // TODO(angiebird): int show_index;
- // TODO(angiebird): FrameType frame_type;
+ int show_idx;
+ FrameType frame_type;
size_t coding_data_size;
// The EncodeFrame will allocate a buffer, write the coding data into the
// buffer and give the ownership of the buffer to coding_data