mirror of
https://github.com/immich-app/immich.git
synced 2026-03-07 02:27:23 +03:00
feat(server): qsv hardware decoding and tone-mapping (#9689)
* qsv hw decoding and tone-mapping * fix vaapi * add tests * formatting * handle device name without path
This commit is contained in:
@@ -38,7 +38,8 @@ import {
|
||||
HEVCConfig,
|
||||
NvencHwDecodeConfig,
|
||||
NvencSwDecodeConfig,
|
||||
QSVConfig,
|
||||
QsvHwDecodeConfig,
|
||||
QsvSwDecodeConfig,
|
||||
RkmppHwDecodeConfig,
|
||||
RkmppSwDecodeConfig,
|
||||
ThumbnailConfig,
|
||||
@@ -499,7 +500,9 @@ export class MediaService {
|
||||
break;
|
||||
}
|
||||
case TranscodeHWAccel.QSV: {
|
||||
handler = new QSVConfig(config, await this.getDevices());
|
||||
handler = config.accelDecode
|
||||
? new QsvHwDecodeConfig(config, await this.getDevices())
|
||||
: new QsvSwDecodeConfig(config, await this.getDevices());
|
||||
break;
|
||||
}
|
||||
case TranscodeHWAccel.VAAPI: {
|
||||
|
||||
Reference in New Issue
Block a user