summaryrefslogtreecommitdiff
path: root/vp8/encoder/onyx_if.c
diff options
context:
space:
mode:
authorHenrik Lundin <hlundin@google.com>2011-01-11 13:01:24 +0100
committerHenrik Lundin <hlundin@google.com>2011-01-11 15:22:19 +0100
commit48c28fc42c8c1ca46f30ff0fc4f13e3afd4a25b7 (patch)
tree6d396f8840702aa8c904d0d1392326f1b9a62576 /vp8/encoder/onyx_if.c
parent3675b2291cac15e6bc5a9bde9a0da7e00f919aaa (diff)
downloadlibvpx-48c28fc42c8c1ca46f30ff0fc4f13e3afd4a25b7.tar
libvpx-48c28fc42c8c1ca46f30ff0fc4f13e3afd4a25b7.tar.gz
libvpx-48c28fc42c8c1ca46f30ff0fc4f13e3afd4a25b7.tar.bz2
libvpx-48c28fc42c8c1ca46f30ff0fc4f13e3afd4a25b7.zip
Remove unused local variables
Removing unused local variables causing compiler warnings in Visual Studio. Change-Id: I0e2096303be1fdbc01428a6e57cca9796bb32c8a
Diffstat (limited to 'vp8/encoder/onyx_if.c')
-rw-r--r--vp8/encoder/onyx_if.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 2d9e8011b..4da1a566f 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3792,8 +3792,6 @@ static void encode_frame_to_data_rate
if (cpi->pass == 2 || (cm->current_video_frame > 150))
{
int Q;
- int i;
- int bpm_target;
//int tmp;
vp8_clear_system_state();
@@ -4828,7 +4826,9 @@ extern void vp8_pop_neon(INT64 *store);
#endif
int vp8_receive_raw_frame(VP8_PTR ptr, unsigned int frame_flags, YV12_BUFFER_CONFIG *sd, INT64 time_stamp, INT64 end_time)
{
+#if HAVE_ARMV7
INT64 store_reg[8];
+#endif
VP8_COMP *cpi = (VP8_COMP *) ptr;
VP8_COMMON *cm = &cpi->common;
struct vpx_usec_timer timer;
@@ -4931,7 +4931,9 @@ int vp8_receive_raw_frame(VP8_PTR ptr, unsigned int frame_flags, YV12_BUFFER_CON
}
int vp8_get_compressed_data(VP8_PTR ptr, unsigned int *frame_flags, unsigned long *size, unsigned char *dest, INT64 *time_stamp, INT64 *time_end, int flush)
{
+#if HAVE_ARMV7
INT64 store_reg[8];
+#endif
VP8_COMP *cpi = (VP8_COMP *) ptr;
VP8_COMMON *cm = &cpi->common;
struct vpx_usec_timer tsctimer;