跳到主要内容

av_image_fill_linesizes

搜索

函数 av_image_fill_linesizes 

源代码
pub unsafe extern "C" fn av_image_fill_linesizes(
    linesizes: *mut c_int,
    pix_fmt: AVPixelFormat,
    width: c_int,
) -> c_int
展开描述

Fill plane linesizes for an image with pixel format pix_fmt and width width.

@param linesizes array to be filled with the linesize for each plane @param pix_fmt the AVPixelFormat of the image @param width width of the image in pixels @return >= 0 in case of success, a negative error code otherwise