OSDN Git Service

lavfi: add avfilter_all_channel_layouts public symbol
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Thu, 18 Aug 2011 13:26:21 +0000 (15:26 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 15 Sep 2011 22:46:41 +0000 (00:46 +0200)
commitea8de109af46ae8e6751217977ae8f7becf94ba5
tree4c579c879fb69ccb0b143ab2df5cc57a3a315681
parent9899037dc6b246f2eeb7e0255c316749372fe1ae
lavfi: add avfilter_all_channel_layouts public symbol

This list is mainly useful to be directly used as a parameter by the
audio sink buffer, when there is no need to force a specific channel
layout.

The list of formats is generated programmatically, and avoids channel
layouts not supported by libavfilter (with more than 8 channels).

We preferred to avoid compile-time generation in order to avoid some
unnecessary complexity (build hacks, generating code maintainance
etc.).

A more compact way to express this list through the use of macros
should be possible when libavfilter will support more than 8 channels,
as there will be no need to filter out channel layouts with more than
8 channels.

See thread:
Subject: [FFmpeg-devel] [PATCH] lavfi: add ff_all_channel_layouts internal symbol
Date: Sat, 20 Aug 2011 15:33:16 +0200
doc/APIchanges
libavfilter/Makefile
libavfilter/all_channel_layouts.h [new file with mode: 0644]
libavfilter/avfilter.h
libavfilter/formats.c