]> git.sesse.net Git - ffmpeg/blobdiff - doc/APIchanges
crypto: consistently use size_t as type for length parameters
[ffmpeg] / doc / APIchanges
index 84d5e90b20ea1b4c21a3a2a63510499037613bb3..942337903f178f76497b1adf63da63ed1ad7051f 100644 (file)
@@ -13,61 +13,200 @@ libavutil:     2015-08-28
 
 API changes, most recent first:
 
-2016-xx-xx - lavu 55.6.0
-  xxxxxxx buffer.h - Add av_buffer_pool_init2().
-  xxxxxxx hwcontext.h - Add a new installed header hwcontext.h with a new API
+2016-xx-xx - xxxxxxx
+  Change av_sha_update() and av_md5_sum()/av_md5_update() length
+  parameter type to size_t at next major bump.
+
+2016-xx-xx - xxxxxxx - lavc 57.29.0 - avcodec.h
+  Add AV_PKT_DATA_SPHERICAL packet side data to export AVSphericalMapping
+  information from containers.
+
+2016-xx-xx - xxxxxxx - lavu 55.30.0 - spherical.h
+  Add AV_FRAME_DATA_SPHERICAL value, av_spherical_alloc() API and
+  AVSphericalMapping type to export and describe spherical video properties.
+
+2016-xx-xx - xxxxxxx - lavf 57.10.0 - avformat.h
+  Add av_stream_add_side_data().
+
+2016-xx-xx - xxxxxxx - lavu 55.28.0 - pixfmt.h
+  Add AV_PIX_FMT_GRAY12(LE/BE).
+
+2016-xx-xx - xxxxxxx - lavu 55.27.0 - hwcontext.h
+  Add av_hwframe_map() and associated AV_HWFRAME_MAP_* flags.
+  Add av_hwframe_ctx_create_derived().
+
+2016-xx-xx - xxxxxxx - lavu 55.25.0 - pixfmt.h
+  Add AV_PIX_FMT_GBRAP12(LE/BE).
+
+2016-xx-xx - xxxxxxx - lavu 55.24.0 - pixfmt.h
+  Add AV_PIX_FMT_GBRP12(LE/BE).
+
+2016-xx-xx - xxxxxxx - lavu 55.23.0 - hwcontext_vaapi.h
+  Add AV_VAAPI_DRIVER_QUIRK_ATTRIB_MEMTYPE.
+
+2016-xx-xx - xxxxxxx - lavf 57.08.0 - avio.h
+  Add AVIO_SEEKABLE_TIME flag.
+
+2016-xx-xx - xxxxxxx - lavu 55.22.0 - pixfmt.h
+  Add AV_PIX_FMT_YUV420P12, AV_PIX_FMT_YUV422P12, and AV_PIX_FMT_YUV444P12.
+
+2016-xx-xx - xxxxxxx - lavc 57.27.0 - avcodec.h
+  Add FF_PROFILE_HEVC_REXT, the extended pixel format profile for HEVC.
+
+2016-08-24 - xxxxxxx - lavu 55.21.0 - imgutils.h
+  Add av_image_copy_uc_from(), a version of av_image_copy() for copying
+  from GPU mapped memory.
+
+2016-xx-xx - xxxxxxx - lavc 59.26.0 - vaapi.h
+  Deprecate struct vaapi_context and the vaapi.h installed header.
+  Callers should set AVCodecContext.hw_frames_ctx instead.
+
+------------------------------8<-------------------------------------
+                   12 branch was cut here
+----------------------------->8--------------------------------------
+
+2016-07-20 - xxxxxxx - lavu 55.20.0 - cpu.h
+  Add AV_CPU_FLAG_SSSE3SLOW.
+
+2016-07-02 - 4926fa9 - lavu 55.19.0 - hwcontext_vaapi.h
+  Add driver quirks field to VAAPI-specific hwdevice and enum with
+  members AV_VAAPI_DRIVER_QUIRK_* to represent its values.
+
+2016-07-02 - b7c5f88 - lavu 55.18.0 - pixfmt.h
+  Add AV_PIX_FMT_P010(LE/BE).
+
+2016-06-21 - 32c8359 - lavc 57.24.0 - avcodec.h
+  Decoders now export the frame timestamp as AVFrame.pts. It was
+  previously exported as AVFrame.pkt_pts, which is now deprecated.
+
+2016-06-21 - 59e7361 - lavu 55.16.0 - hwcontext.h hwcontext_qsv.h
+  Add AV_HWDEVICE_TYPE_QSV and a new installed header with QSV-specific
+  hwcontext definitions.
+
+2016-06-21 - e85f6f7 - lavc 57.23.0 - avcodec.h
+  AVCodecContext.hw_frames_ctx now may be used by decoders.
+
+2016-06-12 - 90f469a - lavc 57.20.0 - avcodec.h
+  Add FF_PROFILE_H264_MULTIVIEW_HIGH and FF_PROFILE_H264_STEREO_HIGH.
+
+2016-05-26 - 1c9e861 - lavu 55.13.0 - hwcontext.h
+  Add av_hwdevice_ctx_create().
+
+2016-05-24 - ad61da05 - lavc 57.19.1 - avcodec.h
+  Adjust values for JPEG 2000 profiles.
+
+2016-05-18 - db7968b - lavf 57.7.0 - avio.h
+  Add AVIODataMarkerType, write_data_type, ignore_boundary_point and
+  avio_write_marker.
+
+2016-05-17 - 0c4468d - lavu 55.12.0 - opt.h
+  Add av_stereo3d_type_name() and av_stereo3d_from_name().
+
+2016-05-17 - c46db38 - lavu 55.11.0 - hwcontext_dxva2.h
+  Add new installed header with DXVA2-specific hwcontext definitions.
+
+2016-03-24 - 564b459 - lavu 55.10.0 - opt.h
+  Add av_opt_copy().
+
+2016-03-23 - 05f6670 - lavc 57.16.0 - avcodec.h
+  Add a new audio/video encoding and decoding API with decoupled input
+  and output -- avcodec_send_packet(), avcodec_receive_frame(),
+  avcodec_send_frame() and avcodec_receive_packet().
+
+2016-03-20 - 33d1898 - lavc 57.15.0 - avcodec.h
+  Add a new bitstream filtering API working with AVPackets.
+  Deprecate the old bitstream filtering API.
+
+2016-03-19 - 07a844f - lavfi 6.3.0 - avfilter.h
+  Add AVFilterContext.hw_device_ctx.
+
+2016-03-19 - 551c677 - lavu 55.9.0 - hwcontext_vaapi.h
+  Add new installed header with VAAPI-specific hwcontext definitions.
+
+2016-03-19 - d264c72 - lavu 55.8.0 - pixfmt.h
+  Deprecate all AV_PIX_FMT_VAAPI_* formats.
+  Replaced by AV_PIX_FMT_VAAPI.
+
+2016-03-19 - b1f01e8 - lavu 55.7.0 - hwcontext.h
+  Add AVHWFramesConstraints and associated API.
+
+2016-02-23 - 9200514 - lavf 57.5.0 - avformat.h
+  Add AVStream.codecpar, deprecate AVStream.codec.
+
+2016-02-23 - lavc 57.14.0 - avcodec.h
+  998e1b8 - Add AVCodecParameters and its related API.
+  a806834 - Add av_get_audio_frame_duration2().
+
+2016-02-22 - ec4c483 - lavf 57.4.0 - avformat.h
+  Add AVFormatContext.protocol_whitelist and protocol_blacklist.
+  Add 'protocol_whitelist' and 'protocol_blacklist' private options for
+  avio_open2().
+
+2016-02-14 - 7b3214d0 - lavc 57.13.0 - avcodec.h
+  Add AVCodecContext.hw_frames_ctx.
+
+2016-02-14 - lavfi 6.2.0 - avfilter.h
+  b3dd30d avfilter.h - Add AVFilterLink.hw_frames_ctx.
+          buffersrc.h - Add AVBufferSrcParameters and functions for handling it.
+
+2016-02-14 - lavu 55.6.0
+  721a4ef buffer.h - Add av_buffer_pool_init2().
+  89923e4 hwcontext.h - Add a new installed header hwcontext.h with a new API
                         for handling hwaccel frames.
