Searched refs:cal_buffer (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.h | 101 struct calculate_buffer *cal_buffer; member 112 struct calculate_buffer *cal_buffer); 120 struct calculate_buffer *cal_buffer, 125 struct calculate_buffer *cal_buffer,
|
D | color_gamma.c | 340 struct calculate_buffer *cal_buffer = args->cal_buffer; in translate_from_linear_space() local 355 if (cal_buffer->buffer_index == 0) { in translate_from_linear_space() 356 cal_buffer->gamma_of_2 = dc_fixpt_pow(dc_fixpt_from_int(2), in translate_from_linear_space() 364 if ((cal_buffer->buffer_index >= PRECISE_LUT_REGION_START && in translate_from_linear_space() 365 cal_buffer->buffer_index <= PRECISE_LUT_REGION_END) || in translate_from_linear_space() 366 (cal_buffer->buffer_index < 16)) in translate_from_linear_space() 370 scratch_2 = dc_fixpt_mul(cal_buffer->gamma_of_2, in translate_from_linear_space() 371 cal_buffer->buffer[cal_buffer->buffer_index%16]); in translate_from_linear_space() 373 if (cal_buffer->buffer_index != -1) { in translate_from_linear_space() 374 cal_buffer->buffer[cal_buffer->buffer_index%16] = scratch_2; in translate_from_linear_space() [all …]
|
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 230 struct calculate_buffer cal_buffer = {0}; in __set_legacy_tf() local 235 cal_buffer.buffer_index = -1; in __set_legacy_tf() 246 NULL, &cal_buffer); in __set_legacy_tf() 268 struct calculate_buffer cal_buffer = {0}; in __set_output_tf() local 273 cal_buffer.buffer_index = -1; in __set_output_tf() 298 has_rom, NULL, &cal_buffer); in __set_output_tf()
|
/Linux-v6.6/drivers/media/platform/ti/cal/ |
D | cal.h | 95 struct cal_buffer { struct 120 struct cal_buffer *pending; argument 126 struct cal_buffer *active;
|
D | cal-video.c | 627 struct cal_buffer *buf = container_of(vb, struct cal_buffer, in cal_buffer_prepare() 646 struct cal_buffer *buf = container_of(vb, struct cal_buffer, in cal_buffer_queue() 659 struct cal_buffer *buf, *tmp; in cal_release_buffers() 723 struct cal_buffer *buf; in cal_start_streaming() 751 buf = list_first_entry(&ctx->dma.queue, struct cal_buffer, list); in cal_start_streaming() 1007 q->buf_struct_size = sizeof(struct cal_buffer); in cal_ctx_v4l2_init()
|
D | cal.c | 641 struct cal_buffer *buf; in cal_irq_wdma_start() 644 buf = list_first_entry(&ctx->dma.queue, struct cal_buffer, in cal_irq_wdma_start() 660 struct cal_buffer *buf = NULL; in cal_irq_wdma_end()
|