mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	feat(server): tone-mapping (#3512)
* added tonemapping * check for hdr in transcode policy * merged video thumbnail and transcoding logic * updated tests * removed log * added dashboard option, updated api * `out_color_matrix` for sdr video thumbs, cleanup * updated tests & styling * refactored tonemapping setting * fixed tests * formatting * added tests * updated api * set target npl higher for mobius and reinhard * convert to nv12 before nvenc * fix test --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
This commit is contained in:
		
							
								
								
									
										22
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										22
									
								
								web/src/api/open-api/api.ts
									
									
									
										generated
									
									
									
								
							| @@ -2480,6 +2480,12 @@ export interface SystemConfigFFmpegDto { | ||||
|      * @memberof SystemConfigFFmpegDto | ||||
|      */ | ||||
|     'threads': number; | ||||
|     /** | ||||
|      *  | ||||
|      * @type {ToneMapping} | ||||
|      * @memberof SystemConfigFFmpegDto | ||||
|      */ | ||||
|     'tonemap': ToneMapping; | ||||
|     /** | ||||
|      *  | ||||
|      * @type {TranscodePolicy} | ||||
| @@ -2805,6 +2811,22 @@ export const TimeBucketSize = { | ||||
| export type TimeBucketSize = typeof TimeBucketSize[keyof typeof TimeBucketSize]; | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  *  | ||||
|  * @export | ||||
|  * @enum {string} | ||||
|  */ | ||||
| 
 | ||||
| export const ToneMapping = { | ||||
|     Hable: 'hable', | ||||
|     Mobius: 'mobius', | ||||
|     Reinhard: 'reinhard', | ||||
|     Disabled: 'disabled' | ||||
| } as const; | ||||
| 
 | ||||
| export type ToneMapping = typeof ToneMapping[keyof typeof ToneMapping]; | ||||
| 
 | ||||
| 
 | ||||
| /** | ||||
|  *  | ||||
|  * @export | ||||
|   | ||||
		Reference in New Issue
	
	Block a user