Add helper to convert from FOURCC to VIDEO_FORMAT

This commit is contained in:
Palana
2014-04-15 17:23:38 +02:00
parent 8830c4102f
commit b77b9feb61
5 changed files with 57 additions and 2 deletions

View File

@@ -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