get_subsampling(9)
π get_subsampling(9) π
okay bestie, welcome to the Kernel API Manual β this is the page for get_subsampling(9), and it's literally all about grabbing the subsampling divisor value on a specific direction. no cap. π
β¨ NAME β¨
get_subsampling β get the subsampling divisor value on a specific direction β¨
π¦ SYNOPSIS π¦
int get_subsampling (const struct drm_format_info *format , enum pixel_read_direction direction );
π ARGUMENTS π
formatβ the format to extract the subsampling from. (the source page spells itextarct, and honestly? iconic π but you know what it means.)directionβ the direction of the subsampling requested, bestie. π§
π SEE ALSO π
the whole squad, fr fr:
- Kernel file
./drivers/gpu/drm/vkms/vkms_formats.cβ go peek, iykyk π packed_pixels_offset(9)packed_pixels_addr(9)get_block_step_bytes(9)packed_pixels_addr_1x1(9)get_subsampling_offset(9)READ_LINE(9)READ_LINE_ARGB8888(9)READ_LINE_le16161616(9)READ_LINE_YUV_SEMIPLANAR(9)vkms_writeback_row(9)get_pixel_read_line_function(9)swap_uv_columns(9)get_conversion_matrix_to_argb_u16(9)get_pixel_write_function(9)
π cute sign-off: source/version ./drivers/gpu/drm/vkms, dated October 2026, page get_subsampling(9). mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms