Raspberry Pi GPU Audio Video Programming
Jan Newmarch
- 出版商: Apress
- 出版日期: 2016-12-19
- 售價: $2,750
- 貴賓價: 9.5 折 $2,613
- 語言: 英文
- 頁數: 439
- 裝訂: Paperback
- ISBN: 148422471X
- ISBN-13: 9781484224717
-
相關分類:
GPU、Raspberry Pi
海外代購書籍(需單獨結帳)
相關主題
商品描述
Delve into the Broadcom VideoCore GPU used on the Raspberry Pi and master topics such as OpenGL ES and OpenMAX. Along the way, you’ll also learn some Dispmanx, OpenVG, and GPGPU programming.
The author, Jan Newmarch bumped into a need to do this kind of programming while trying to turn the RPi into a karaoke machine: with the CPU busting its gut rendering MIDI files, there was nothing left for showing images such as karaoke lyrics except for the GPU, and nothing really to tell him how to do it.
Raspberry Pi GPU Audio Video Programming scratches his itch and since he had to learn a lot about RPi GPU programming, he might as well share it with you. What started as a side issue turned into a full-blown project of its own; and this stuff is hard.
What You'll Learn
- Use Dispmanx and EGL on Raspberry Pi
- Work with OpenMAX and its components, state, IL Client Library, * * Buffers, and more on RPi
- Process images and video on RPi
- Handle audio on RPi
- Render OpenMAX to OpenGL on the RPi
- Play multimedia files on the RPi
- Use OpenVG for text processing and more
- Master overlays
Who This Book Is For
You should be comfortable with C programming and at least some concurrency and thread programming using it. This book is for experienced programmers who are new or learning about Raspberry Pi.
商品描述(中文翻譯)
深入研究應用於樹莓派的Broadcom VideoCore GPU,並掌握OpenGL ES和OpenMAX等主題。在此過程中,您還將學習一些Dispmanx、OpenVG和GPGPU編程。
作者Jan Newmarch在嘗試將樹莓派變成卡拉OK機時遇到了這種編程需求:由於CPU忙於渲染MIDI文件,因此除了GPU之外,沒有其他東西可以顯示卡拉OK歌詞等圖像,而且沒有相關的指南可以告訴他如何實現。
《Raspberry Pi GPU Audio Video Programming》解決了他的需求,由於他不得不學習很多關於樹莓派GPU編程的知識,所以他決定與讀者分享。這本書最初只是一個次要問題,但逐漸發展成為一個獨立的項目;而且這些內容並不容易。
你將學到什麼:
- 在樹莓派上使用Dispmanx和EGL
- 在樹莓派上使用OpenMAX及其組件、狀態、IL Client Library、緩衝區等
- 在樹莓派上處理圖像和視頻
- 在樹莓派上處理音頻
- 在樹莓派上將OpenMAX渲染到OpenGL
- 在樹莓派上播放多媒體文件
- 使用OpenVG進行文本處理等
- 掌握覆蓋層技術
適合閱讀對象:
您應該對C編程感到舒適,並至少具備一些並發和線程編程的經驗。本書適合有經驗的程序員,他們對樹莓派還是新手或正在學習。