summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 08:12:33 -0700
committerJohn Stebbins <[email protected]>2016-05-17 08:12:33 -0700
commit141579c628e4d74fd6c7d00da0de388bdca7eabd (patch)
tree5c6d365cb58945bba799c5c891487541d739f3b5 /libhb/hb.c
parent17433d4f622a561f1cc4fdef71ced517f9b997b5 (diff)
remove dxva hw decode (#189)
* remove dxva hw decode It provides practically no speed increase even on a slow CPU and results in a speed decrease on fast CPUs. And the code is exceptionally fugly. * cli: remove USE_HWD
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index fdda96e77..12e541a92 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -67,31 +67,11 @@ struct hb_handle_s
// power management opaque pointer
void * system_sleep_opaque;
-
- // When hardware decoding, scan must also use hardware so that
- // libav hardware decode contest is used. So set hardware
- // decoding as a global property on the hb instance.
- hb_hwd_t hwd;
};
hb_work_object_t * hb_objects = NULL;
int hb_instance_counter = 0;
-void hb_hwd_set_enable( hb_handle_t *h, uint8_t enable )
-{
- h->hwd.enable = enable;
-}
-
-int hb_hwd_enabled( hb_handle_t *h )
-{
- return h->hwd.enable;
-}
-
-hb_hwd_t * hb_hwd_get_context( hb_handle_t *h )
-{
- return &h->hwd;
-}
-
static void thread_func( void * );
static int ff_lockmgr_cb(void **mutex, enum AVLockOp op)