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-12-xx - xxxxxxxxxx - lavu 57.13.100 - hwcontext_videotoolbox.h | |
| 18 | + Add av_vt_pixbuf_set_attachments | |
| 19 | + | |
| 17 | 20 | 2021-12-xx - xxxxxxxxxx - lavu 57.13.100 - hwcontext_videotoolbox.h |
| 18 | 21 | Add av_map_videotoolbox_chroma_loc_from_av |
| 19 | 22 | Add av_map_videotoolbox_color_matrix_from_av |
| @@ -571,6 +571,12 @@ static int vt_pixbuf_set_attachments(void *log_ctx, · 570 unmodified lines | ||
| 571 | 571 | return 0; |
| 572 | 572 | } |
| 573 | 573 | |
| 574 | +int av_vt_pixbuf_set_attachments(void *log_ctx, | |
| 575 | + CVPixelBufferRef pixbuf, const AVFrame *src) | |
| 576 | +{ | |
| 577 | + return vt_pixbuf_set_attachments(log_ctx, pixbuf, src); | |
| 578 | +} | |
| 579 | + | |
| 574 | 580 | static int vt_map_frame(AVHWFramesContext *ctx, AVFrame *dst, const AVFrame *src, |
| 575 | 581 | int flags) |
| 576 | 582 | { |
| @@ -85,4 +85,11 @@ CFStringRef av_map_videotoolbox_color_primaries_from_av(enum AVColorPrimaries pr · 84 unmodified lines | ||
| 85 | 85 | */ |
| 86 | 86 | CFStringRef av_map_videotoolbox_color_trc_from_av(enum AVColorTransferCharacteristic trc); |
| 87 | 87 | |
| 88 | +/** | |
| 89 | + * Update a CVPixelBufferRef's metadata to based on an AVFrame. | |
| 90 | + * Returns 0 if no known equivalent was found. | |
| 91 | + */ | |
| 92 | +int av_vt_pixbuf_set_attachments(void *log_ctx, | |
| 93 | + CVPixelBufferRef pixbuf, const struct AVFrame *src); | |
| 94 | + | |
| 88 | 95 | #endif /* AVUTIL_HWCONTEXT_VIDEOTOOLBOX_H */ |
| @@ -79,7 +79,7 @@ · 78 unmodified lines | ||
| 79 | 79 | */ |
| 80 | 80 | |
| 81 | 81 | #define LIBAVUTIL_VERSION_MAJOR 57 |
| 82 | −#define LIBAVUTIL_VERSION_MINOR 12 | |
| 82 | +#define LIBAVUTIL_VERSION_MINOR 13 | |
| 83 | 83 | #define LIBAVUTIL_VERSION_MICRO 100 |
| 84 | 84 | |
| 85 | 85 | #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |