av_hwframe_transfer_get_formats

Get a list of possible source or target formats usable in av_hwframe_transfer_data().

@param hwframe_ctx the frame context to obtain the information for @param dir the direction of the transfer @param formats the pointer to the output format list will be written here. The list is terminated with AV_PIX_FMT_NONE and must be freed by the caller when no longer needed using av_free(). If this function returns successfully, the format list will have at least one item (not counting the terminator). On failure, the contents of this pointer are unspecified. @param flags currently unused, should be set to zero @return 0 on success, a negative AVERROR code on failure.

extern (C) @nogc nothrow
int
av_hwframe_transfer_get_formats

Meta