summaryrefslogtreecommitdiff
path: root/vp9/decoder
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-08-30 18:05:56 -0700
committerJames Zern <jzern@google.com>2014-09-08 19:53:46 -0700
commita5da7dea39d78c9d849406058df4231d50d474d6 (patch)
tree6aee1114870f5baf42b291a59f23ad8a67c64d8e /vp9/decoder
parent48662747bd9218be1f56e796cab959f2371cfdaf (diff)
downloadlibvpx-a5da7dea39d78c9d849406058df4231d50d474d6.tar
libvpx-a5da7dea39d78c9d849406058df4231d50d474d6.tar.gz
libvpx-a5da7dea39d78c9d849406058df4231d50d474d6.tar.bz2
libvpx-a5da7dea39d78c9d849406058df4231d50d474d6.zip
vp9_dthread: simplify loop_filter_row_worker signature
use the type names directly in the function declaration rather than (void *arg1, void *arg2) Change-Id: If8887e1dbcdf84842783a92f91668bef6223c9e5
Diffstat (limited to 'vp9/decoder')
-rw-r--r--vp9/decoder/vp9_dthread.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vp9/decoder/vp9_dthread.c b/vp9/decoder/vp9_dthread.c
index b82ea6a79..d341dc421 100644
--- a/vp9/decoder/vp9_dthread.c
+++ b/vp9/decoder/vp9_dthread.c
@@ -121,10 +121,10 @@ static void loop_filter_rows_mt(const YV12_BUFFER_CONFIG *const frame_buffer,
}
// Row-based multi-threaded loopfilter hook
-static int loop_filter_row_worker(void *arg1, void *arg2) {
- TileWorkerData *const tile_data = (TileWorkerData*)arg1;
+static int loop_filter_row_worker(TileWorkerData *const tile_data,
+ void *unused) {
LFWorkerData *const lf_data = &tile_data->lfdata;
- (void) arg2;
+ (void)unused;
loop_filter_rows_mt(lf_data->frame_buffer, lf_data->cm, lf_data->planes,
lf_data->start, lf_data->stop, lf_data->y_only,
lf_data->lf_sync, lf_data->num_lf_workers);