+  ad884d1 hwcontext_cuda.h - Add a new installed header hwcontext_cuda.h with
+                             CUDA-specific hwcontext definitions.
+  a001ce3 hwcontext_vdpau.h - Add a new installed header hwcontext_vdpau.h with
+                              VDPAU-specific hwcontext definitions.
+  7bc780c pixfmt.h - Add AV_PIX_FMT_CUDA.
 
-2016-xx-xx - xxxxxxx - lavf 57.3.0 - avformat.h
+2016-01-24 - 9f61abc - lavf 57.3.0 - avformat.h
   Add AVFormatContext.opaque, io_open and io_close, allowing custom IO
   for muxers and demuxers that open additional files.
 
-2015-xx-xx - xxxxxxx - lavc 57.12.0 - avcodec.h
+2015-12-12 - 2c68113 - lavc 57.12.0 - avcodec.h
   Add AVCodecDescriptor.profiles and avcodec_profile_name().
 
-2015-xx-xx - xxxxxxx - lavc 57.11.0 - avcodec.h dirac.h
-  xxxxxxx - Add av_packet_add_side_data().
-  xxxxxxx - Add AVCodecContext.coded_side_data.
-  xxxxxxx - Add AVCPBProperties API.
-  xxxxxxx - Add a new public header dirac.h containing
+2015-12-06 - lavc 57.11.0 - avcodec.h dirac.h
+  31c51f7 - Add av_packet_add_side_data().
+  84adab3 - Add AVCodecContext.coded_side_data.
+  f0b769c - Add AVCPBProperties API.
+  e02de9d - Add a new public header dirac.h containing
             av_dirac_parse_sequence_header()
 
