Gstreamer_-_OpenMAX

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
state :
• NULL PLAYING
assumption :
• 對MP3decoder來說 一個 input buffer使用一個 output buffer來存對應的raw data
initialization and buffer allocation (1/2)
input port output port
Relationship
The relationship between GST elements and OMX components is analyzed, in terms of states, data structures and methods.
State
Gstreamer : NULL
NULL READY
PLAYING
PAUSED PLAYING
OpenMAX :LOADED
Return an error
EXECUTING
method
The implementation of a GStreamer method inside an element, may call the corresponding OMX IL function.
notation
• A : Gstreamer buffer • A’ : Oumption :
• GST elements/OMX components 處於 PLAYING/EXECUTING狀態 • 對MP3decoder來說 一個 IN buffer需要產生兩個 (A與B)buffer來存對應的raw data • 已經傳了A’與B’兩個空buffer給MP3decoder component (圖中沒畫出)
gst-openmax
gst-openmax is a GStreamer plug-in that maps OpenMAX IL standard components as GStreamer elements.
Bellagio
How the OpenMAX IL API can be used in the Linux GStreamer framework to enable access to multimedia components
a simple MP3 playback example (1/2)
input raw data A’ raw data A’
raw data B’
raw data B’
a simple MP3 playback example
(2/2)
raw data A’ 處理完
buffer A’ 再用 raw data B’ 處理完
Gstreamer - OpenMAX
09/03/10
OpenMAX IL implementation
Bellagio is an open source sample implementation of OpenMAX IL for Linux. You'll be able to play videos with MP3, Vorbis, MPEG-4, H.264 or H.263 content using Bellagio's components. libomxil-bellagio-0.9.1 (18 components)
A GST element that uses the OMX IL API becomes an IL client.
data structure
How Gstreamer elements and OMX components interact at init time initialization and buffer allocation
initialization and buffer allocation (2/2)
傳空buffer作output
input output 傳空buffer作output input buffer處理完
How buffers are managed in a pipeline of IL-enabled GST elements a simple MP3 playback example
buffer B’ 再用 input buffer處理完
相关文档
最新文档