Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
format.h File Reference
#include <stddef.h>
#include <stdint.h>
#include "system/simd.h"
+ Include dependency graph for format.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dt_iop_roi_t
 Region of interest passed through the pixelpipe. More...
 
struct  dt_iop_buffer_dsc_t
 

Typedefs

typedef struct dt_iop_roi_t dt_iop_roi_t
 Region of interest passed through the pixelpipe.
 
typedef enum dt_iop_buffer_type_t dt_iop_buffer_type_t
 
typedef enum dt_iop_colorspace_type_t dt_iop_colorspace_type_t
 
typedef struct dt_iop_buffer_dsc_t dt_iop_buffer_dsc_t
 

Enumerations

enum  dt_iop_buffer_type_t {
  TYPE_UNKNOWN ,
  TYPE_FLOAT ,
  TYPE_UINT16 ,
  TYPE_UINT8
}
 
enum  dt_iop_colorspace_type_t {
  IOP_CS_NONE = -1 ,
  IOP_CS_RAW = 0 ,
  IOP_CS_LAB = 1 ,
  IOP_CS_RGB = 2 ,
  IOP_CS_LCH = 3 ,
  IOP_CS_HSL = 4 ,
  IOP_CS_JZCZHZ = 5 ,
  IOP_CS_RGB_DISPLAY = 6
}
 

Functions

static gboolean dt_iop_colorspace_is_rgb (const dt_iop_colorspace_type_t cst)
 
void dt_iop_buffer_dsc_update_bpp (struct dt_iop_buffer_dsc_t *dsc)
 
size_t dt_iop_buffer_dsc_to_bpp (const struct dt_iop_buffer_dsc_t *dsc)
 

Typedef Documentation

◆ dt_iop_buffer_dsc_t

◆ dt_iop_buffer_type_t

◆ dt_iop_colorspace_type_t

colorspace enums, must be in synch with dt_iop_colorspace_type_t in color_conversion.cl

◆ dt_iop_roi_t

typedef struct dt_iop_roi_t dt_iop_roi_t

Region of interest passed through the pixelpipe.

scale must stay consistent with x, y, width and height, which all describe the same raster ROI seen by the current pipeline stage.

Enumeration Type Documentation

◆ dt_iop_buffer_type_t

Enumerator
TYPE_UNKNOWN 
TYPE_FLOAT 
TYPE_UINT16 
TYPE_UINT8 

Definition at line 54 of file format.h.

◆ dt_iop_colorspace_type_t

colorspace enums, must be in synch with dt_iop_colorspace_type_t in color_conversion.cl

Enumerator
IOP_CS_NONE 
IOP_CS_RAW 
IOP_CS_LAB 
IOP_CS_RGB 
IOP_CS_LCH 
IOP_CS_HSL 
IOP_CS_JZCZHZ 
IOP_CS_RGB_DISPLAY 

Definition at line 62 of file format.h.

Function Documentation

◆ dt_iop_buffer_dsc_to_bpp()

size_t dt_iop_buffer_dsc_to_bpp ( const struct dt_iop_buffer_dsc_t dsc)

Definition at line 65 of file pixel/format.c.

References dt_iop_buffer_dsc_t::bpp.

◆ dt_iop_buffer_dsc_update_bpp()

◆ dt_iop_colorspace_is_rgb()