From: Carl Hetherington Date: Tue, 21 Feb 2017 23:30:52 +0000 (+0000) Subject: Some bits in the attic. X-Git-Tag: v2.11.1~110 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=45d5a5004a49edabbc96cd1acba12e08d31510f1 Some bits in the attic. --- diff --git a/doc/design/Attic/audio_path.svg b/doc/design/Attic/audio_path.svg new file mode 100644 index 000000000..c75d505b4 --- /dev/null +++ b/doc/design/Attic/audio_path.svg @@ -0,0 +1,408 @@ + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + AVPacket + AVFrame + AudioBuffers + Data type + FFmpegDecoder + AudioDecoder + Class + Player + avcodec_decode_audio4 + av_read_frame + deinterleave_audio + audio + Method + get_audio + Operation + Decode + Deinterleave + Resample + Run Processor + Gain + Channel remap + Mix + + + + + + + Data path + + + + diff --git a/doc/design/Attic/dcpomatic.svg b/doc/design/Attic/dcpomatic.svg new file mode 100644 index 000000000..dc9cd9166 --- /dev/null +++ b/doc/design/Attic/dcpomatic.svg @@ -0,0 +1,1350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + Player + + get_video()get_audio() + Get video frame(s) at a time or asection of audio from a time range.Times are expressed as DCPTime. + + + + PlayerVideoFrame + + Video that has come out of a playerexcept with the bits still in theirraw form (we may want to combinethe bits on a remote machine, ormaybe not bother to combine themat all). Note: no timinginformation. + image() + Return image ready for the DCP(scaled, cropped, subtitled etc.) + + + + AudioBuffers + + Some audio data. Note: no timinginformation. + + + + + + + VideoDecoder + + get_video() + Get a video frame (specified as anindex) from this decoder's content. + + + + AudioDecoder + + get_audio() + Get some audio frames (specified asframe indices) from this decoder'scontent. + + + + Video frame indiceswithin content. + Player::dcp_to_content_video()Player::dcp_to_content_audio() + DCPTime + + + + Class + + method() + Method description + Class description. + + + + Playlist + + video_identifer() + Return a string which uniquelydescribes the content which affectsthe image. + List of content. + + + + has a + + + + AudioDecoderStream + + get() + Get some audio frames (specified asframe indices) from this stream'scontent. + Decoder for one stream of audio. + + + + + AudioDecoderStream + + get() + Get some audio frames (specified asframe indices) from this stream'scontent. + Decoder for one stream of audio. + + + + + AudioDecoderStream + + get() + Get some audio frames (specified asframe indices) from this stream'scontent. + Decoder for one stream of audio. + + + + + AudioDecoderStream + + get() + Get some audio frames (specified asframe indices) from this stream'scontent. + Decoder for one stream of audio. + + + + + + has many + + + diff --git a/doc/design/Attic/player_get_audio.svg b/doc/design/Attic/player_get_audio.svg new file mode 100644 index 000000000..fe7bdd5a3 --- /dev/null +++ b/doc/design/Attic/player_get_audio.svg @@ -0,0 +1,399 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + DCP time 0 + + + + time + + length + + + length_frames + out + + + dcp_to_content_audio(time) + Content + + in + + in->frame + +