Change #254110
| Category | ffmpeg |
| Changed by | Ayose <ayosec@gmail.com> |
| Changed at | Sun 04 Jan 2026 14:42:20 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 46c9584dc5b63229b16e13b86c40610f5af11886 |
Comments
avfilter/vf_drawvg: support color expressions as setvar/call arguments. The arguments for `setvar` and `call` commands can be colors (like `#rrggbb`). This replaces the previous trick of using `0xRRGGBBAA` values to use colors as procedure arguments. The parser stores colors as the value expected by Cairo (a `double[4]`). This array is allocated on the heap so the size of the union in `VGSArgument` is not increased (i.e. it is still 8 bytes, instead of 32). Signed-off-by: Ayose <ayosec@gmail.com>
Changed files
- libavfilter/vf_drawvg.c
- tests/ref/fate/filter-drawvg-interpreter
- tests/ref/lavf/drawvg.all