Home
last modified time | relevance | path

Searched refs:yuv420 (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/media/platform/aspeed/
Daspeed-video.c316 bool yuv420; member
498 static void aspeed_video_init_jpeg_table(u32 *table, bool yuv420) in aspeed_video_init_jpeg_table() argument
516 if (yuv420) in aspeed_video_init_jpeg_table()
522 static void aspeed_video_update_jpeg_table(u32 *table, bool yuv420) in aspeed_video_update_jpeg_table() argument
532 table[base + 2] = (yuv420) ? 0x00220103 : 0x00110103; in aspeed_video_update_jpeg_table()
1226 video->yuv420 ? "420" : "444"); in aspeed_video_update_regs()
1245 if (video->yuv420) in aspeed_video_update_regs()
1249 aspeed_video_update_jpeg_table(video->jpeg.virt, video->yuv420); in aspeed_video_update_regs()
1661 video->yuv420 = (ctrl->val == V4L2_JPEG_CHROMA_SUBSAMPLING_420); in aspeed_video_set_ctrl()
1940 v->yuv420 ? "420" : "444"); in aspeed_video_debugfs_show()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c125 if (rq_param->yuv420) { in extract_rq_regs()
136 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
145 if (rq_param->yuv420) { in extract_rq_regs()
187 if (rq_param->yuv420) in handle_det_buf_split()
197 } else if (!rq_param->yuv420) { in handle_det_buf_split()
228 if (rq_param->yuv420) in handle_det_buf_split()
754 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
Ddisplay_mode_vba_30.c1332 int yuv420 = 0; in CalculateDCCConfiguration() local
1375yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==… in CalculateDCCConfiguration()
1408 / (1 + yuv420)); in CalculateDCCConfiguration()
1412 / (1 + vert_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
1429 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in CalculateDCCConfiguration()
1433 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in CalculateDCCConfiguration()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c121 if (rq_param->yuv420) { in extract_rq_regs()
131 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
141 if (rq_param->yuv420) { in extract_rq_regs()
199 if (rq_param->yuv420) in handle_det_buf_split()
214 } else if (!rq_param->yuv420) { in handle_det_buf_split()
245 if (rq_param->yuv420) in handle_det_buf_split()
750 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
Ddisplay_mode_vba_31.c1496 int yuv420; local
1534yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==…
1557 + (double) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420));
1559 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420));
1575 eff_surf_width_c = eff_surf_width_l / (1 + yuv420);
1577 eff_surf_height_c = eff_surf_height_l / (1 + yuv420);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c201 if (rq_param->yuv420) { in extract_rq_regs()
221 if (rq_param->yuv420) { in extract_rq_regs()
263 if (rq_param->yuv420) { in handle_det_buf_split()
416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
606 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
743 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20_rq_dlg_get_rq_params()
Ddisplay_rq_dlg_calc_20v2.c201 if (rq_param->yuv420) { in extract_rq_regs()
221 if (rq_param->yuv420) { in extract_rq_regs()
263 if (rq_param->yuv420) { in handle_det_buf_split()
416 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
606 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
743 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20v2_rq_dlg_get_rq_params()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c209 if (rq_param->yuv420) { in extract_rq_regs()
219 …if (rq_param->sizing.rq_l.chunk_bytes >= 32 * 1024 || (rq_param->yuv420 && rq_param->sizing.rq_c.c… in extract_rq_regs()
229 if (rq_param->yuv420) { in extract_rq_regs()
287 if (rq_param->yuv420) in handle_det_buf_split()
302 } else if (!rq_param->yuv420) { in handle_det_buf_split()
333 if (rq_param->yuv420) in handle_det_buf_split()
837 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
Ddisplay_mode_vba_314.c1516 int yuv420; local
1554yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==…
1577 + (double) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420));
1579 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420));
1595 eff_surf_width_c = eff_surf_width_l / (1 + yuv420);
1597 eff_surf_height_c = eff_surf_height_l / (1 + yuv420);
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c180 if (rq_param->yuv420) { in extract_rq_regs()
201 if (rq_param->yuv420) { in extract_rq_regs()
247 if (rq_param->yuv420) { in handle_det_buf_split()
407 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
604 yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
785 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c240 if (rq_param->yuv420) in dml1_extract_rq_regs()
258 if (rq_param->yuv420) { in dml1_extract_rq_regs()
304 if (rq_param->yuv420) { in handle_det_buf_split()
966 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml1_rq_dlg_get_rq_params()
Ddisplay_mode_structs.h611 unsigned char yuv420; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddisplay_mode_vba_util_32.c5361 unsigned int yuv420; in dml32_CalculateDCCConfiguration() local
5371 yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || in dml32_CalculateDCCConfiguration()
5393 BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration()
5396 (1 + vert_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration()
5412 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in dml32_CalculateDCCConfiguration()
5414 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in dml32_CalculateDCCConfiguration()