summaryrefslogtreecommitdiffstats
path: root/libavutil/samplefmt.c
Commit message (Collapse)AuthorAgeFilesLines
* samplefmt: remove deprecated use of av_get_bits_per_sample_fmt()Stefano Sabatini2011-06-251-1/+1
| | | | | | | | Use av_get_bytes_per_sample() instead. Fix deprecation warning: samplefmt.c: In function ‘av_samples_fill_arrays’: samplefmt.c:88: warning: ‘av_get_bits_per_sample_fmt’ is deprecated (declared at samplefmt.c:76)
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-081-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) Remove some non-compiling debug messages. ffplay: Fix non-compiling debug printf and replace it by av_dlog. H264: x86 predict init cosmetics. ac3enc: Fix linking of AC-3 encoder without the E-AC-3 encoder. Move E-AC-3 encoder functions to a separate eac3enc.c file. ac3enc: remove convenience macro, #define DEBUG ac3enc: remove unused #define vc1: re-initialize tables after width/height change. APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition samplefmt: add av_get_bytes_per_sample() iirfilter: fix biquad filter coefficients. swscale: remove duplicate conversion routine in swScale(). swscale: add yuv2planar/packed function typedefs. swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers. swscale: reindent x86 init code. swscale: extract SWS_FULL_CHR_H_INT conditional into init code. swscale: cosmetics. swscale: remove alp/chr/lumSrcOffset. swscale: un-special-case yuv2yuvX16_c(). shorten: Remove stray DEBUG #define and corresponding av_dlog statement. ... Conflicts: doc/APIchanges libavcodec/ac3enc.c libavutil/avutil.h libavutil/samplefmt.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c Merged-by: Michael Niedermayer <[email protected]>
| * samplefmt: add av_get_bytes_per_sample()Stefano Sabatini2011-06-071-0/+8
| | | | | | | | | | | | | | | | | | Deprecate av_get_bits_per_sample_fmt(), which was a misnamed function. For the moment we don't have sample formats with a non-integer number of bytes, in that case we may need to create a new av_get_bits_per_sample() function. In the meanwhile we prefer to adopt this variant, since avoids divisions by 8 all over the place.
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | | | | | Signed-off-by: Mans Rullgard <[email protected]>
| * Merge libavcore into libavutilReinhard Tartler2011-02-151-0/+73
| | | | | | | | | | | | It is pretty hopeless that other considerable projects will adopt libavutil alone in other projects. Projects that need small footprint are better off with more specialized libraries such as gnulib or rather just copy the necessary parts that they need. With this in mind, nobody is helped by having libavutil and libavcore split. In order to ease maintenance inside and around FFmpeg and to reduce confusion where to put common code, avcore's functionality is merged (back) to avutil. Signed-off-by: Reinhard Tartler <[email protected]>
* samplefmt: switch nb_channels/nb_samples params order in av_samples_alloc()Stefano Sabatini2011-06-061-1/+1
| | | | | This is consistent with the order of parameters in av_samples_fill_arrays().
* samplefmt: change layout for arrays created by av_samples_alloc() and ↵Stefano Sabatini2011-06-061-10/+12
| | | | | | | | | | | | _fill_arrays() The new layout is consistent with that of the av_image_() API, and simplifies understanding and copy operations, it also preserves alignment information which was lost with the previous layout. This breaks API/ABI, but since the function was never referenced in the code (and it isn't unlikely already used by someone) then this should not be a problem.
* Merge libavcore into libavutilReinhard Tartler2011-02-161-0/+120
Done to keep ABI compatible. Otherwise this is just silly