APIchanges 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313
  1. Never assume the API of libav* to be stable unless at least 1 month has passed
  2. since the last major version increase.
  3. The last version increases were:
  4. libavcodec: 2012-01-27
  5. libavdevice: 2011-04-18
  6. libavfilter: 2011-04-18
  7. libavformat: 2012-01-27
  8. libavresample: 2012-04-24
  9. libpostproc: 2011-04-18
  10. libswresample: 2011-09-19
  11. libswscale: 2011-06-20
  12. libavutil: 2011-04-18
  13. API changes, most recent first:
  14. 2012-04-11 - xxxxxxx - lavu 51.58.100 - error.h
  15. Add av_make_error_string() and av_err2str() utilities to
  16. libavutil/error.h.
  17. 2012-06-05 - xxxxxxx - lavc 54.24.100
  18. Add pkt_duration field to AVFrame.
  19. 2012-05-24 - xxxxxxx - lavu 51.54.100
  20. Move AVPALETTE_SIZE and AVPALETTE_COUNT macros from
  21. libavcodec/avcodec.h to libavutil/pixfmt.h.
  22. 2012-05-07 - xxxxxxx - lavf 54.5.100
  23. Add av_guess_sample_aspect_ratio() function.
  24. 2012-04-20 - xxxxxxx - lavfi 2.70.100
  25. Add avfilter_unref_bufferp() to avfilter.h.
  26. 2012-04-12 - xxxxxxx - lavfi 2.68.100
  27. Install libavfilter/asrc_abuffer.h public header.
  28. 2012-03-26 - a67d9cf - lavfi 2.66.100
  29. Add avfilter_fill_frame_from_{audio_,}buffer_ref() functions.
  30. 2012-xx-xx - xxxxxxx - lavfi 2.23.0 - avfilter.h
  31. Add AVFilterContext.nb_inputs/outputs. Deprecate
  32. AVFilterContext.input/output_count.
  33. 2012-xx-xx - xxxxxxx - lavfi 2.22.0 - avfilter.h
  34. Add avfilter_pad_get_type() and avfilter_pad_get_name(). Those
  35. should now be used instead of accessing AVFilterPad members
  36. directly.
  37. 2012-xx-xx - xxxxxxx - lavu 51.32.0 - audioconvert.h
  38. Add av_get_channel_layout_channel_index(), av_get_channel_name()
  39. and av_channel_layout_extract_channel().
  40. 2012-05-25 - e0e0793 - lavu 51.31.0 - opt.h
  41. Add av_opt_set_bin()
  42. 2012-05-15 - lavfi 2.17.0
  43. Add support for audio filters
  44. ac71230/a2cd9be - add video/audio buffer sink in a new installed
  45. header buffersink.h
  46. 720c6b7 - add av_buffersrc_write_frame(), deprecate
  47. av_vsrc_buffer_add_frame()
  48. ab16504 - add avfilter_copy_buf_props()
  49. 9453c9e - add extended_data to AVFilterBuffer
  50. 1b8c927 - add avfilter_get_audio_buffer_ref_from_arrays()
  51. 2012-05-09 - lavu 51.30.0 - samplefmt.h
  52. 142e740 - add av_samples_copy()
  53. 6d7f617 - add av_samples_set_silence()
  54. 2012-05-09 - a5117a2 - lavc 54.13.1
  55. For audio formats with fixed frame size, the last frame
  56. no longer needs to be padded with silence, libavcodec
  57. will handle this internally (effectively all encoders
  58. behave as if they had CODEC_CAP_SMALL_LAST_FRAME set).
  59. 2012-05-07 - 828bd08 - lavc 54.13.0 - avcodec.h
  60. Add sample_rate and channel_layout fields to AVFrame.
  61. 2012-05-01 - 4010d72 - lavr 0.0.1
  62. Change AV_MIX_COEFF_TYPE_Q6 to AV_MIX_COEFF_TYPE_Q8.
  63. 2012-04-25 - 3527a73 - lavu 51.29.0 - cpu.h
  64. Add av_parse_cpu_flags()
  65. 2012-04-24 - c8af852 - lavr 0.0.0
  66. Add libavresample audio conversion library
  67. 2012-04-20 - 0c0d1bc - lavu 51.28.0 - audio_fifo.h
  68. Add audio FIFO functions:
  69. av_audio_fifo_free()
  70. av_audio_fifo_alloc()
  71. av_audio_fifo_realloc()
  72. av_audio_fifo_write()
  73. av_audio_fifo_read()
  74. av_audio_fifo_drain()
  75. av_audio_fifo_reset()
  76. av_audio_fifo_size()
  77. av_audio_fifo_space()
  78. 2012-04-14 - lavfi 2.16.0 - avfiltergraph.h
  79. d7bcc71 Add avfilter_graph_parse2().
  80. 2012-04-08 - 4d693b0 - lavu 51.27.0 - samplefmt.h
  81. Add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()
  82. 2012-03-21 - b75c67d - lavu 51.43.100
  83. Add bprint.h for bprint API.
  84. 2012-02-21 - 9cbf17e - lavc 54.4.100
  85. Add av_get_pcm_codec() function.
  86. 2012-02-16 - 560b224 - libswr 0.7.100
  87. Add swr_set_matrix() function.
  88. 2012-02-09 - c28e7af - lavu 51.39.100
  89. Add a new installed header libavutil/timestamp.h with timestamp
  90. utilities.
  91. 2012-02-06 - 70ffda3 - lavu 51.38.100
  92. Add av_parse_ratio() function to parseutils.h.
  93. 2012-02-06 - 70ffda3 - lavu 51.38.100
  94. Add AV_LOG_MAX_OFFSET macro to log.h.
  95. 2012-02-02 - 0eaa123 - lavu 51.37.100
  96. Add public timecode helpers.
  97. 2012-01-24 - 0c3577b - lavfi 2.60.100
  98. Add avfilter_graph_dump.
  99. 2012-03-05 - lavc 54.8.0
  100. 6699d07 Add av_get_exact_bits_per_sample()
  101. 9524cf7 Add av_get_audio_frame_duration()
  102. 2012-03-04 - 44fe77b - lavc 54.7.0 - avcodec.h
  103. Add av_codec_is_encoder/decoder().
  104. 2012-03-01 - 442c132 - lavc 54.3.0 - avcodec.h
  105. Add av_packet_shrink_side_data.
  106. 2012-02-29 - dd2a4bc - lavf 54.2.0 - avformat.h
  107. Add AVStream.attached_pic and AV_DISPOSITION_ATTACHED_PIC,
  108. used for dealing with attached pictures/cover art.
  109. 2012-02-25 - c9bca80 - lavu 51.24.0 - error.h
  110. Add AVERROR_UNKNOWN
  111. NOTE: this was backported to 0.8
  112. 2012-02-20 - e9cda85 - lavc 54.2.0
  113. Add duration field to AVCodecParserContext
  114. 2012-02-20 - 0b42a93 - lavu 51.23.1 - mathematics.h
  115. Add av_rescale_q_rnd()
  116. 2012-02-08 - 38d5533 - lavu 51.22.1 - pixdesc.h
  117. Add PIX_FMT_PSEUDOPAL flag.
  118. 2012-02-08 - 52f82a1 - lavc 54.01.0
  119. Add avcodec_encode_video2() and deprecate avcodec_encode_video().
  120. 2012-02-01 - 316fc74 - lavc 54.01.0
  121. Add av_fast_padded_malloc() as alternative for av_realloc() when aligned
  122. memory is required. The buffer will always have FF_INPUT_BUFFER_PADDING_SIZE
  123. zero-padded bytes at the end.
  124. 2012-01-31 - dd6d3b0 - lavf 54.01.0
  125. Add avformat_get_riff_video_tags() and avformat_get_riff_audio_tags().
  126. NOTE: this was backported to 0.8
  127. 2012-01-31 - af08d9a - lavc 54.01.0
  128. Add avcodec_is_open() function.
  129. NOTE: this was backported to 0.8
  130. 2012-01-30 - 8b93312 - lavu 51.22.0 - intfloat.h
  131. Add a new installed header libavutil/intfloat.h with int/float punning
  132. functions.
  133. NOTE: this was backported to 0.8
  134. 2012-01-25 - lavf 53.22.0
  135. f1caf01 Allow doing av_write_frame(ctx, NULL) for flushing possible
  136. buffered data within a muxer. Added AVFMT_ALLOW_FLUSH for
  137. muxers supporting it (av_write_frame makes sure it is called
  138. only for muxers with this flag).
  139. 2012-01-15 - lavc 53.34.0
  140. New audio encoding API:
  141. b2c75b6 Add CODEC_CAP_VARIABLE_FRAME_SIZE capability for use by audio
  142. encoders.
  143. 5ee5fa0 Add avcodec_fill_audio_frame() as a convenience function.
  144. b2c75b6 Add avcodec_encode_audio2() and deprecate avcodec_encode_audio().
  145. Add AVCodec.encode2().
  146. 2012-01-12 - 3167dc9 - lavfi 2.15.0
  147. Add a new installed header -- libavfilter/version.h -- with version macros.
  148. 2011-12-08 - a502939 - lavfi 2.52.0
  149. Add av_buffersink_poll_frame() to buffersink.h.
  150. 2011-12-08 - 26c6fec - lavu 51.31.0
  151. Add av_log_format_line.
  152. 2011-12-03 - 976b095 - lavu 51.30.0
  153. Add AVERROR_BUG.
  154. 2011-11-24 - 573ffbb - lavu 51.28.1
  155. Add av_get_alt_sample_fmt() to samplefmt.h.
  156. 2011-11-03 - 96949da - lavu 51.23.0
  157. Add av_strcasecmp() and av_strncasecmp() to avstring.h.
  158. 2011-10-20 - b35e9e1 - lavu 51.22.0
  159. Add av_strtok() to avstring.h.
  160. 2011-01-03 - b73ec05 - lavu 51.21.0
  161. Add av_popcount64
  162. 2011-12-18 - 8400b12 - lavc 53.28.1
  163. Deprecate AVFrame.age. The field is unused.
  164. 2011-12-12 - 5266045 - lavf 53.17.0
  165. Add avformat_close_input().
  166. Deprecate av_close_input_file() and av_close_input_stream().
  167. 2011-12-02 - 0eea212 - lavc 53.25.0
  168. Add nb_samples and extended_data fields to AVFrame.
  169. Deprecate AVCODEC_MAX_AUDIO_FRAME_SIZE.
  170. Deprecate avcodec_decode_audio3() in favor of avcodec_decode_audio4().
  171. avcodec_decode_audio4() writes output samples to an AVFrame, which allows
  172. audio decoders to use get_buffer().
  173. 2011-12-04 - 560f773 - lavc 53.24.0
  174. Change AVFrame.data[4]/base[4]/linesize[4]/error[4] to [8] at next major bump.
  175. Change AVPicture.data[4]/linesize[4] to [8] at next major bump.
  176. Change AVCodecContext.error[4] to [8] at next major bump.
  177. Add AV_NUM_DATA_POINTERS to simplify the bump transition.
  178. 2011-11-23 - bbb46f3 - lavu 51.18.0
  179. Add av_samples_get_buffer_size(), av_samples_fill_arrays(), and
  180. av_samples_alloc(), to samplefmt.h.
  181. 2011-11-23 - 8889cc4 - lavu 51.17.0
  182. Add planar sample formats and av_sample_fmt_is_planar() to samplefmt.h.
  183. 2011-11-19 - f3a29b7 - lavc 53.21.0
  184. Move some AVCodecContext fields to a new private struct, AVCodecInternal,
  185. which is accessed from a new field, AVCodecContext.internal.
  186. - fields moved:
  187. AVCodecContext.internal_buffer --> AVCodecInternal.buffer
  188. AVCodecContext.internal_buffer_count --> AVCodecInternal.buffer_count
  189. AVCodecContext.is_copy --> AVCodecInternal.is_copy
  190. 2011-11-16 - 6270671 - lavu 51.16.0
  191. Add av_timegm()
  192. 2011-11-13 - lavf 53.15.0
  193. New interrupt callback API, allowing per-AVFormatContext/AVIOContext
  194. interrupt callbacks.
  195. 6aa0b98 Add AVIOInterruptCB struct and the interrupt_callback field to
  196. AVFormatContext.
  197. 1dee0ac Add avio_open2() with additional parameters. Those are
  198. an interrupt callback and an options AVDictionary.
  199. This will allow passing AVOptions to protocols after lavf
  200. 54.0.
  201. 2011-11-06 - ba04ecf - lavu 51.14.0
  202. Add av_strcasecmp() and av_strncasecmp() to avstring.h.
  203. 2011-11-06 - 07b172f - lavu 51.13.0
  204. Add av_toupper()/av_tolower()
  205. 2011-11-05 - b6d08f4 - lavf 53.13.0
  206. Add avformat_network_init()/avformat_network_deinit()
  207. 2011-10-27 - 512557b - lavc 53.15.0
  208. Remove avcodec_parse_frame.
  209. Deprecate AVCodecContext.parse_only and CODEC_CAP_PARSE_ONLY.
  210. 2011-10-19 - 569129a - lavf 53.10.0
  211. Add avformat_new_stream(). Deprecate av_new_stream().
  212. 2011-10-13 - b631fba - lavf 53.9.0
  213. Add AVFMT_NO_BYTE_SEEK AVInputFormat flag.
  214. 2011-10-12 - lavu 51.12.0
  215. AVOptions API rewrite.
  216. - 145f741 FF_OPT_TYPE* renamed to AV_OPT_TYPE_*
  217. - new setting/getting functions with slightly different semantics:
  218. dac66da av_set_string3 -> av_opt_set
  219. av_set_double -> av_opt_set_double
  220. av_set_q -> av_opt_set_q
  221. av_set_int -> av_opt_set_int
  222. 41d9d51 av_get_string -> av_opt_get
  223. av_get_double -> av_opt_get_double
  224. av_get_q -> av_opt_get_q
  225. av_get_int -> av_opt_get_int
  226. - 8c5dcaa trivial rename av_next_option -> av_opt_next
  227. - 641c7af new functions - av_opt_child_next, av_opt_child_class_next
  228. and av_opt_find2()
  229. 2011-09-22 - a70e787 - lavu 51.17.0
  230. Add av_x_if_null().
  231. 2011-09-18 - 645cebb - lavc 53.16.0
  232. Add showall flag2
  233. 2011-09-16 - ea8de10 - lavfi 2.42.0
  234. Add avfilter_all_channel_layouts.
  235. 2011-09-16 - 9899037 - lavfi 2.41.0
  236. Rename avfilter_all_* function names to avfilter_make_all_*.
  237. In particular, apply the renames:
  238. avfilter_all_formats -> avfilter_make_all_formats
  239. avfilter_all_channel_layouts -> avfilter_make_all_channel_layouts
  240. avfilter_all_packing_formats -> avfilter_make_all_packing_formats
  241. 2011-09-12 - 4381bdd - lavfi 2.40.0
  242. Change AVFilterBufferRefAudioProps.sample_rate type from uint32_t to int.
  243. 2011-09-12 - 2c03174 - lavfi 2.40.0
  244. Simplify signature for avfilter_get_audio_buffer(), make it
  245. consistent with avfilter_get_video_buffer().
  246. 2011-09-06 - 4f7dfe1 - lavfi 2.39.0
  247. Rename libavfilter/vsink_buffer.h to libavfilter/buffersink.h.
  248. 2011-09-06 - c4415f6 - lavfi 2.38.0
  249. Unify video and audio sink API.
  250. In particular, add av_buffersink_get_buffer_ref(), deprecate
  251. av_vsink_buffer_get_video_buffer_ref() and change the value for the
  252. opaque field passed to the abuffersink init function.
  253. 2011-09-04 - 61e2e29 - lavu 51.16.0
  254. Add av_asprintf().
  255. 2011-08-22 - dacd827 - lavf 53.10.0
  256. Add av_find_program_from_stream().
  257. 2011-08-20 - 69e2c1a - lavu 51.13.0
  258. Add av_get_media_type_string().
  259. 2011-09-03 - fb4ca26 - lavc 53.13.0
  260. lavf 53.11.0
  261. lsws 2.1.0
  262. Add {avcodec,avformat,sws}_get_class().
  263. 2011-08-03 - c11fb82 - lavu 51.15.0
  264. Add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find() function.
  265. 2011-08-14 - 323b930 - lavu 51.12.0
  266. Add av_fifo_peek2(), deprecate av_fifo_peek().
  267. 2011-08-26 - lavu 51.9.0
  268. - add41de..abc78a5 Do not include intfloat_readwrite.h,
  269. mathematics.h, rational.h, pixfmt.h, or log.h from avutil.h.
  270. 2011-08-16 - 48f9e45 - lavf 53.8.0
  271. Add avformat_query_codec().
  272. 2011-08-16 - bca06e7 - lavc 53.11.0
  273. Add avcodec_get_type().
  274. 2011-08-06 - 2f63440 - lavf 53.7.0
  275. Add error_recognition to AVFormatContext.
  276. 2011-08-02 - 9d39cbf - lavc 53.9.1
  277. Add AV_PKT_FLAG_CORRUPT AVPacket flag.
  278. 2011-07-16 - b57df29 - lavfi 2.27.0
  279. Add audio packing negotiation fields and helper functions.
  280. In particular, add AVFilterPacking enum, planar, in_packings and
  281. out_packings fields to AVFilterLink, and the functions:
  282. avfilter_set_common_packing_formats()
  283. avfilter_all_packing_formats()
  284. 2011-07-10 - a67c061 - lavf 53.6.0
  285. Add avformat_find_stream_info(), deprecate av_find_stream_info().
  286. NOTE: this was backported to 0.7
  287. 2011-07-10 - 0b950fe - lavc 53.8.0
  288. Add avcodec_open2(), deprecate avcodec_open().
  289. NOTE: this was backported to 0.7
  290. Add avcodec_alloc_context3. Deprecate avcodec_alloc_context() and
  291. avcodec_alloc_context2().
  292. 2011-07-01 - b442ca6 - lavf 53.5.0 - avformat.h
  293. Add function av_get_output_timestamp().
  294. 2011-06-28 - 5129336 - lavu 51.11.0 - avutil.h
  295. Define the AV_PICTURE_TYPE_NONE value in AVPictureType enum.
  296. 2011-06-19 - fd2c0a5 - lavfi 2.23.0 - avfilter.h
  297. Add layout negotiation fields and helper functions.
  298. In particular, add in_chlayouts and out_chlayouts to AVFilterLink,
  299. and the functions:
  300. avfilter_set_common_sample_formats()
  301. avfilter_set_common_channel_layouts()
  302. avfilter_all_channel_layouts()
  303. 2011-06-19 - 527ca39 - lavfi 2.22.0 - AVFilterFormats
  304. Change type of AVFilterFormats.formats from int * to int64_t *,
  305. and update formats handling API accordingly.
  306. avfilter_make_format_list() still takes a int32_t array and converts
  307. it to int64_t. A new function, avfilter_make_format64_list(), that
  308. takes int64_t arrays has been added.
  309. 2011-06-19 - 44f669e - lavfi 2.21.0 - vsink_buffer.h
  310. Add video sink buffer and vsink_buffer.h public header.
  311. 2011-06-12 - 9fdf772 - lavfi 2.18.0 - avcodec.h
  312. Add avfilter_get_video_buffer_ref_from_frame() function in
  313. libavfilter/avcodec.h.
  314. 2011-06-12 - c535494 - lavfi 2.17.0 - avfiltergraph.h
  315. Add avfilter_inout_alloc() and avfilter_inout_free() functions.
  316. 2011-06-12 - 6119b23 - lavfi 2.16.0 - avfilter_graph_parse()
  317. Change avfilter_graph_parse() signature.
  318. 2011-06-23 - 67e9ae1 - lavu 51.8.0 - attributes.h
  319. Add av_printf_format().
  320. 2011-06-16 - 05e84c9, 25de595 - lavf 53.2.0 - avformat.h
  321. Add avformat_open_input and avformat_write_header().
  322. Deprecate av_open_input_stream, av_open_input_file,
  323. AVFormatParameters and av_write_header.
  324. 2011-06-16 - 7e83e1c, dc59ec5 - lavu 51.7.0 - opt.h
  325. Add av_opt_set_dict() and av_opt_find().
  326. Deprecate av_find_opt().
  327. Add AV_DICT_APPEND flag.
  328. 2011-06-10 - cb7c11c - lavu 51.6.0 - opt.h
  329. Add av_opt_flag_is_set().
  330. 2011-06-10 - c381960 - lavfi 2.15.0 - avfilter_get_audio_buffer_ref_from_arrays
  331. Add avfilter_get_audio_buffer_ref_from_arrays() to avfilter.h.
  332. 2011-06-09 - d9f80ea - lavu 51.8.0 - AVMetadata
  333. Move AVMetadata from lavf to lavu and rename it to
  334. AVDictionary -- new installed header dict.h.
  335. All av_metadata_* functions renamed to av_dict_*.
  336. 2011-06-07 - a6703fa - lavu 51.8.0 - av_get_bytes_per_sample()
  337. Add av_get_bytes_per_sample() in libavutil/samplefmt.h.
  338. Deprecate av_get_bits_per_sample_fmt().
  339. 2011-06-05 - b39b062 - lavu 51.8.0 - opt.h
  340. Add av_opt_free convenience function.
  341. 2011-06-06 - 95a0242 - lavfi 2.14.0 - AVFilterBufferRefAudioProps
  342. Remove AVFilterBufferRefAudioProps.size, and use nb_samples in
  343. avfilter_get_audio_buffer() and avfilter_default_get_audio_buffer() in
  344. place of size.
  345. 2011-06-06 - 0bc2cca - lavu 51.6.0 - av_samples_alloc()
  346. Switch nb_channels and nb_samples parameters order in
  347. av_samples_alloc().
  348. 2011-06-06 - e1c7414 - lavu 51.5.0 - av_samples_*
  349. Change the data layout created by av_samples_fill_arrays() and
  350. av_samples_alloc().
  351. 2011-06-06 - 27bcf55 - lavfi 2.13.0 - vsrc_buffer.h
  352. Make av_vsrc_buffer_add_video_buffer_ref() accepts an additional
  353. flags parameter in input.
  354. 2011-06-03 - e977ca2 - lavfi 2.12.0 - avfilter_link_free()
  355. Add avfilter_link_free() function.
  356. 2011-06-02 - 5ad38d9 - lavu 51.4.0 - av_force_cpu_flags()
  357. Add av_cpu_flags() in libavutil/cpu.h.
  358. 2011-05-28 - e71f260 - lavu 51.3.0 - pixdesc.h
  359. Add av_get_pix_fmt_name() in libavutil/pixdesc.h, and deprecate
  360. avcodec_get_pix_fmt_name() in libavcodec/avcodec.h in its favor.
  361. 2011-05-25 - 30315a8 - lavf 53.3.0 - avformat.h
  362. Add fps_probe_size to AVFormatContext.
  363. 2011-05-22 - 5ecdfd0 - lavf 53.2.0 - avformat.h
  364. Introduce avformat_alloc_output_context2() and deprecate
  365. avformat_alloc_output_context().
  366. 2011-05-22 - 83db719 - lavfi 2.10.0 - vsrc_buffer.h
  367. Make libavfilter/vsrc_buffer.h public.
  368. 2011-05-19 - c000a9f - lavfi 2.8.0 - avcodec.h
  369. Add av_vsrc_buffer_add_frame() to libavfilter/avcodec.h.
  370. 2011-05-14 - 9fdf772 - lavfi 2.6.0 - avcodec.h
  371. Add avfilter_get_video_buffer_ref_from_frame() to libavfilter/avcodec.h.
  372. 2011-05-18 - 64150ff - lavc 53.7.0 - AVCodecContext.request_sample_fmt
  373. Add request_sample_fmt field to AVCodecContext.
  374. 2011-05-10 - 188dea1 - lavc 53.6.0 - avcodec.h
  375. Deprecate AVLPCType and the following fields in
  376. AVCodecContext: lpc_coeff_precision, prediction_order_method,
  377. min_partition_order, max_partition_order, lpc_type, lpc_passes.
  378. Corresponding FLAC encoder options should be used instead.
  379. 2011-05-07 - 9fdf772 - lavfi 2.5.0 - avcodec.h
  380. Add libavfilter/avcodec.h header and avfilter_copy_frame_props()
  381. function.
  382. 2011-05-07 - 18ded93 - lavc 53.5.0 - AVFrame
  383. Add format field to AVFrame.
  384. 2011-05-07 - 22333a6 - lavc 53.4.0 - AVFrame
  385. Add width and height fields to AVFrame.
  386. 2011-05-01 - 35fe66a - lavfi 2.4.0 - avfilter.h
  387. Rename AVFilterBufferRefVideoProps.pixel_aspect to
  388. sample_aspect_ratio.
  389. 2011-05-01 - 77e9dee - lavc 53.3.0 - AVFrame
  390. Add a sample_aspect_ratio field to AVFrame.
  391. 2011-05-01 - 1ba5727 - lavc 53.2.0 - AVFrame
  392. Add a pkt_pos field to AVFrame.
  393. 2011-04-29 - 35ceaa7 - lavu 51.2.0 - mem.h
  394. Add av_dynarray_add function for adding
  395. an element to a dynamic array.
  396. 2011-04-26 - bebe72f - lavu 51.1.0 - avutil.h
  397. Add AVPictureType enum and av_get_picture_type_char(), deprecate
  398. FF_*_TYPE defines and av_get_pict_type_char() defined in
  399. libavcodec/avcodec.h.
  400. 2011-04-26 - 10d3940 - lavfi 2.3.0 - avfilter.h
  401. Add pict_type and key_frame fields to AVFilterBufferRefVideo.
  402. 2011-04-26 - 7a11c82 - lavfi 2.2.0 - vsrc_buffer
  403. Add sample_aspect_ratio fields to vsrc_buffer arguments
  404. 2011-04-21 - 94f7451 - lavc 53.1.0 - avcodec.h
  405. Add CODEC_CAP_SLICE_THREADS for codecs supporting sliced threading.
  406. 2011-04-15 - lavc 52.120.0 - avcodec.h
  407. AVPacket structure got additional members for passing side information:
  408. 4de339e introduce side information for AVPacket
  409. 2d8591c make containers pass palette change in AVPacket
  410. 2011-04-12 - lavf 52.107.0 - avio.h
  411. Avio cleanup, part II - deprecate the entire URLContext API:
  412. 175389c add avio_check as a replacement for url_exist
  413. ff1ec0c add avio_pause and avio_seek_time as replacements
  414. for _av_url_read_fseek/fpause
  415. cdc6a87 deprecate av_protocol_next(), avio_enum_protocols
  416. should be used instead.
  417. 80c6e23 rename url_set_interrupt_cb->avio_set_interrupt_cb.
  418. f87b1b3 rename open flags: URL_* -> AVIO_*
  419. f8270bb add avio_enum_protocols.
  420. 5593f03 deprecate URLProtocol.
  421. c486dad deprecate URLContext.
  422. 026e175 deprecate the typedef for URLInterruptCB
  423. 8e76a19 deprecate av_register_protocol2.
  424. b840484 deprecate URL_PROTOCOL_FLAG_NESTED_SCHEME
  425. 1305d93 deprecate av_url_read_seek
  426. fa104e1 deprecate av_url_read_pause
  427. 727c7aa deprecate url_get_filename().
  428. 5958df3 deprecate url_max_packet_size().
  429. 1869ea0 deprecate url_get_file_handle().
  430. 32a97d4 deprecate url_filesize().
  431. e52a914 deprecate url_close().
  432. 58a48c6 deprecate url_seek().
  433. 925e908 deprecate url_write().
  434. dce3756 deprecate url_read_complete().
  435. bc371ac deprecate url_read().
  436. 0589da0 deprecate url_open().
  437. 62eaaea deprecate url_connect.
  438. 5652bb9 deprecate url_alloc.
  439. 333e894 deprecate url_open_protocol
  440. e230705 deprecate url_poll and URLPollEntry
  441. 2011-04-08 - lavf 52.106.0 - avformat.h
  442. Minor avformat.h cleanup:
  443. a9bf9d8 deprecate av_guess_image2_codec
  444. c3675df rename avf_sdp_create->av_sdp_create
  445. 2011-04-03 - lavf 52.105.0 - avio.h
  446. Large-scale renaming/deprecating of AVIOContext-related functions:
  447. 724f6a0 deprecate url_fdopen
  448. 403ee83 deprecate url_open_dyn_packet_buf
  449. 6dc7d80 rename url_close_dyn_buf -> avio_close_dyn_buf
  450. b92c545 rename url_open_dyn_buf -> avio_open_dyn_buf
  451. 8978fed introduce an AVIOContext.seekable field as a replacement for
  452. AVIOContext.is_streamed and url_is_streamed()
  453. b64030f deprecate get_checksum()
  454. 4c4427a deprecate init_checksum()
  455. 4ec153b deprecate udp_set_remote_url/get_local_port
  456. 933e90a deprecate av_url_read_fseek/fpause
  457. 8d9769a deprecate url_fileno
  458. b7f2fdd rename put_flush_packet -> avio_flush
  459. 35f1023 deprecate url_close_buf
  460. 83fddae deprecate url_open_buf
  461. d9d86e0 rename url_fprintf -> avio_printf
  462. 59f65d9 deprecate url_setbufsize
  463. 3e68b3b deprecate url_ferror
  464. e8bb2e2 deprecate url_fget_max_packet_size
  465. 76aa876 rename url_fsize -> avio_size
  466. e519753 deprecate url_fgetc
  467. 655e45e deprecate url_fgets
  468. a2704c9 rename url_ftell -> avio_tell
  469. e16ead0 deprecate get_strz() in favor of avio_get_str
  470. 0300db8,2af07d3 rename url_fskip -> avio_skip
  471. 6b4aa5d rename url_fseek -> avio_seek
  472. 61840b4 deprecate put_tag
  473. 22a3212 rename url_fopen/fclose -> avio_open/close.
  474. 0ac8e2b deprecate put_nbyte
  475. 77eb550 rename put_byte -> avio_w8
  476. put_[b/l]e<type> -> avio_w[b/l]<type>
  477. put_buffer -> avio_write
  478. b7effd4 rename get_byte -> avio_r8,
  479. get_[b/l]e<type> -> avio_r[b/l]<type>
  480. get_buffer -> avio_read
  481. b3db9ce deprecate get_partial_buffer
  482. 8d9ac96 rename av_alloc_put_byte -> avio_alloc_context
  483. 2011-03-25 - 34b47d7 - lavc 52.115.0 - AVCodecContext.audio_service_type
  484. Add audio_service_type field to AVCodecContext.
  485. 2011-03-17 - e309fdc - lavu 50.40.0 - pixfmt.h
  486. Add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats
  487. 2011-03-02 - 863c471 - lavf 52.103.0 - av_pkt_dump2, av_pkt_dump_log2
  488. Add new functions av_pkt_dump2, av_pkt_dump_log2 that uses the
  489. source stream timebase for outputting timestamps. Deprecate
  490. av_pkt_dump and av_pkt_dump_log.
  491. 2011-02-20 - e731b8d - lavf 52.102.0 - avio.h
  492. * e731b8d - rename init_put_byte() to ffio_init_context(), deprecating the
  493. original, and move it to a private header so it is no longer
  494. part of our public API. Instead, use av_alloc_put_byte().
  495. * ae628ec - rename ByteIOContext to AVIOContext.
  496. 2011-02-16 - 09d171b - lavf 52.101.0 - avformat.h
  497. lavu 52.39.0 - parseutils.h
  498. * 610219a - Add av_ prefix to dump_format().
  499. * f6c7375 - Replace parse_date() in lavf with av_parse_time() in lavu.
  500. * ab0287f - Move find_info_tag from lavf to lavu and add av_prefix to it.
  501. 2011-02-15 - lavu 52.38.0 - merge libavcore
  502. libavcore is merged back completely into libavutil
  503. 2011-02-10 - 55bad0c - lavc 52.113.0 - vbv_delay
  504. Add vbv_delay field to AVCodecContext
  505. 2011-02-14 - 24a83bd - lavf 52.100.0 - AV_DISPOSITION_CLEAN_EFFECTS
  506. Add AV_DISPOSITION_CLEAN_EFFECTS disposition flag.
  507. 2011-02-14 - 910b5b8 - lavfi 1.76.0 - AVFilterLink sample_aspect_ratio
  508. Add sample_aspect_ratio field to AVFilterLink.
  509. 2011-02-10 - 12c14cd - lavf 52.99.0 - AVStream.disposition
  510. Add AV_DISPOSITION_HEARING_IMPAIRED and AV_DISPOSITION_VISUAL_IMPAIRED.
  511. 2011-02-09 - 5592734 - lavc 52.112.0 - avcodec_thread_init()
  512. Deprecate avcodec_thread_init()/avcodec_thread_free() use; instead
  513. set thread_count before calling avcodec_open.
  514. 2011-02-09 - 778b08a - lavc 52.111.0 - threading API
  515. Add CODEC_CAP_FRAME_THREADS with new restrictions on get_buffer()/
  516. release_buffer()/draw_horiz_band() callbacks for appropriate codecs.
  517. Add thread_type and active_thread_type fields to AVCodecContext.
  518. 2011-02-08 - 3940caa - lavf 52.98.0 - av_probe_input_buffer
  519. Add av_probe_input_buffer() to avformat.h for probing format from a
  520. ByteIOContext.
  521. 2011-02-06 - fe174fc - lavf 52.97.0 - avio.h
  522. Add flag for non-blocking protocols: URL_FLAG_NONBLOCK
  523. 2011-02-04 - f124b08 - lavf 52.96.0 - avformat_free_context()
  524. Add avformat_free_context() in avformat.h.
  525. 2011-02-03 - f5b82f4 - lavc 52.109.0 - add CODEC_ID_PRORES
  526. Add CODEC_ID_PRORES to avcodec.h.
  527. 2011-02-03 - fe9a3fb - lavc 52.109.0 - H.264 profile defines
  528. Add defines for H.264 * Constrained Baseline and Intra profiles
  529. 2011-02-02 - lavf 52.95.0
  530. * 50196a9 - add a new installed header version.h.
  531. * 4efd5cf, dccbd97, 93b78d1 - add several variants of public
  532. avio_{put,get}_str* functions. Deprecate corresponding semi-public
  533. {put,get}_str*.
  534. 2011-02-02 - dfd2a00 - lavu 50.37.0 - log.h
  535. Make av_dlog public.
  536. 2011-01-31 - 7b3ea55 - lavfi 1.76.0 - vsrc_buffer
  537. Add sample_aspect_ratio fields to vsrc_buffer arguments
  538. 2011-01-31 - 910b5b8 - lavfi 1.75.0 - AVFilterLink sample_aspect_ratio
  539. Add sample_aspect_ratio field to AVFilterLink.
  540. 2011-01-15 - a242ac3 - lavfi 1.74.0 - AVFilterBufferRefAudioProps
  541. Rename AVFilterBufferRefAudioProps.samples_nb to nb_samples.
  542. 2011-01-14 - 7f88a5b - lavf 52.93.0 - av_metadata_copy()
  543. Add av_metadata_copy() in avformat.h.
  544. 2011-01-07 - 81c623f - lavc 52.107.0 - deprecate reordered_opaque
  545. Deprecate reordered_opaque in favor of pkt_pts/dts.
  546. 2011-01-07 - 1919fea - lavc 52.106.0 - pkt_dts
  547. Add pkt_dts to AVFrame, this will in the future allow multithreading decoders
  548. to not mess up dts.
  549. 2011-01-07 - 393cbb9 - lavc 52.105.0 - pkt_pts
  550. Add pkt_pts to AVFrame.
  551. 2011-01-07 - 060ec0a - lavc 52.104.0 - av_get_profile_name()
  552. Add av_get_profile_name to libavcodec/avcodec.h.
  553. 2010-12-27 - 0ccabee - lavfi 1.71.0 - AV_PERM_NEG_LINESIZES
  554. Add AV_PERM_NEG_LINESIZES in avfilter.h.
  555. 2010-12-27 - 9128ae0 - lavf 52.91.0 - av_find_best_stream()
  556. Add av_find_best_stream to libavformat/avformat.h.
  557. 2010-12-27 - 107a7e3 - lavf 52.90.0
  558. Add AVFMT_NOSTREAMS flag for formats with no streams,
  559. like e.g. text metadata.
  560. 2010-12-22 - 0328b9e - lavu 50.36.0 - file.h
  561. Add functions av_file_map() and av_file_unmap() in file.h.
  562. 2010-12-19 - 0bc55f5 - lavu 50.35.0 - error.h
  563. Add "not found" error codes:
  564. AVERROR_DEMUXER_NOT_FOUND
  565. AVERROR_MUXER_NOT_FOUND
  566. AVERROR_DECODER_NOT_FOUND
  567. AVERROR_ENCODER_NOT_FOUND
  568. AVERROR_PROTOCOL_NOT_FOUND
  569. AVERROR_FILTER_NOT_FOUND
  570. AVERROR_BSF_NOT_FOUND
  571. AVERROR_STREAM_NOT_FOUND
  572. 2010-12-09 - c61cdd0 - lavcore 0.16.0 - avcore.h
  573. Move AV_NOPTS_VALUE, AV_TIME_BASE, AV_TIME_BASE_Q symbols from
  574. avcodec.h to avcore.h.
  575. 2010-12-04 - 16cfc96 - lavc 52.98.0 - CODEC_CAP_NEG_LINESIZES
  576. Add CODEC_CAP_NEG_LINESIZES codec capability flag in avcodec.h.
  577. 2010-12-04 - bb4afa1 - lavu 50.34.0 - av_get_pix_fmt_string()
  578. Deprecate avcodec_pix_fmt_string() in favor of
  579. pixdesc.h/av_get_pix_fmt_string().
  580. 2010-12-04 - 4da12e3 - lavcore 0.15.0 - av_image_alloc()
  581. Add av_image_alloc() to libavcore/imgutils.h.
  582. 2010-12-02 - 037be76 - lavfi 1.67.0 - avfilter_graph_create_filter()
  583. Add function avfilter_graph_create_filter() in avfiltergraph.h.
  584. 2010-11-25 - 4723bc2 - lavfi 1.65.0 - avfilter_get_video_buffer_ref_from_arrays()
  585. Add function avfilter_get_video_buffer_ref_from_arrays() in
  586. avfilter.h.
  587. 2010-11-21 - 176a615 - lavcore 0.14.0 - audioconvert.h
  588. Add a public audio channel API in audioconvert.h, and deprecate the
  589. corresponding functions in libavcodec:
  590. avcodec_get_channel_name()
  591. avcodec_get_channel_layout()
  592. avcodec_get_channel_layout_string()
  593. avcodec_channel_layout_num_channels()
  594. and the CH_* macros defined in libavcodec/avcodec.h.
  595. 2010-11-21 - 6bfc268 - lavf 52.85.0 - avformat.h
  596. Add av_append_packet().
  597. 2010-11-21 - a08d918 - lavc 52.97.0 - avcodec.h
  598. Add av_grow_packet().
  599. 2010-11-17 - 0985e1a - lavcore 0.13.0 - parseutils.h
  600. Add av_parse_color() declared in libavcore/parseutils.h.
  601. 2010-11-13 - cb2c971 - lavc 52.95.0 - AVCodecContext
  602. Add AVCodecContext.subtitle_header and AVCodecContext.subtitle_header_size
  603. fields.
  604. 2010-11-13 - 5aaea02 - lavfi 1.62.0 - avfiltergraph.h
  605. Make avfiltergraph.h public.
  606. 2010-11-13 - 4fcbb2a - lavfi 1.61.0 - avfiltergraph.h
  607. Remove declarations from avfiltergraph.h for the functions:
  608. avfilter_graph_check_validity()
  609. avfilter_graph_config_links()
  610. avfilter_graph_config_formats()
  611. which are now internal.
  612. Use avfilter_graph_config() instead.
  613. 2010-11-08 - d2af720 - lavu 50.33.0 - eval.h
  614. Deprecate functions:
  615. av_parse_and_eval_expr(),
  616. av_parse_expr(),
  617. av_eval_expr(),
  618. av_free_expr(),
  619. in favor of the functions:
  620. av_expr_parse_and_eval(),
  621. av_expr_parse(),
  622. av_expr_eval(),
  623. av_expr_free().
  624. 2010-11-08 - 24de0ed - lavfi 1.59.0 - avfilter_free()
  625. Rename avfilter_destroy() to avfilter_free().
  626. This change breaks libavfilter API/ABI.
  627. 2010-11-07 - 1e80a0e - lavfi 1.58.0 - avfiltergraph.h
  628. Remove graphparser.h header, move AVFilterInOut and
  629. avfilter_graph_parse() declarations to libavfilter/avfiltergraph.h.
  630. 2010-11-07 - 7313132 - lavfi 1.57.0 - AVFilterInOut
  631. Rename field AVFilterInOut.filter to AVFilterInOut.filter_ctx.
  632. This change breaks libavfilter API.
  633. 2010-11-04 - 97dd1e4 - lavfi 1.56.0 - avfilter_graph_free()
  634. Rename avfilter_graph_destroy() to avfilter_graph_free().
  635. This change breaks libavfilter API/ABI.
  636. 2010-11-04 - e15aeea - lavfi 1.55.0 - avfilter_graph_alloc()
  637. Add avfilter_graph_alloc() to libavfilter/avfiltergraph.h.
  638. 2010-11-02 - 6f84cd1 - lavcore 0.12.0 - av_get_bits_per_sample_fmt()
  639. Add av_get_bits_per_sample_fmt() to libavcore/samplefmt.h and
  640. deprecate av_get_bits_per_sample_format().
  641. 2010-11-02 - d63e456 - lavcore 0.11.0 - samplefmt.h
  642. Add sample format functions in libavcore/samplefmt.h:
  643. av_get_sample_fmt_name(),
  644. av_get_sample_fmt(),
  645. av_get_sample_fmt_string(),
  646. and deprecate the corresponding libavcodec/audioconvert.h functions:
  647. avcodec_get_sample_fmt_name(),
  648. avcodec_get_sample_fmt(),
  649. avcodec_sample_fmt_string().
  650. 2010-11-02 - 262d1c5 - lavcore 0.10.0 - samplefmt.h
  651. Define enum AVSampleFormat in libavcore/samplefmt.h, deprecate enum
  652. SampleFormat.
  653. 2010-10-16 - 2a24df9 - lavfi 1.52.0 - avfilter_graph_config()
  654. Add the function avfilter_graph_config() in avfiltergraph.h.
  655. 2010-10-15 - 03700d3 - lavf 52.83.0 - metadata API
  656. Change demuxers to export metadata in generic format and
  657. muxers to accept generic format. Deprecate the public
  658. conversion API.
  659. 2010-10-10 - 867ae7a - lavfi 1.49.0 - AVFilterLink.time_base
  660. Add time_base field to AVFilterLink.
  661. 2010-09-27 - c85eef4 - lavu 50.31.0 - av_set_options_string()
  662. Move av_set_options_string() from libavfilter/parseutils.h to
  663. libavutil/opt.h.
  664. 2010-09-27 - acc0490 - lavfi 1.47.0 - AVFilterLink
  665. Make the AVFilterLink fields srcpad and dstpad store the pointers to
  666. the source and destination pads, rather than their indexes.
  667. 2010-09-27 - 372e288 - lavu 50.30.0 - av_get_token()
  668. Move av_get_token() from libavfilter/parseutils.h to
  669. libavutil/avstring.h.
  670. 2010-09-26 - 635d4ae - lsws 0.12.0 - swscale.h
  671. Add the functions sws_alloc_context() and sws_init_context().
  672. 2010-09-26 - 6ed0404 - lavu 50.29.0 - opt.h
  673. Move libavcodec/opt.h to libavutil/opt.h.
  674. 2010-09-24 - 1c1c80f - lavu 50.28.0 - av_log_set_flags()
  675. Default of av_log() changed due to many problems to the old no repeat
  676. detection. Read the docs of AV_LOG_SKIP_REPEATED in log.h before
  677. enabling it for your app!.
  678. 2010-09-24 - f66eb58 - lavc 52.90.0 - av_opt_show2()
  679. Deprecate av_opt_show() in favor or av_opt_show2().
  680. 2010-09-14 - bc6f0af - lavu 50.27.0 - av_popcount()
  681. Add av_popcount() to libavutil/common.h.
  682. 2010-09-08 - c6c98d0 - lavu 50.26.0 - av_get_cpu_flags()
  683. Add av_get_cpu_flags().
  684. 2010-09-07 - 34017fd - lavcore 0.9.0 - av_image_copy()
  685. Add av_image_copy().
  686. 2010-09-07 - 9686abb - lavcore 0.8.0 - av_image_copy_plane()
  687. Add av_image_copy_plane().
  688. 2010-09-07 - 9b7269e - lavcore 0.7.0 - imgutils.h
  689. Adopt hierarchical scheme for the imgutils.h function names,
  690. deprecate the old names.
  691. 2010-09-04 - 7160bb7 - lavu 50.25.0 - AV_CPU_FLAG_*
  692. Deprecate the FF_MM_* flags defined in libavcodec/avcodec.h in favor
  693. of the AV_CPU_FLAG_* flags defined in libavutil/cpu.h.
  694. 2010-08-26 - 5da19b5 - lavc 52.87.0 - avcodec_get_channel_layout()
  695. Add avcodec_get_channel_layout() in audioconvert.h.
  696. 2010-08-20 - e344336 - lavcore 0.6.0 - av_fill_image_max_pixsteps()
  697. Rename av_fill_image_max_pixstep() to av_fill_image_max_pixsteps().
  698. 2010-08-18 - a6ddf8b - lavcore 0.5.0 - av_fill_image_max_pixstep()
  699. Add av_fill_image_max_pixstep() in imgutils.h.
  700. 2010-08-17 - 4f2d2e4 - lavu 50.24.0 - AV_NE()
  701. Add the AV_NE macro.
  702. 2010-08-17 - ad2c950 - lavfi 1.36.0 - audio framework
  703. Implement AVFilterBufferRefAudioProps struct for audio properties,
  704. get_audio_buffer(), filter_samples() functions and related changes.
  705. 2010-08-12 - 81c1eca - lavcore 0.4.0 - av_get_image_linesize()
  706. Add av_get_image_linesize() in imgutils.h.
  707. 2010-08-11 - c1db7bf - lavfi 1.34.0 - AVFilterBufferRef
  708. Resize data and linesize arrays in AVFilterBufferRef to 8.
  709. This change breaks libavfilter API/ABI.
  710. 2010-08-11 - 9f08d80 - lavc 52.85.0 - av_picture_data_copy()
  711. Add av_picture_data_copy in avcodec.h.
  712. 2010-08-11 - 84c0386 - lavfi 1.33.0 - avfilter_open()
  713. Change avfilter_open() signature:
  714. AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name) ->
  715. int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name);
  716. This change breaks libavfilter API/ABI.
  717. 2010-08-11 - cc80caf - lavfi 1.32.0 - AVFilterBufferRef
  718. Add a type field to AVFilterBufferRef, and move video specific
  719. properties to AVFilterBufferRefVideoProps.
  720. This change breaks libavfilter API/ABI.
  721. 2010-08-07 - 5d4890d - lavfi 1.31.0 - AVFilterLink
  722. Rename AVFilterLink fields:
  723. AVFilterLink.srcpic -> AVFilterLink.src_buf
  724. AVFilterLink.cur_pic -> AVFilterLink.cur_buf
  725. AVFilterLink.outpic -> AVFilterLink.out_buf
  726. 2010-08-07 - 7fce481 - lavfi 1.30.0
  727. Rename functions and fields:
  728. avfilter_(un)ref_pic -> avfilter_(un)ref_buffer
  729. avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props
  730. AVFilterBufferRef.pic -> AVFilterBufferRef.buffer
  731. 2010-08-07 - ecc8dad - lavfi 1.29.0 - AVFilterBufferRef
  732. Rename AVFilterPicRef to AVFilterBufferRef.
  733. 2010-08-07 - d54e094 - lavfi 1.28.0 - AVFilterBuffer
  734. Move format field from AVFilterBuffer to AVFilterPicRef.
  735. 2010-08-06 - bf176f5 - lavcore 0.3.0 - av_check_image_size()
  736. Deprecate avcodec_check_dimensions() in favor of the function
  737. av_check_image_size() defined in libavcore/imgutils.h.
  738. 2010-07-30 - 56b5e9d - lavfi 1.27.0 - AVFilterBuffer
  739. Increase size of the arrays AVFilterBuffer.data and
  740. AVFilterBuffer.linesize from 4 to 8.
  741. This change breaks libavfilter ABI.
  742. 2010-07-29 - e7bd48a - lavcore 0.2.0 - imgutils.h
  743. Add functions av_fill_image_linesizes() and
  744. av_fill_image_pointers(), declared in libavcore/imgutils.h.
  745. 2010-07-27 - 126b638 - lavcore 0.1.0 - parseutils.h
  746. Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()
  747. defined in libavcodec in favor of the newly added functions
  748. av_parse_video_size() and av_parse_video_rate() declared in
  749. libavcore/parseutils.h.
  750. 2010-07-23 - 4485247 - lavu 50.23.0 - mathematics.h
  751. Add the M_PHI constant definition.
  752. 2010-07-22 - bdab614 - lavfi 1.26.0 - media format generalization
  753. Add a type field to AVFilterLink.
  754. Change the field types:
  755. enum PixelFormat format -> int format in AVFilterBuffer
  756. enum PixelFormat *formats -> int *formats in AVFilterFormats
  757. enum PixelFormat *format -> int format in AVFilterLink
  758. Change the function signatures:
  759. AVFilterFormats *avfilter_make_format_list(const enum PixelFormat *pix_fmts); ->
  760. AVFilterFormats *avfilter_make_format_list(const int *fmts);
  761. int avfilter_add_colorspace(AVFilterFormats **avff, enum PixelFormat pix_fmt); ->
  762. int avfilter_add_format (AVFilterFormats **avff, int fmt);
  763. AVFilterFormats *avfilter_all_colorspaces(void); ->
  764. AVFilterFormats *avfilter_all_formats (enum AVMediaType type);
  765. This change breaks libavfilter API/ABI.
  766. 2010-07-21 - aac6ca6 - lavcore 0.0.0
  767. Add libavcore.
  768. 2010-07-17 - b5c582f - lavfi 1.25.0 - AVFilterBuffer
  769. Remove w and h fields from AVFilterBuffer.
  770. 2010-07-17 - f0d77b2 - lavfi 1.24.0 - AVFilterBuffer
  771. Rename AVFilterPic to AVFilterBuffer.
  772. 2010-07-17 - 57fe80f - lavf 52.74.0 - url_fskip()
  773. Make url_fskip() return an int error code instead of void.
  774. 2010-07-11 - 23940f1 - lavc 52.83.0
  775. Add AVCodecContext.lpc_type and AVCodecContext.lpc_passes fields.
  776. Add AVLPCType enum.
  777. Deprecate AVCodecContext.use_lpc.
  778. 2010-07-11 - e1d7c88 - lavc 52.82.0 - avsubtitle_free()
  779. Add a function for free the contents of a AVSubtitle generated by
  780. avcodec_decode_subtitle.
  781. 2010-07-11 - b91d08f - lavu 50.22.0 - bswap.h and intreadwrite.h
  782. Make the bswap.h and intreadwrite.h API public.
  783. 2010-07-08 - ce1cd1c - lavu 50.21.0 - pixdesc.h
  784. Rename read/write_line() to av_read/write_image_line().
  785. 2010-07-07 - 4d508e4 - lavfi 1.21.0 - avfilter_copy_picref_props()
  786. Add avfilter_copy_picref_props().
  787. 2010-07-03 - 2d525ef - lavc 52.79.0
  788. Add FF_COMPLIANCE_UNOFFICIAL and change all instances of
  789. FF_COMPLIANCE_INOFFICIAL to use FF_COMPLIANCE_UNOFFICIAL.
  790. 2010-07-02 - 89eec74 - lavu 50.20.0 - lfg.h
  791. Export av_lfg_init(), av_lfg_get(), av_mlfg_get(), and av_bmg_get() through
  792. lfg.h.
  793. 2010-06-28 - a52e2c3 - lavfi 1.20.1 - av_parse_color()
  794. Extend av_parse_color() syntax, make it accept an alpha value specifier and
  795. set the alpha value to 255 by default.
  796. 2010-06-22 - 735cf6b - lavf 52.71.0 - URLProtocol.priv_data_size, priv_data_class
  797. Add priv_data_size and priv_data_class to URLProtocol.
  798. 2010-06-22 - ffbb289 - lavf 52.70.0 - url_alloc(), url_connect()
  799. Add url_alloc() and url_connect().
  800. 2010-06-22 - 9b07a2d - lavf 52.69.0 - av_register_protocol2()
  801. Add av_register_protocol2(), deprecating av_register_protocol().
  802. 2010-06-09 - 65db058 - lavu 50.19.0 - av_compare_mod()
  803. Add av_compare_mod() to libavutil/mathematics.h.
  804. 2010-06-05 - 0b99215 - lavu 50.18.0 - eval API
  805. Make the eval API public.
  806. 2010-06-04 - 31878fc - lavu 50.17.0 - AV_BASE64_SIZE
  807. Add AV_BASE64_SIZE() macro.
  808. 2010-06-02 - 7e566bb - lavc 52.73.0 - av_get_codec_tag_string()
  809. Add av_get_codec_tag_string().
  810. 2010-06-01 - 2b99142 - lsws 0.11.0 - convertPalette API
  811. Add sws_convertPalette8ToPacked32() and sws_convertPalette8ToPacked24().
  812. 2010-05-26 - 93ebfee - lavc 52.72.0 - CODEC_CAP_EXPERIMENTAL
  813. Add CODEC_CAP_EXPERIMENTAL flag.
  814. NOTE: this was backported to 0.6
  815. 2010-05-23 - 9977863 - lavu 50.16.0 - av_get_random_seed()
  816. Add av_get_random_seed().
  817. 2010-05-18 - 796ac23 - lavf 52.63.0 - AVFMT_FLAG_RTP_HINT
  818. Add AVFMT_FLAG_RTP_HINT as possible value for AVFormatContext.flags.
  819. NOTE: this was backported to 0.6
  820. 2010-05-09 - b6bc205 - lavfi 1.20.0 - AVFilterPicRef
  821. Add interlaced and top_field_first fields to AVFilterPicRef.
  822. ------------------------------8<-------------------------------------
  823. 0.6 branch was cut here
  824. ----------------------------->8--------------------------------------
  825. 2010-05-01 - 8e2ee18 - lavf 52.62.0 - probe function
  826. Add av_probe_input_format2 to API, it allows ignoring probe
  827. results below given score and returns the actual probe score.
  828. 2010-04-01 - 3dd6180 - lavf 52.61.0 - metadata API
  829. Add a flag for av_metadata_set2() to disable overwriting of
  830. existing tags.
  831. 2010-04-01 - 0fb49b5 - lavc 52.66.0
  832. Add avcodec_get_edge_width().
  833. 2010-03-31 - d103218 - lavc 52.65.0
  834. Add avcodec_copy_context().
  835. 2010-03-31 - 1a70d12 - lavf 52.60.0 - av_match_ext()
  836. Make av_match_ext() public.
  837. 2010-03-31 - 1149150 - lavu 50.14.0 - AVMediaType
  838. Move AVMediaType enum from libavcodec to libavutil.
  839. 2010-03-31 - 72415b2 - lavc 52.64.0 - AVMediaType
  840. Define AVMediaType enum, and use it instead of enum CodecType, which
  841. is deprecated and will be dropped at the next major bump.
  842. 2010-03-25 - 8795823 - lavu 50.13.0 - av_strerror()
  843. Implement av_strerror().
  844. 2010-03-23 - e1484eb - lavc 52.60.0 - av_dct_init()
  845. Support DCT-I and DST-I.
  846. 2010-03-15 - b8819c8 - lavf 52.56.0 - AVFormatContext.start_time_realtime
  847. Add AVFormatContext.start_time_realtime field.
  848. 2010-03-13 - 5bb5c1d - lavfi 1.18.0 - AVFilterPicRef.pos
  849. Add AVFilterPicRef.pos field.
  850. 2010-03-13 - 60c144f - lavu 50.12.0 - error.h
  851. Move error code definitions from libavcodec/avcodec.h to
  852. the new public header libavutil/error.h.
  853. 2010-03-07 - c709483 - lavc 52.56.0 - avfft.h
  854. Add public FFT interface.
  855. 2010-03-06 - ac6ef86 - lavu 50.11.0 - av_stristr()
  856. Add av_stristr().
  857. 2010-03-03 - 4b83fc0 - lavu 50.10.0 - av_tree_enumerate()
  858. Add av_tree_enumerate().
  859. 2010-02-07 - b687c1a - lavu 50.9.0 - av_compare_ts()
  860. Add av_compare_ts().
  861. 2010-02-05 - 3f3dc76 - lsws 0.10.0 - sws_getCoefficients()
  862. Add sws_getCoefficients().
  863. 2010-02-01 - ca76a11 - lavf 52.50.0 - metadata API
  864. Add a list of generic tag names, change 'author' -> 'artist',
  865. 'year' -> 'date'.
  866. 2010-01-30 - 80a07f6 - lavu 50.8.0 - av_get_pix_fmt()
  867. Add av_get_pix_fmt().
  868. 2010-01-21 - 01cc47d - lsws 0.9.0 - sws_scale()
  869. Change constness attributes of sws_scale() parameters.
  870. 2010-01-10 - 3fb8e77 - lavfi 1.15.0 - avfilter_graph_config_links()
  871. Add a log_ctx parameter to avfilter_graph_config_links().
  872. 2010-01-07 - 8e9767f - lsws 0.8.0 - sws_isSupported{In,Out}put()
  873. Add sws_isSupportedInput() and sws_isSupportedOutput() functions.
  874. 2010-01-06 - c1d662f - lavfi 1.14.0 - avfilter_add_colorspace()
  875. Change the avfilter_add_colorspace() signature, make it accept an
  876. (AVFilterFormats **) rather than an (AVFilterFormats *) as before.
  877. 2010-01-03 - 4fd1f18 - lavfi 1.13.0 - avfilter_add_colorspace()
  878. Add avfilter_add_colorspace().
  879. 2010-01-02 - 8eb631f - lavf 52.46.0 - av_match_ext()
  880. Add av_match_ext(), it should be used in place of match_ext().
  881. 2010-01-01 - a1f547b - lavf 52.45.0 - av_guess_format()
  882. Add av_guess_format(), it should be used in place of guess_format().
  883. 2009-12-13 - a181981 - lavf 52.43.0 - metadata API
  884. Add av_metadata_set2(), AV_METADATA_DONT_STRDUP_KEY and
  885. AV_METADATA_DONT_STRDUP_VAL.
  886. 2009-12-13 - 277c733 - lavu 50.7.0 - avstring.h API
  887. Add av_d2str().
  888. 2009-12-13 - 02b398e - lavc 52.42.0 - AVStream
  889. Add avg_frame_rate.
  890. 2009-12-12 - 3ba69a1 - lavu 50.6.0 - av_bmg_next()
  891. Introduce the av_bmg_next() function.
  892. 2009-12-05 - a13a543 - lavfi 1.12.0 - avfilter_draw_slice()
  893. Add a slice_dir parameter to avfilter_draw_slice().
  894. 2009-11-26 - 4cc3f6a - lavfi 1.11.0 - AVFilter
  895. Remove the next field from AVFilter, this is not anymore required.
  896. 2009-11-25 - 1433c4a - lavfi 1.10.0 - avfilter_next()
  897. Introduce the avfilter_next() function.
  898. 2009-11-25 - 86a60fa - lavfi 1.9.0 - avfilter_register()
  899. Change the signature of avfilter_register() to make it return an
  900. int. This is required since now the registration operation may fail.
  901. 2009-11-25 - 74a0059 - lavu 50.5.0 - pixdesc.h API
  902. Make the pixdesc.h API public.
  903. 2009-10-27 - 243110f - lavfi 1.5.0 - AVFilter.next
  904. Add a next field to AVFilter, this is used for simplifying the
  905. registration and management of the registered filters.
  906. 2009-10-23 - cccd292 - lavfi 1.4.1 - AVFilter.description
  907. Add a description field to AVFilter.
  908. 2009-10-19 - 6b5dc05 - lavfi 1.3.0 - avfilter_make_format_list()
  909. Change the interface of avfilter_make_format_list() from
  910. avfilter_make_format_list(int n, ...) to
  911. avfilter_make_format_list(enum PixelFormat *pix_fmts).
  912. 2009-10-18 - 0eb4ff9 - lavfi 1.0.0 - avfilter_get_video_buffer()
  913. Make avfilter_get_video_buffer() recursive and add the w and h
  914. parameters to it.
  915. 2009-10-07 - 46c40e4 - lavfi 0.5.1 - AVFilterPic
  916. Add w and h fields to AVFilterPic.
  917. 2009-06-22 - 92400be - lavf 52.34.1 - AVFormatContext.packet_size
  918. This is now an unsigned int instead of a signed int.
  919. 2009-06-19 - a4276ba - lavc 52.32.0 - AVSubtitle.pts
  920. Add a pts field to AVSubtitle which gives the subtitle packet pts
  921. in AV_TIME_BASE. Some subtitle de-/encoders (e.g. XSUB) will
  922. not work right without this.
  923. 2009-06-03 - 8f3f2e0 - lavc 52.30.2 - AV_PKT_FLAG_KEY
  924. PKT_FLAG_KEY has been deprecated and will be dropped at the next
  925. major version. Use AV_PKT_FLAG_KEY instead.
  926. 2009-06-01 - f988ce6 - lavc 52.30.0 - av_lockmgr_register()
  927. av_lockmgr_register() can be used to register a callback function
  928. that lavc (and in the future, libraries that depend on lavc) can use
  929. to implement mutexes. The application should provide a callback function
  930. that implements the AV_LOCK_* operations described in avcodec.h.
  931. When the lock manager is registered, FFmpeg is guaranteed to behave
  932. correctly in a multi-threaded application.
  933. 2009-04-30 - ce1d9c8 - lavc 52.28.0 - av_free_packet()
  934. av_free_packet() is no longer an inline function. It is now exported.
  935. 2009-04-11 - 80d403f - lavc 52.25.0 - deprecate av_destruct_packet_nofree()
  936. Please use NULL instead. This has been supported since r16506
  937. (lavf > 52.23.1, lavc > 52.10.0).
  938. 2009-04-07 - 7a00bba - lavc 52.23.0 - avcodec_decode_video/audio/subtitle
  939. The old decoding functions are deprecated, all new code should use the
  940. new functions avcodec_decode_video2(), avcodec_decode_audio3() and
  941. avcodec_decode_subtitle2(). These new functions take an AVPacket *pkt
  942. argument instead of a const uint8_t *buf / int buf_size pair.
  943. 2009-04-03 - 7b09db3 - lavu 50.3.0 - av_fifo_space()
  944. Introduce the av_fifo_space() function.
  945. 2009-04-02 - fabd246 - lavc 52.23.0 - AVPacket
  946. Move AVPacket declaration from libavformat/avformat.h to
  947. libavcodec/avcodec.h.
  948. 2009-03-22 - 6e08ca9 - lavu 50.2.0 - RGB32 pixel formats
  949. Convert the pixel formats PIX_FMT_ARGB, PIX_FMT_RGBA, PIX_FMT_ABGR,
  950. PIX_FMT_BGRA, which were defined as macros, into enum PixelFormat values.
  951. Conversely PIX_FMT_RGB32, PIX_FMT_RGB32_1, PIX_FMT_BGR32 and
  952. PIX_FMT_BGR32_1 are now macros.
  953. avcodec_get_pix_fmt() now recognizes the "rgb32" and "bgr32" aliases.
  954. Re-sort the enum PixelFormat list accordingly.
  955. This change breaks API/ABI backward compatibility.
  956. 2009-03-22 - f82674e - lavu 50.1.0 - PIX_FMT_RGB5X5 endian variants
  957. Add the enum PixelFormat values:
  958. PIX_FMT_RGB565BE, PIX_FMT_RGB565LE, PIX_FMT_RGB555BE, PIX_FMT_RGB555LE,
  959. PIX_FMT_BGR565BE, PIX_FMT_BGR565LE, PIX_FMT_BGR555BE, PIX_FMT_BGR555LE.
  960. 2009-03-21 - ee6624e - lavu 50.0.0 - av_random*
  961. The Mersenne Twister PRNG implemented through the av_random* functions
  962. was removed. Use the lagged Fibonacci PRNG through the av_lfg* functions
  963. instead.
  964. 2009-03-08 - 41dd680 - lavu 50.0.0 - AVFifoBuffer
  965. av_fifo_init, av_fifo_read, av_fifo_write and av_fifo_realloc were dropped
  966. and replaced by av_fifo_alloc, av_fifo_generic_read, av_fifo_generic_write
  967. and av_fifo_realloc2.
  968. In addition, the order of the function arguments of av_fifo_generic_read
  969. was changed to match av_fifo_generic_write.
  970. The AVFifoBuffer/struct AVFifoBuffer may only be used in an opaque way by
  971. applications, they may not use sizeof() or directly access members.
  972. 2009-03-01 - ec26457 - lavf 52.31.0 - Generic metadata API
  973. Introduce a new metadata API (see av_metadata_get() and friends).
  974. The old API is now deprecated and should not be used anymore. This especially
  975. includes the following structure fields:
  976. - AVFormatContext.title
  977. - AVFormatContext.author
  978. - AVFormatContext.copyright
  979. - AVFormatContext.comment
  980. - AVFormatContext.album
  981. - AVFormatContext.year
  982. - AVFormatContext.track
  983. - AVFormatContext.genre
  984. - AVStream.language
  985. - AVStream.filename
  986. - AVProgram.provider_name
  987. - AVProgram.name
  988. - AVChapter.title