summaryrefslogtreecommitdiff
path: root/vp8
diff options
context:
space:
mode:
authorFritz Koenig <frkoenig@google.com>2010-11-16 15:16:24 -0800
committerFritz Koenig <frkoenig@google.com>2010-11-16 15:16:24 -0800
commit69ee697feff0e7fcb3b60069f8005cd3e3f35169 (patch)
tree38fdcf6864bcff1d50d5342bd1ea50c92cd4d2ce /vp8
parente180255375e339deba943ed9afaee1719f3c16bc (diff)
downloadlibvpx-69ee697feff0e7fcb3b60069f8005cd3e3f35169.tar
libvpx-69ee697feff0e7fcb3b60069f8005cd3e3f35169.tar.gz
libvpx-69ee697feff0e7fcb3b60069f8005cd3e3f35169.tar.bz2
libvpx-69ee697feff0e7fcb3b60069f8005cd3e3f35169.zip
Comments for alt ref flags.
Clarify what the alt ref flags do when encoding. Change-Id: I71f78e0f42edae633fb91840f29dfbe64362c44c
Diffstat (limited to 'vp8')
-rw-r--r--vp8/encoder/onyx_int.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h
index a9eedf399..b3a09ec1b 100644
--- a/vp8/encoder/onyx_int.h
+++ b/vp8/encoder/onyx_int.h
@@ -278,14 +278,14 @@ typedef struct
unsigned int source_frame_flags;
YV12_BUFFER_CONFIG scaled_source;
- int source_buffer_count;
- int source_encode_index;
- int source_alt_ref_pending;
- int source_alt_ref_active;
-
- int last_alt_ref_sei;
- int is_src_frame_alt_ref;
- int is_next_src_alt_ref;
+ int source_buffer_count; // number of src_buffers in use for lagged encoding
+ int source_encode_index; // index of buffer in src_buffer to encode
+ int source_alt_ref_pending; // frame in src_buffers has been identified to be encoded as an alt ref
+ int source_alt_ref_active; // an alt ref frame has been encoded and is usable
+
+ int last_alt_ref_sei; // index into src_buffers of frame used as alt reference
+ int is_src_frame_alt_ref; // source of frame to encode is an exact copy of an alt ref frame
+ int is_next_src_alt_ref; // source of next frame to encode is an exact copy of an alt ref frame
int gold_is_last; // golden frame same as last frame ( short circuit gold searches)
int alt_is_last; // Alt reference frame same as last ( short circuit altref search)