-2015-xx-xx - xxxxxxx - lavc 57.9.1 - avcodec.h
+2015-11-20 - 462a54e - lavc 57.9.1 - avcodec.h
   Deprecate rtp_callback without replacement, i.e. it won't be possible to
   get image slices before the full frame is encoded any more. The libavformat
   rtpenc muxer can still be used for RFC-2190 packetization.
 
-2015-11-xx - xxxxxxx - lavc 57.9.0 - avcodec.h
+2015-11-18 - 79ae1e6 - lavc 57.9.0 - avcodec.h
   Add AV_PKT_DATA_FALLBACK_TRACK for making fallback associations between
   streams.
 
-2015-11-xx - xxxxxxx - lavf 57.1.0 - avformat.h
+2015-11-18 - 7f4ec43 - lavf 57.1.0 - avformat.h
   Add av_stream_new_side_data().
 
-2015-11-xx - xxxxxxx - lavu 55.3.0 - xtea.h
+2015-11-13 - 92d107a - lavu 55.3.0 - xtea.h
     Add av_xtea_le_init and av_xtea_le_crypt
 
-2015-11-xx - xxxxxxx - lavfi 6.1.0 - avfilter.h
+2015-11-09 - 48ff668 - lavfi 6.1.0 - avfilter.h
     Add a frame_rate field to AVFilterLink
 
-2015-xx-xx - xxxxxxx - lavc 57.6.0 - avcodec.h
-
-2015-xx-xx - lavc 57.7.0 - avcodec.h
-  xxxxxx - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
-           it resets the packet in a more consistent way.
-  xxxxxx - Deprecate av_dup_packet(), it is a no-op for most cases.
-           Use av_packet_ref() to make a non-refcounted AVPacket refcounted.
-  xxxxxx - Add av_packet_alloc(), av_packet_clone(), av_packet_free().
-           They match the AVFrame functions with the same name.
+2015-10-26 - lavc 57.7.0 - avcodec.h
+  ce70f28 - Deprecate av_free_packet(). Use av_packet_unref() as replacement,
+            it resets the packet in a more consistent way.
+  9b56d5c - Deprecate av_dup_packet(), it is a no-op for most cases.
+            Use av_packet_ref() to make a non-refcounted AVPacket refcounted.
+  a9a6010 - Add av_packet_alloc(), av_packet_clone(), av_packet_free().
+            They match the AVFrame functions with the same name.
 
-2015-xx-xx - xxxxxxx - lavc 57.5.0 - avcodec.h
+2015-10-21 - a17a766 - lavc 57.5.0 - avcodec.h
   Add data and linesize array to AVSubtitleRect, to be used instead of
   the ones from the embedded AVPicture.
 
-2015-xx-xx - xxxxxxx - lavc 57.0.0 - qsv.h
+2015-10-16 - dc923bc - lavc 57.0.0 - qsv.h
   Add an API for allocating opaque surfaces.
 
-2015-xx-xx - xxxxxxx - lavu 55.2.0 - dict.h
+2015-10-12 - 11c5f43 - lavu 55.2.0 - dict.h
   Change return type of av_dict_copy() from void to int, so that a proper
   error code can be reported.
 
@@ -454,7 +593,7 @@ API changes, most recent first:
 
 2013-08-05 - f824535 - lavc 55.13.0 - avcodec.h
   Deprecate the bitstream-related members from struct AVVDPAUContext.
-  The bistream buffers no longer need to be explicitly freed.
+  The bitstream buffers no longer need to be explicitly freed.
 
 2013-08-05 - 549294f - lavc 55.12.0 - avcodec.h
   Deprecate the CODEC_CAP_HWACCEL_VDPAU codec capability. Use CODEC_CAP_HWACCEL
@@ -544,7 +683,7 @@ lavd 54.0.0, lavfi 3.5.0
                 * base -- is now stored in AVBufferRef
                 * reference, type, buffer_hints -- are unnecessary in the new API
                 * hwaccel_picture_private, owner, thread_opaque -- should not
-                  have been acessed from outside of lavc
+                  have been accessed from outside of lavc
                 * qscale_table, qstride, qscale_type, mbskip_table, motion_val,
                   mb_type, dct_coeff, ref_index -- mpegvideo-specific tables,
                   which are not exported anymore.