Unified · Split
| @@ -19,6 +19,7 @@ API changes, most recent first: · 18 unmodified lines | |||
| 19 | for handling hwaccel frames. | 19 | for handling hwaccel frames. |
| 20 | xxxxxxx hwcontext_vdpau.h - Add a new installed header hwcontext_vdpau.h with | 20 | xxxxxxx hwcontext_vdpau.h - Add a new installed header hwcontext_vdpau.h with |
| 21 | VDPAU-specific hwcontext definitions. | 21 | VDPAU-specific hwcontext definitions. |
| 22 | xxxxxxx pixfmt.h - Add AV_PIX_FMT_CUDA. | ||
| 22 | 23 | ||
| 23 | 2016-xx-xx - xxxxxxx - lavf 57.3.0 - avformat.h | 24 | 2016-xx-xx - xxxxxxx - lavf 57.3.0 - avformat.h |
| 24 | Add AVFormatContext.opaque, io_open and io_close, allowing custom IO | 25 | Add AVFormatContext.opaque, io_open and io_close, allowing custom IO |
| @@ -1577,6 +1577,10 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = { · 1576 unmodified lines | |||
| 1577 | .name = "mmal", | 1577 | .name = "mmal", |
| 1578 | .flags = AV_PIX_FMT_FLAG_HWACCEL, | 1578 | .flags = AV_PIX_FMT_FLAG_HWACCEL, |
| 1579 | }, | 1579 | }, |
| 1580 | [AV_PIX_FMT_CUDA] = { | ||
| 1581 | .name = "cuda", | ||
| 1582 | .flags = AV_PIX_FMT_FLAG_HWACCEL, | ||
| 1583 | }, | ||
| 1580 | }; | 1584 | }; |
| 1581 | #if FF_API_PLUS1_MINUS1 | 1585 | #if FF_API_PLUS1_MINUS1 |
| 1582 | FF_ENABLE_DEPRECATION_WARNINGS | 1586 | FF_ENABLE_DEPRECATION_WARNINGS |
| @@ -217,6 +217,12 @@ enum AVPixelFormat { · 216 unmodified lines | |||
| 217 | 217 | ||
| 218 | AV_PIX_FMT_D3D11VA_VLD, ///< HW decoding through Direct3D11, Picture.data[3] contains a ID3D11VideoDecoderOutputView pointer | 218 | AV_PIX_FMT_D3D11VA_VLD, ///< HW decoding through Direct3D11, Picture.data[3] contains a ID3D11VideoDecoderOutputView pointer |
| 219 | 219 | ||
| 220 | /** | ||
| 221 | * HW acceleration through CUDA. data[i] contain CUdeviceptr pointers | ||
| 222 | * exactly as for system memory frames. | ||
| 223 | */ | ||
| 224 | AV_PIX_FMT_CUDA, | ||
| 225 | |||
| 220 | AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions | 226 | AV_PIX_FMT_NB, ///< number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions |
| 221 | }; | 227 | }; |
| 222 | 228 | ||