1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 04:15:13 +00:00
mpv/libmpcodecs
uau 1844e1dd0c Change decode_audio() interface
Rewrite decode_audio to better deal with filters that handle input in
large blocks. It now always places output in sh_audio->a_out_buffer
(which was always given as a parameter before) and reallocates the
buffer if needed. After the changes filters can return arbitrarily
large blocks of data without some of it being lost. The new version
also allows simplifying some code.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24920 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-11-01 06:52:19 +00:00
..
native Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
ad_acm.c Use goto instead of useless recursion that might fill up the stack 2007-07-30 13:48:08 +00:00
ad_alaw.c Use explicit header location, don't use CFLAGS for simple subdirectories. 2007-03-15 12:08:11 +00:00
ad_dk3adpcm.c
ad_dmo.c Move extern int audio_output_channels; to ad_internal.h 2007-07-30 15:23:25 +00:00
ad_dshow.c Include loader/ prefix in #include path everywhere. 2007-03-15 08:29:24 +00:00
ad_dvdpcm.c
ad_faad.c Fix unused variable warning. 2007-08-24 11:18:07 +00:00
ad_ffmpeg.c Set sample_rate and bit_rate from sh_audio as fallback in case sh_audio->wf 2007-08-27 15:51:04 +00:00
ad_hwac3.c Copy AC-3 bsmod field into IEC data-type field as required by the specs 2007-09-15 16:39:39 +00:00
ad_hwmpa.c
ad_imaadpcm.c
ad_internal.h Move extern int audio_output_channels; to ad_internal.h 2007-07-30 15:23:25 +00:00
ad_liba52.c Move extern int audio_output_channels; to ad_internal.h 2007-07-30 15:23:25 +00:00
ad_libdca.c Fix output channle ordering 2007-10-07 15:06:53 +00:00
ad_libdv.c "()" to "(void)" function param list fixes 2007-04-01 21:59:54 +00:00
ad_libmad.c
ad_libvorbis.c Move variable declaration into conditional to avoid an unused variable warning. 2007-05-28 08:18:23 +00:00
ad_mp3lib.c
ad_mpc.c ISO8859-1 --> UTF-8 2007-07-09 19:50:36 +00:00
ad_msadpcm.c
ad_msgsm.c Use explicit header location, don't use CFLAGS for simple subdirectories. 2007-03-15 12:08:11 +00:00
ad_pcm.c
ad_qtaudio.c Include loader/ prefix in #include path everywhere. 2007-03-15 08:29:24 +00:00
ad_realaud.c Move variable into the block where it actually used 2007-06-24 14:04:48 +00:00
ad_sample.c
ad_speex.c
ad_twin.c Include loader/ prefix in #include path everywhere. 2007-03-15 08:29:24 +00:00
ad.c DTS decoding via libdca 2007-07-22 16:24:25 +00:00
ad.h
ae_faac.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ae_faac.h
ae_lame.c Remove unused (static) function prototype. 2007-06-24 14:09:53 +00:00
ae_lame.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
ae_lavc.c warning fix: 2007-09-09 09:57:36 +00:00
ae_lavc.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
ae_pcm.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ae_pcm.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
ae_toolame.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ae_toolame.h
ae_twolame.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ae_twolame.h
ae.c config.h must be included before other headers 2007-06-24 17:39:54 +00:00
ae.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
cmmx.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
dec_audio.c Change decode_audio() interface 2007-11-01 06:52:19 +00:00
dec_audio.h Change decode_audio() interface 2007-11-01 06:52:19 +00:00
dec_video.c Clean up the way get_path is handled: Compile get_path.c to an object to link 2007-08-28 11:20:24 +00:00
dec_video.h Remove redundant variable declaration. 2007-08-25 12:19:16 +00:00
img_format.c Print the number of the Unknow color format, 2007-07-11 21:30:16 +00:00
img_format.h Do not use leading underscores in multiple inclusion guards, they are reserved. 2007-07-02 22:34:45 +00:00
Makefile Make vf_screenshot use the libavcodec PNG encoder 2007-10-09 12:46:10 +00:00
mp_image.c Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c. 2007-08-04 22:12:49 +00:00
mp_image.h Move alloc_mpi and copy_mpi from libmenu/vf_menu.c to libmpcodecs/mp_image.c. 2007-08-04 22:12:49 +00:00
mpc_info.h
pullup.c Add a check for c->head being NULL in pullup_free_context(). 2007-09-08 14:43:10 +00:00
pullup.h
vd_dmo.c
vd_dshow.c
vd_ffmpeg.c Change the frame format passed to lavc realvideo decoders to adapt for 2007-10-28 22:32:20 +00:00
vd_hmblck.c Avoid more void * arithmetic 2007-06-24 12:32:33 +00:00
vd_ijpg.c Removed useless fastmemcpy.h includes in video decoders 2007-05-27 20:45:34 +00:00
vd_internal.h Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
vd_libdv.c "()" to "(void)" function param list fixes 2007-04-01 21:59:54 +00:00
vd_libmpeg2.c Avoid void * arithmetic 2007-07-30 14:52:07 +00:00
vd_lzo.c use ffmpeg's LZO 2007-01-31 23:04:20 +00:00
vd_mpegpes.c
vd_mpng.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vd_mtga.c Do not use fast_memcpy when data is read again immediately afterwards. 2007-06-05 15:09:51 +00:00
vd_null.c
vd_nuv.c
vd_qtvideo.c Include loader/ prefix in #include path everywhere. 2007-03-15 08:29:24 +00:00
vd_raw.c Make vd_raw VDCTRL_QUERY_FORMAT simpler to understand 2007-05-14 18:21:39 +00:00
vd_realvid.c Runtime-patching for windows to fix crash with drv43260.dll 2007-08-20 16:17:13 +00:00
vd_sgi.c
vd_theora.c
vd_vfw.c Check ICDecompressGetFormatSize to avoid crashes. 2007-10-21 13:15:48 +00:00
vd_vfwex.c
vd_xanim.c Removed useless fastmemcpy.h includes in video decoders 2007-05-27 20:45:34 +00:00
vd_xvid4.c
vd_zrmjpeg.c
vd.c added .stream_aspect to st_video_t: if non-zero and if not specified otherwise 2007-09-01 15:54:45 +00:00
vd.h
ve_lavc.c Support lowdelay flag 2007-09-06 08:57:50 +00:00
ve_libdv.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ve_nuv.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ve_qtvideo.c warning fix: 2007-08-28 16:59:24 +00:00
ve_raw.c support format=y8 with -ovc raw 2007-04-11 20:28:44 +00:00
ve_vfw.c Add Coinitialize function to vfw encoder and win32 loader. 2007-10-17 05:14:21 +00:00
ve_x264.c Add explicit location for headers from the libmpdemux/ directory. 2007-03-15 17:51:32 +00:00
ve_xvid4.c Silence a gcc warning: "wrong type argument to increment". 2007-10-11 09:47:03 +00:00
ve.c Make liblzo conditional to the appropriate #defines. 2007-02-18 19:28:47 +00:00
vf_1bpp.c
vf_2xsai.c Remove unused functions, fixes the warnings: 2007-10-30 09:10:01 +00:00
vf_ass.c Replace stdint.h #include by functionally equivalent inttypes.h. 2007-09-18 09:30:42 +00:00
vf_blackframe.c
vf_bmovl.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_boxblur.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_crop.c Mark m_struct_t defaults as const 2007-01-28 16:48:01 +00:00
vf_cropdetect.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_decimate.c
vf_delogo.c Mark m_struct_t defaults as const 2007-01-28 16:48:01 +00:00
vf_denoise3d.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_detc.c Remove unused crappy hash_pic function, blessed by Rich. 2007-09-26 22:43:38 +00:00
vf_dint.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_divtc.c warning fix: 2007-09-09 09:59:50 +00:00
vf_down3dright.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_dsize.c
vf_dvbscale.c
vf_eq2.c
vf_eq.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_expand.c Add code to clear left and right borders not only top and bottom. 2007-08-28 13:54:27 +00:00
vf_field.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_fil.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_filmdint.c Remove unused variable. 2007-08-24 11:16:32 +00:00
vf_flip.c
vf_format.c Mark m_struct_t defaults as const 2007-01-28 16:48:01 +00:00
vf_framestep.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_fspp.c Remove commented-out and unused fmt_list array. 2007-10-30 15:27:13 +00:00
vf_geq.c Remove unused static function get_image(). 2007-10-17 14:06:44 +00:00
vf_halfpack.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_harddup.c Remove unused query_format function in vf_harddup. 2007-06-24 13:01:22 +00:00
vf_hqdn3d.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_hue.c Mark m_struct_t defaults as const 2007-01-28 16:48:01 +00:00
vf_il.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_ilpack.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_ivtc.c Get rid of my_memcpy_pic code duplication in many filters. 2007-06-28 11:24:12 +00:00
vf_kerndeint.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_lavc.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_lavcdeint.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_mcdeint.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_mirror.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_noformat.c Mark m_struct_t defaults as const 2007-01-28 16:48:01 +00:00
vf_noise.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_ow.c Remove unused fmt_list array, fixes the warnings: 2007-10-30 15:24:09 +00:00
vf_palette.c Deobfuscate: use IMGFMT_RGB_DEPTH and IMGFMT_IS_BGR 2007-09-13 18:36:04 +00:00
vf_perspective.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_phase.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_pp7.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_pp.c
vf_pullup.c Disable buggy unused function via #if 0, blessed by Rich. 2007-09-26 22:48:59 +00:00
vf_qp.c printf in mp_image.h was changed to fprintf in r17972. 2007-08-08 23:28:29 +00:00
vf_rectangle.c
vf_remove_logo.c cosmetics: Fix some common typos, sepErate --> sepArate, deciSSion --> deciSion. 2007-02-21 10:05:46 +00:00
vf_rgb2bgr.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_rgbtest.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_rotate.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_sab.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_scale.c warning fix: 2007-08-28 17:06:00 +00:00
vf_scale.h
vf_screenshot.c Make vf_screenshot use the libavcodec PNG encoder 2007-10-09 12:46:10 +00:00
vf_smartblur.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_softpulldown.c Get rid of my_memcpy_pic code duplication in many filters. 2007-06-28 11:24:12 +00:00
vf_softskip.c Disable unused query_format functions for now until they are 2007-09-26 23:00:43 +00:00
vf_spp.c Remove unused fmt_list array, fixes the warnings: 2007-10-30 15:24:09 +00:00
vf_swapuv.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_telecine.c Disable unused query_format functions for now until they are 2007-09-26 23:00:43 +00:00
vf_test.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_tfields.c Disable unused query_format functions for now until they are 2007-09-26 23:00:43 +00:00
vf_tile.c
vf_tinterlace.c Get rid of my_memcpy_pic code duplication in many filters. 2007-06-28 11:24:12 +00:00
vf_unsharp.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_uspp.c Remove unused fmt_list array, fixes the warnings: 2007-10-30 15:24:09 +00:00
vf_vo.c Add -ass-hinting option for setting font hinting method. 2007-04-27 14:25:36 +00:00
vf_yadif.c Do not use fast_memcpy for small size copy, esp. when the size is constant 2007-06-05 15:09:49 +00:00
vf_yuvcsp.c Comment out uninit function, its use is commented out. Fixes warning: 2007-10-30 15:31:45 +00:00
vf_yuy2.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf_yvu9.c Replace implicit use of fast_memcpy via macro by explicit use to allow 2007-06-05 14:27:54 +00:00
vf_zrmjpeg.c Remove useless fastmemcpy.h include for filters that do not even do any memcpy. 2007-05-27 20:36:04 +00:00
vf.c overcomplete wavelet denoiser 2007-10-03 23:50:54 +00:00
vf.h
vfcap.h Add -ass-hinting option for setting font hinting method. 2007-04-27 14:25:36 +00:00
vqf.h