Function ff_isom_write_hvcc

Source
pub unsafe extern "C" fn ff_isom_write_hvcc(
    pb: *mut AVIOContext,
    data: *const u8,
    size: c_int,
    ps_array_completeness: c_int,
) -> c_int
Expand description

Writes HEVC extradata (parameter sets, declarative SEI NAL units) to the provided AVIOContext.

If the extradata is Annex B format, it gets converted to hvcC format before writing.

@param pb address of the AVIOContext where the hvcC shall be written @param data address of the buffer holding the data needed to write the hvcC @param size size (in bytes) of the data buffer @param ps_array_completeness whether all parameter sets are in the hvcC (1) or there may be additional parameter sets in the bitstream (0) @return >=0 in case of success, a negative value corresponding to an AVERROR code in case of failure