Add helper to convert from FOURCC to VIDEO_FORMAT
This commit is contained in:
@@ -109,6 +109,8 @@ struct video_scale_info {
|
||||
enum video_colorspace colorspace;
|
||||
};
|
||||
|
||||
EXPORT enum video_format video_format_from_fourcc(uint32_t fourcc);
|
||||
|
||||
#define VIDEO_OUTPUT_SUCCESS 0
|
||||
#define VIDEO_OUTPUT_INVALIDPARAM -1
|
||||
#define VIDEO_OUTPUT_FAIL -2
|
||||
|
Reference in New Issue
Block a user