dc_stream_get_crc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– dc_stream_get_crc(9) β€” Kernel API Manual πŸ’–

🌸 NAME 🌸

dc_stream_get_crc β€” Get CRC values for the given stream. 🎯

✨ SYNOPSIS ✨

bool dc_stream_get_crc (struct dc *dc , struct dc_stream_state *stream ,
uint8_t idx , uint32_t *r_cr , uint32_t *g_y , uint32_t *b_cb );

🌈 ARGUMENTS 🌈

okay so here’s the cast of inputs, bestie:

  • dc β€” DC object.
  • stream β€” The DC stream state of the stream to get CRCs from.
  • idx β€” index of crc engine to get CRC from.
  • r_cr β€” CRC value for the red component.
  • g_y β€” CRC value for the green component.
  • b_cb β€” CRC value for the blue component.

πŸ’… DESCRIPTION πŸ’…

Before you can pull these CRCs, you have to call dc_stream_configure_crc first to enable them. That’s the prerequisite, periodt β€” no setup, no CRC tea. πŸ«–βœ¨

πŸ”₯ RETURN πŸ”₯

It returns false if the stream is not found, or if CRCs are not enabled. That’s the whole return situation. πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

the whole squad, fr fr:


cute lil sign-off: source/version is ./drivers/gpu/drm/amd/display/..., dated October 2026 β€” mwah, bestie πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from