Home
last modified time | relevance | path

Searched refs:color_spec (Results 1 - 2 of 2) sorted by relevance

/third_party/backends/backend/
H A Dpieusb_buffer.c122 sanei_pieusb_buffer_create(struct Pieusb_Read_Buffer* buffer, SANE_Int width, SANE_Int height, SANE_Byte color_spec, SANE_Byte depth) in sanei_pieusb_buffer_create() argument
132 if (color_spec & 0x01) { buffer->color_index_red = 0; buffer->colors++; } else { buffer->color_index_red = -1; } in sanei_pieusb_buffer_create()
133 if (color_spec & 0x02) { buffer->color_index_green = 1; buffer->colors++; } else { buffer->color_index_green = -1; } in sanei_pieusb_buffer_create()
134 if (color_spec & 0x04) { buffer->color_index_blue = 2; buffer->colors++; } else { buffer->color_index_blue = -1; } in sanei_pieusb_buffer_create()
135 if (color_spec & 0x08) { buffer->color_index_infrared = 3; buffer->colors++; } else { buffer->color_index_infrared = -1; } in sanei_pieusb_buffer_create()
/third_party/ffmpeg/libavcodec/
H A Ddpx.c167 int yuv, color_trc, color_spec; in decode_frame() local
228 color_spec = buf[2]; in decode_frame()
430 switch (color_spec) { in decode_frame()
449 "%d to color_primaries.\n", color_spec); in decode_frame()
454 switch (color_spec) { in decode_frame()
473 "%d to colorspace.\n", color_spec); in decode_frame()

Completed in 3 milliseconds