Searched refs:cal_buffer (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/amd/display/modules/color/ |
D | color_gamma.h | 101 struct calculate_buffer *cal_buffer; member 112 struct calculate_buffer *cal_buffer); 123 struct calculate_buffer *cal_buffer); 127 struct calculate_buffer *cal_buffer);
|
D | color_gamma.c | 329 struct calculate_buffer *cal_buffer = args->cal_buffer; in translate_from_linear_space() local 344 if (cal_buffer->buffer_index == 0) { in translate_from_linear_space() 345 cal_buffer->gamma_of_2 = dc_fixpt_pow(dc_fixpt_from_int(2), in translate_from_linear_space() 349 if (cal_buffer->buffer_index < 16) in translate_from_linear_space() 353 scratch_2 = dc_fixpt_mul(cal_buffer->gamma_of_2, in translate_from_linear_space() 354 cal_buffer->buffer[cal_buffer->buffer_index%16]); in translate_from_linear_space() 356 if (cal_buffer->buffer_index != -1) { in translate_from_linear_space() 357 cal_buffer->buffer[cal_buffer->buffer_index%16] = scratch_2; in translate_from_linear_space() 358 cal_buffer->buffer_index++; in translate_from_linear_space() 405 …d31_32 calculate_gamma22(struct fixed31_32 arg, bool use_eetf, struct calculate_buffer *cal_buffer) in calculate_gamma22() argument [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_color.c | 198 struct calculate_buffer cal_buffer = {0}; in __set_legacy_tf() local 203 cal_buffer.buffer_index = -1; in __set_legacy_tf() 214 NULL, &cal_buffer); in __set_legacy_tf() 227 struct calculate_buffer cal_buffer = {0}; in __set_output_tf() local 232 cal_buffer.buffer_index = -1; in __set_output_tf() 257 has_rom, NULL, &cal_buffer); in __set_output_tf()
|
/Linux-v5.10/drivers/media/platform/ti-vpe/ |
D | cal.h | 60 struct cal_buffer { struct 174 struct cal_buffer *cur_frm; 176 struct cal_buffer *next_frm;
|
D | cal-video.c | 554 struct cal_buffer *buf = container_of(vb, struct cal_buffer, in cal_buffer_prepare() 576 struct cal_buffer *buf = container_of(vb, struct cal_buffer, in cal_buffer_queue() 591 struct cal_buffer *buf, *tmp; in cal_start_streaming() 603 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_start_streaming() 650 struct cal_buffer *buf, *tmp; in cal_stop_streaming() 841 q->buf_struct_size = sizeof(struct cal_buffer); in cal_ctx_v4l2_init()
|
D | cal.c | 303 struct cal_buffer *buf; in cal_schedule_next_buffer() 306 buf = list_entry(dma_q->active.next, struct cal_buffer, list); in cal_schedule_next_buffer()
|