pub unsafe extern "C" fn ccap_pixel_format_to_string(
format: CcapPixelFormat,
buffer: *mut c_char,
buffer_size: usize,
) -> c_intExpand description
@brief Get string representation of pixel format @param format Pixel format @param buffer Output buffer to store the string (caller must allocate) @param buffer_size Size of the output buffer @return Number of characters written (excluding null terminator), or -1 on error @note If buffer is NULL, returns the required buffer size (including null terminator)