Commit b69e1d5
include: video: add size field to video_format structure
Add size field to the video_format structure which needs to be set by the
driver and exposed to the application.
For uncompressed formats, this is the size of the raw data buffer in
bytes, which could be the whole raw image or a portion of the raw image
in cases the receiver / dma supports it.
For compressed formats, this is the estimated maximum number of bytes
required to hold a complete compressed frame.
Signed-off-by: Hugues Fruchet <[email protected]>
Signed-off-by: Phi Bang Nguyen <[email protected]>1 parent 09ed77f commit b69e1d5
1 file changed
+11
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| |||
0 commit comments