Skip to content

Commit

Permalink
Set payload header size to 16 (needed align for CSC dest)
Browse files Browse the repository at this point in the history
  • Loading branch information
xerpi committed Aug 6, 2018
1 parent f0a0dba commit c4ea3fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define VIDEO_FRAME_HEIGHT 544
#define VIDEO_FRAME_SIZE_NV12 ((VIDEO_FRAME_WIDTH * VIDEO_FRAME_HEIGHT * 3) / 2)

#define UVC_PAYLOAD_HEADER_SIZE 2
#define UVC_PAYLOAD_HEADER_SIZE 16
#define UVC_FRAME_SIZE (UVC_PAYLOAD_HEADER_SIZE + VIDEO_FRAME_SIZE_NV12)

struct uvc_frame {
Expand Down

0 comments on commit c4ea3fc

Please sign in to comment.