The V4L2_SEL_TGT_NATIVE_SIZE target is used to denote e.g. the size of a sensor's pixel array.
Unified · Split
| @@ -62,6 +62,22 @@ · 61 unmodified lines | |||
| 62 | <entry>Yes</entry> | 62 | <entry>Yes</entry> |
| 63 | <entry>Yes</entry> | 63 | <entry>Yes</entry> |
| 64 | </row> | 64 | </row> |
| 65 | <row> | ||
| 66 | <entry><constant>V4L2_SEL_TGT_NATIVE_SIZE</constant></entry> | ||
| 67 | <entry>0x0003</entry> | ||
| 68 | <entry>The native size of the device, e.g. a sensor's | ||
| 69 | pixel array. <structfield>left</structfield> and | ||
| 70 | <structfield>top</structfield> fields are zero for this | ||
| 71 | target. Setting the native size will generally only make | ||
| 72 | sense for memory to memory devices where the software can | ||
| 73 | create a canvas of a given size in which for example a | ||
| 74 | video frame can be composed. In that case | ||
| 75 | V4L2_SEL_TGT_NATIVE_SIZE can be used to configure the size | ||
| 76 | of that canvas. | ||
| 77 | </entry> | ||
| 78 | <entry>Yes</entry> | ||
| 79 | <entry>Yes</entry> | ||
| 80 | </row> | ||
| 65 | <row> | 81 | <row> |
| 66 | <entry><constant>V4L2_SEL_TGT_COMPOSE</constant></entry> | 82 | <entry><constant>V4L2_SEL_TGT_COMPOSE</constant></entry> |
| 67 | <entry>0x0100</entry> | 83 | <entry>0x0100</entry> |
| @@ -43,6 +43,8 @@ · 42 unmodified lines | |||
| 43 | #define V4L2_SEL_TGT_CROP_DEFAULT 0x0001 | 43 | #define V4L2_SEL_TGT_CROP_DEFAULT 0x0001 |
| 44 | /* Cropping bounds */ | 44 | /* Cropping bounds */ |
| 45 | #define V4L2_SEL_TGT_CROP_BOUNDS 0x0002 | 45 | #define V4L2_SEL_TGT_CROP_BOUNDS 0x0002 |
| 46 | /* Native frame size */ | ||
| 47 | #define V4L2_SEL_TGT_NATIVE_SIZE 0x0003 | ||
| 46 | /* Current composing area */ | 48 | /* Current composing area */ |
| 47 | #define V4L2_SEL_TGT_COMPOSE 0x0100 | 49 | #define V4L2_SEL_TGT_COMPOSE 0x0100 |
| 48 | /* Default composing area */ | 50 | /* Default composing area */ |