Home
last modified time | relevance | path

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

/linux/drivers/media/platform/aspeed/
H A 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/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A 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()
749 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
H A 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/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A 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()
753 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
H A 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/drivers/gpu/drm/amd/display/dc/dml/dcn20/
H A 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()
413 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
603 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
739 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20_rq_dlg_get_rq_params()
H A 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()
413 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
603 pde_buf_entries = yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
739 rq_param->yuv420 = pipe_src_param->source_format == dm_420_8 in dml20v2_rq_dlg_get_rq_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/
H A 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()
404 bool yuv420 = (source_format == dm_420_8 || source_format == dm_420_10); in get_meta_and_pte_attr() local
601 yuv420 ? (pde_proc_buffer_size_64k_reqs >> 1) : pde_proc_buffer_size_64k_reqs; in get_meta_and_pte_attr()
781 rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 in dml_rq_dlg_get_rq_params()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/
H A 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()
836 …rq_param->yuv420 = pipe_param->src.source_format == dm_420_8 || pipe_param->src.source_format == d… in dml_rq_dlg_get_rq_params()
H A Ddisplay_mode_vba_314.c1513 int yuv420; local
1551yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || SourcePixelFormat ==…
1574 + (double) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420));
1576 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420));
1592 eff_surf_width_c = eff_surf_width_l / (1 + yuv420);
1594 eff_surf_height_c = eff_surf_height_l / (1 + yuv420);
/linux/drivers/gpu/drm/amd/display/dc/dml/
H A 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()
H A Ddisplay_mode_structs.h612 unsigned char yuv420; member
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddisplay_mode_vba_util_32.c5355 unsigned int yuv420; in dml32_CalculateDCCConfiguration() local
5365 yuv420 = ((SourcePixelFormat == dm_420_8 || SourcePixelFormat == dm_420_10 || in dml32_CalculateDCCConfiguration()
5387 BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration()
5390 (1 + vert_div_c) / (1 + yuv420)); in dml32_CalculateDCCConfiguration()
5406 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in dml32_CalculateDCCConfiguration()
5408 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in dml32_CalculateDCCConfiguration()
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddisplay_mode_core.c2121 dml_uint_t yuv420; in CalculateDCCConfiguration() local
2165yuv420 = ((SourcePixelFormat == dml_420_8 || SourcePixelFormat == dml_420_10 || SourcePixelFormat … in CalculateDCCConfiguration()
2182 …v_l) + (dml_float_t) RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
2183 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
2199 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in CalculateDCCConfiguration()
2201 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in CalculateDCCConfiguration()
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_dcn4_calcs.c2064 unsigned int yuv420; in CalculateDCCConfiguration() local
2089 yuv420 = 1; in CalculateDCCConfiguration()
2091 yuv420 = 0; in CalculateDCCConfiguration()
2109 …orz_div_l) + (double)RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
2110 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
2126 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in CalculateDCCConfiguration()
2128 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in CalculateDCCConfiguration()
H A Ddml2_core_shared.c4731 unsigned int yuv420; in CalculateDCCConfiguration() local
4741 yuv420 = dml2_core_shared_is_420(SourcePixelFormat); in CalculateDCCConfiguration()
4758 …orz_div_l) + (double)RequestHeight256ByteChroma * BytePerPixelC / (1 + horz_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
4759 …yteLuma / (1 + vert_div_l) + 256.0 / RequestHeight256ByteChroma / (1 + vert_div_c) / (1 + yuv420)); in CalculateDCCConfiguration()
4789 eff_surf_width_c = eff_surf_width_l / (1 + yuv420); in CalculateDCCConfiguration()
4791 eff_surf_height_c = eff_surf_height_l / (1 + yuv420); in CalculateDCCConfiguration()