903801f1ef
Implemented parallel loopfiltering, which uses existing tile- decoding threads. Each thread works on one row, and when that row is loopfiltered, it moves to next unattended row. To ensure the correct filtering order, threads are synchronized and one superblock is filtered only if the superblocks it depends on are filtered already. To reduce synchronization overhead and speed up the decoder, we use nsync > 1 for high resolution. Performance tests: 1. on desktop: 8-tile 4k video using 8 threads, speedup: 70% - 80% 4-tile HD video using 4 threads, speedup: ~35% 2. on mobile device(Nexus 7): 4-tile 1080p video using 4 threads, speedup: 18% - 25% 4-tile 1080p video using 2 threads, speedup: 10% - 15% Change-Id: If54b4a11960dd706c22d5ad145ad94156031f36a
40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
##
|
|
## Copyright (c) 2010 The WebM project authors. All Rights Reserved.
|
|
##
|
|
## Use of this source code is governed by a BSD-style license
|
|
## that can be found in the LICENSE file in the root of the source
|
|
## tree. An additional intellectual property rights grant can be found
|
|
## in the file PATENTS. All contributing project authors may
|
|
## be found in the AUTHORS file in the root of the source tree.
|
|
##
|
|
|
|
VP9_DX_EXPORTS += exports_dec
|
|
|
|
VP9_DX_SRCS-yes += $(VP9_COMMON_SRCS-yes)
|
|
VP9_DX_SRCS-no += $(VP9_COMMON_SRCS-no)
|
|
VP9_DX_SRCS_REMOVE-yes += $(VP9_COMMON_SRCS_REMOVE-yes)
|
|
VP9_DX_SRCS_REMOVE-no += $(VP9_COMMON_SRCS_REMOVE-no)
|
|
|
|
VP9_DX_SRCS-yes += vp9_dx_iface.c
|
|
|
|
VP9_DX_SRCS-yes += decoder/vp9_decodemv.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_decodeframe.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_decodeframe.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_detokenize.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_dthread.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_dthread.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_reader.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_reader.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_read_bit_buffer.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_decodemv.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_detokenize.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_onyxd.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_onyxd_int.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_thread.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_thread.h
|
|
VP9_DX_SRCS-yes += decoder/vp9_onyxd_if.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_dsubexp.c
|
|
VP9_DX_SRCS-yes += decoder/vp9_dsubexp.h
|
|
|
|
VP9_DX_SRCS-yes := $(filter-out $(VP9_DX_SRCS_REMOVE-yes),$(VP9_DX_SRCS-yes))
|