diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-25 11:18:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-25 11:18:39 +0100 |
| commit | e3bed1d68b81b22559cf0be0d444d0711342ba5f (patch) | |
| tree | 90c91241c13afb50061fd88f57dbda9a284279df | |
| parent | 11b5c27024e0f03bd6d5026c12f0e151babd910d (diff) | |
Add audio path documentation.
| -rw-r--r-- | doc/design/audio_path.svg | 374 |
1 files changed, 374 insertions, 0 deletions
diff --git a/doc/design/audio_path.svg b/doc/design/audio_path.svg new file mode 100644 index 000000000..f35372e94 --- /dev/null +++ b/doc/design/audio_path.svg @@ -0,0 +1,374 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="1052.3622" + height="744.09448" + id="svg3115" + version="1.1" + inkscape:version="0.48.4 r9939" + sodipodi:docname="audio_path.svg"> + <defs + id="defs3117" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.73897005" + inkscape:cx="480.97576" + inkscape:cy="477.85013" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + showguides="true" + inkscape:guide-bbox="true" + inkscape:object-paths="false" + inkscape:snap-global="true" + inkscape:window-width="1366" + inkscape:window-height="714" + inkscape:window-x="1280" + inkscape:window-y="283" + inkscape:window-maximized="1" + inkscape:snap-bbox="false" + inkscape:snap-nodes="true" + inkscape:object-nodes="true" /> + <metadata + id="metadata3120"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(0,-308.2677)"> + <rect + style="color:#000000;fill:#cdde87;fill-opacity:1;fill-rule:nonzero;stroke:#ff5555;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 4;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3395" + width="861" + height="34" + x="22" + y="326.09448" + transform="translate(0,308.2677)" /> + <rect + style="color:#000000;fill:#ffeeaa;fill-opacity:1;fill-rule:nonzero;stroke:#ff5555;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 4;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3393" + width="860.24384" + height="36.999996" + x="22" + y="289.09448" + transform="translate(0,308.2677)" /> + <rect + style="color:#000000;fill:#ff9955;fill-opacity:1;fill-rule:nonzero;stroke:#ff5555;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:1, 4;stroke-dashoffset:0;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3391" + width="860.48584" + height="37.999996" + x="22" + y="251.09448" + transform="translate(0,308.2677)" /> + <rect + style="color:#000000;fill:#ffaaaa;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3389" + width="860.78772" + height="29.7075" + x="22" + y="529.65466" /> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="186" + y="548.36212" + id="text3123" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + x="186" + y="548.36212" + id="tspan3127">AVPacket</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="342" + y="548.36212" + id="text3137" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3139" + x="342" + y="548.36212">AVFrame</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="462" + y="548.36212" + id="text3143" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3145" + x="462" + y="548.36212">AudioBuffers</tspan></text> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="31" + y="548.36212" + id="text3165" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3167" + x="31" + y="548.36212">Data type</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="140" + y="656.36218" + id="text3151" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3153" + x="140" + y="656.36218">FFmpegDecoder</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="510.276" + y="656.36218" + id="text3155" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3157" + x="510.276" + y="656.36218">AudioDecoder</tspan></text> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:0px;word-spacing:0px;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="30.747999" + y="656.36218" + id="text3169" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3171" + x="30.747999" + y="656.36218">Class</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="679" + y="656.36218" + id="text3238" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3240" + x="679" + y="656.36218">Player</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="219.51123" + y="584.11017" + id="text3129" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3131" + x="219.51123" + y="584.11017">avcodec_decode_audio4</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="118" + y="584.11017" + id="text3133" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3135" + x="118" + y="584.11017">av_read_frame</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="371.99997" + y="584.11017" + id="text3147" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3149" + x="371.99997" + y="584.11017">deinterleave_audio</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="510" + y="584.11017" + id="text3159" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3161" + x="510" + y="584.11017">audio</tspan><tspan + sodipodi:role="line" + x="510" + y="599.11017" + id="tspan3163" /></text> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:0px;word-spacing:0px;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="30.976" + y="584.11017" + id="text3181" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3183" + x="30.976" + y="584.11017">Method</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Mono;-inkscape-font-specification:Latin Modern Mono" + x="678.96399" + y="584.11017" + id="text3242" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3244" + x="678.96399" + y="584.11017">get_audio</tspan></text> + <text + xml:space="preserve" + style="font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:125%;letter-spacing:0px;word-spacing:0px;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="30.747999" + y="620.27814" + id="text3185" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3187" + x="30.747999" + y="620.27814">Operation</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="191" + y="620.27814" + id="text3222" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3224" + x="191" + y="620.27814">Decode</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="370" + y="620.27814" + id="text3226" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3228" + x="370" + y="620.27814">Deinterleave</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="510.17999" + y="620.27814" + id="text3230" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3232" + x="510.17999" + y="620.27814">Resample</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="573" + y="620.27814" + id="text3234" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3236" + x="573" + y="620.27814">Run Processor</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="678.85602" + y="620.27814" + id="text3246" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3248" + x="678.85602" + y="620.27814">Gain</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="731.56293" + y="620.27814" + id="text3250" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3252" + x="731.56293" + y="620.27814">Channel remap</tspan></text> + <text + xml:space="preserve" + style="font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Latin Modern Roman;-inkscape-font-specification:Latin Modern Roman" + x="841" + y="620.27814" + id="text3254" + sodipodi:linespacing="125%"><tspan + sodipodi:role="line" + id="tspan3256" + x="841" + y="620.27814">Mix</tspan></text> + <rect + style="color:#000000;fill:none;stroke:#000000;stroke-width:1;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + id="rect3356" + width="861" + height="138.66901" + x="22" + y="529.69318" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 22,251.09448 860.78771,0" + id="path3358" + inkscape:connector-curvature="0" + transform="translate(0,308.2677)" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 22,289.09448 860.48582,0" + id="path3360" + inkscape:connector-curvature="0" + transform="translate(0,308.2677)" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 22,326.09448 860.24386,0" + id="path3362" + inkscape:connector-curvature="0" + transform="translate(0,308.2677)" + sodipodi:nodetypes="cc" /> + <path + style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 100,221.37674 0,138.63456" + id="path3364" + inkscape:connector-curvature="0" + transform="translate(0,308.2677)" + sodipodi:nodetypes="cc" /> + </g> +</svg> |
