The new format (given in big/little endian forms) matches the existing X2RGB10 format, except with B and R channels switched. AV_PIX_FMT_X2BGR10 data often is created by OpenGL programs whose buffers use the GL_RGB10 internal format.
Showing the changes to doc/APIchanges (1 of 6 files). Show all
Unified · Split
| @@ -14,6 +14,9 @@ libavutil: 2021-04-27 · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2021-09-21 - xxxxxxxxxx - lavu 57.7.100 - pixfmt.h | |
| 18 | + Add AV_PIX_FMT_X2BGR10. | |
| 19 | + | |
| 17 | 20 | 2021-09-20 - xxxxxxxxxx - lavu 57.6.100 - mem.h |
| 18 | 21 | Deprecate av_mallocz_array() as it is identical to av_calloc(). |
| 19 | 22 | |