diff options
author | Damiano Galassi <[email protected]> | 2021-01-23 09:32:12 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2021-01-23 09:32:12 +0100 |
commit | 00beb1c9b8decd7c58cafc95cd7a99a707d66a2c (patch) | |
tree | 70f4d9642ff6c4ba658e0ee5e02f306713001f6b | |
parent | 685687b52cb0b9e0dbf6313329de8d7611593e49 (diff) |
libhb: remove unused code of an old QSV zero-copy implementation.
-rw-r--r-- | libhb/work.c | 33 |
1 files changed, 7 insertions, 26 deletions
diff --git a/libhb/work.c b/libhb/work.c index cf34356bc..27fe2e7a0 100644 --- a/libhb/work.c +++ b/libhb/work.c @@ -1537,33 +1537,14 @@ static void do_job(hb_job_t *job) hb_reduce(&job->vrate.num, &job->vrate.den, job->vrate.num, job->vrate.den); -#if HB_PROJECT_FEATURE_QSV -#if 0 // TODO: re-implement QSV zerocopy path - if (hb_qsv_decode_is_enabled(job) && (job->vcodec & HB_VCODEC_QSV_MASK)) - { - job->fifo_mpeg2 = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE ); - job->fifo_raw = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE ); - if (!job->indepth_scan) - { - // When doing subtitle indepth scan, the pipeline ends at sync - job->fifo_sync = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE ); - job->fifo_render = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE ); - job->fifo_mpeg4 = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE ); - } - } - else -#endif // QSV zerocopy path -#endif + job->fifo_mpeg2 = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); + job->fifo_raw = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); + if (!job->indepth_scan) { - job->fifo_mpeg2 = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); - job->fifo_raw = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); - if (!job->indepth_scan) - { - // When doing subtitle indepth scan, the pipeline ends at sync - job->fifo_sync = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); - job->fifo_render = NULL; // Attached to filter chain - job->fifo_mpeg4 = hb_fifo_init( FIFO_LARGE, FIFO_LARGE_WAKE ); - } + // When doing subtitle indepth scan, the pipeline ends at sync + job->fifo_sync = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE ); + job->fifo_render = NULL; // Attached to filter chain + job->fifo_mpeg4 = hb_fifo_init( FIFO_LARGE, FIFO_LARGE_WAKE ); } result = sanitize_audio(job); |