SlideShare une entreprise Scribd logo
1  sur  33
Télécharger pour lire hors ligne
AMD VIDEO CODING ENGINE
THE ROUTE TOWARDS LOW-LATENCY CLOUD
GAMING SOLUTIONS
AGENDA

Introduction

AMD Video Coding Engine
Low Latency Encoding
Conclusions

2 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
Introduction
A LITTLE BIT OF HISTORY!
Perf/W

CPU

CPU

HW
IP

HWaccelerated
Video Coding

GPU

GPUaccelerated
Video Coding

CPU
CPU-based
Video Coding

2008/9
4 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

2011/12

Year
CPU VS. GPU VS. FIXED-FUNCTION-HW VIDEO COMPRESSION

CPU
 Pros
‒ No extra dollars
‒ Higher achievable qualities at target
bitrates (less architectural limitations)
‒ High Flexibility & Short Lead Time
‒ Can be optimized by advanced IS (e.g.
MMX)
 Cons
‒ Limited Operations per WATT
‒ Monopolized CPU
 Examples
‒ Handbrake/x264

5 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

 Pros
CPU+GPU
‒ No extra dollars
‒ Part of CPU available for other tasks
‒ SW-based – Still Flexible & relatively
Short Lead Time
 Cons
‒ Limited Operations per WATT
‒ Major design and code changes to
leverage parallelism
‒ Massive parallelism impacts
quality/bitrate
 Examples
‒ GPU-accelerated MainConcept Enc.
‒ GPU-accelerated x264

 Pros
Fixed-Function HW
‒ Fast!
‒ Power Efficient!
‒ Most of CPU available for other tasks

 Cons
‒ Additional Area Cost
‒ Least Flexible (hard coded)
‒ Long lead time
 Examples
‒ Applications in the market that
support:
‒ AMD VCE
‒ Intel Quick Sync
‒ NVIDIA NVEnc
AMD Video Coding Engine
AMD VIDEO CODING ENGINE (VCE)

VCE is AMD’s dedicated fixed-function
video coding engine for improved
video encoding performance

7 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
VCE TARGET PLATFORMS

AMD APUs

AMD Discrete GPUs

Server

Yes

Yes

Desktop

Yes

Yes

All-in-one

Yes

Yes

Premium Notebook

Yes

Yes

Value Notebook

Yes

Possible

Tablet

Yes

N/A

8 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
VCE MAIN USE CASES

(*) Courtesy of Cyberlink, Inc.

VCE

(**) Courtesy of CiiNow, Inc.
9 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
VCE CAPABILITIES
 Up to 3x 1080p@~30fps per instance

 Low-power budget

 Multi-streaming support

 Configurable speed/quality tradeoff

 Flexible/programmable to meet various use-cases

10 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
Bitrate

DESIGN ASPECTS OF VCE

11 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
VCE CREW – OUR EVERYDAY STORY!

“I don’t believe in perfection. I don’t think there is
such a thing. But the energy of wanting things to be
great is a perfectionist energy!”
Reese Witherspoon
Hollywood Actress & Academy Award Winner

“Have no fear of perfection – you’ll never reach it!”
Salvador Dalí
Spanish Painter/Artist

12 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
Low Latency Encoding
LATENCY IS KEY!
WHAT IS LATENCY?

 Latency is the elapsed time between the user’s input and his/her perception of the corresponding game reaction

−

< 100–150 ms
Game server
Game Engine

User
Display

Decoded
Picture
Buffer

Decoder

Code
Picture
Buffer

Network
Encoder
Buffer

Encoder

Rendering

Game client

Graphics Commands

Rendered Frame

Compressed Stream

Decoded Frame

NAL Units

Network Packets

14 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
LATENCY IS KEY!
WHAT IS ENCODING LATENCY?

 Encoding latency is the elapsed time between a frame is rendered on the server and it is decoded on the client

Game server
Game Engine

User
Display

Network

Decoded
Picture
Buffer

Decoder

Code
Picture
Buffer

Encoder
Buffer

Encoder

Rendering

Game client

Rendered Frame
Decoded Frame
15 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

Compressed Stream

NAL Units

Network Packets
ENCODE SPEED VS. QUALITY
HOW FAST CAN VCE ENCODE?

 VCE Quality Presets

1080p

720p

480p

Speed

95 fps

215 fps

535

Balanced

80 fps

180 fps

470

Quality

40 fps

90 fps

250

16 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
BUFFERING DELAY VS. QUALITY
WHY BUFFERING?

 Constant Quantization Parameter (CQP)
Instantaneous bitrate (mbits/s)

70

60
50
40
CQP

30

Avg. Bitrate (6Mbit/s)

20
10
0

0

10

20

30

40

50

60

Tranmission over a
Constant Bitrate (CBR)
channel of 6 Mbit/s ?

Frame number

Buffering
Transmission delay
(latency!)
17 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
BUFFERING DELAYS VS. QUALITY

Input Rate

WHAT IS CBR?

 Constant Bit Rate (CBR) Rate Control
Buffer

‒ Control transmission delays (i.e., # bits per picture) by adjusting QPs
‒ Leaky bucket model

Size (B)

‒ Defined by the triplet
‒ Avoid encoder buffer underflow and overflow (i.e., transmission bitrate = encoding bitrate)

Output Rate (R)

 Encoder can predict the decoder
buffer fullness

B

B

F

b2

b0 b1

b1

 Buffering latency is smaller than B/R

b2

b0
S0+De
S1

Fullness (F)

Decoder buffer
fullness

Encoder buffer
fullness

S0

Initial

S2

…

time

T0-Dd

18 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

T0

T1

T2

…

time
LATENCY VS. QUALITY
WHAT IS VBR?

 Variable Bit Rate (VBR) Rate Control
‒ Channel can stop transmission without loosing synchronization (e.g., packet based networks)
‒ Leaky bucket model
‒ Defined by the triplet
‒ Avoid only encoder buffer overflow (i.e., transmission bitrate may be higher than the encoding bitrate)

Allows shorter buffering delay

AMD Media SDK exposes two VBR modes:
Peak-Constrained VBR, and Latency-Constrained VBR
19 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
LATENCY VS. QUALITY
HOW BUFFERING LATENCY IMPACTS QUALITY?

 High buffering delay
‒
‒
‒
‒
‒

Peak-Constrained VBR
Target Bitrate = 6 Mbps
Peak Bitrate = 6 Mbps
VBVBufferSize = 6 Mbits (i.e., buffering latency of 1000 ms)
IDRPeriod = 60

Instantaneous bitrate (mbits/s)

70
60
50
40

VBR High Buffering Latency
30

CQP

20

Avg. Bitrate (6Mbit/s)

10
0
0

10

20

30
Frame number

20 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

40

50

60

Reduce overshoots with
limited quality impact
LATENCY VS. QUALITY
HOW BUFFERING LATENCY IMPACTS QUALITY?

 Low buffering delay
‒
‒
‒
‒
‒

Latency-Constrained VBR
Target Bitrate = 6 Mbps
Peak Bitrate = 6 Mbps
VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms)
IDRPeriod = 60

Instantaneous bitrate (mbits/s)

70
60
50
40

VBR Low Buffering Latency

30

VBR High Buffering Latency
CQP

20

Avg. Bitrate (6Mbit/s)
10
0
0

10

20

30
Frame number

21 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

40

50

60

Minimum buffering delays
LATENCY VS. QUALITY
HOW BUFFERING LATENCY IMPACTS QUALITY?

 Low buffering delay
Frame 300 (IDR)

Poor IDR frames quality

Replace IDR frames with
partially intra-encoded frames

22 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
ERROR RESILIENCY VS. QUALITY
WHAT IS INTRA-REFRESH?

 Intra-refresh principle

IDR

23 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

P

P

P
ERROR RESILIENCY VS. QUALITY
WHAT IS INTRA-REFRESH?

 Intra-refresh principle
‒ Spread out Intra Units throughout successive pictures
‒ Constraint inter/intra-prediction to preserve error resiliency (i.e., Dirty/Clean Maps)

Restriction on
Search Region

I

D

D

D

C

Restriction on
Search Region

24 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

I

D

D

C

C

I

D

Restriction on
Search Region

C

C

C

I
ERROR RESILIENCY VS. QUALITY
HOW INTRA-REFRESH IMPACTS QUALITY?

 Intra-refresh with low buffering delay
‒
‒
‒
‒
‒

VBR Rate Control
Target Bitrate = 6 Mbps
Peak Bitrate = 6 Mbps
VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms)
IDRPeriod = 60

25 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
ERROR RESILIENCY VS. QUALITY
HOW INTRA-REFRESH IMPACTS QUALITY?

 Intra-refresh with low buffering delay
Frame 300 (IDR)

26 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
ERROR RESILIENCY VS. QUALITY
HOW INTRA-REFRESH IMPACTS QUALITY?

 Intra-refresh with low buffering delay
Frame 300 (Intra-Refreshed)

Improved IDR frames quality

27 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
COMPARATIVE EVALUATION
HOW GOOD IS VCE?

 VCE vs. Software Encoder
‒
‒
‒
‒
‒
‒

VBR Rate Control
Target Bitrate = 6 Mbps
Peak Bitrate = 6 Mbps
VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms)
IDRPeriod = 60
Intra-refresh

28 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

Software Encoder
COMPARATIVE EVALUATION
HOW GOOD IS VCE?

 VCE vs. Software Encoder
VCE

29 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

Software Encoder
Conclusions
CONCLUSIONS
 Fixed-Function HW acceleration is the prevalent technology for video compression
 AMD MediaSDK and RapidFire allow application developers to configure VCE parameters
‒ Latency/Error Resiliency/Quality
‒ Number of encoded streams/Power/NW-efficiency

 VCE offers an out-of-the-box solution for ultra-low latency cloud gaming
‒ Special rate control settings
‒ Intra-refresh support

 Deployed in the solutions of various cloud-gaming partners

31 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
Thank You!
DISCLAIMER & ATTRIBUTION

The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors.
The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap
changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software
changes, BIOS flashes, firmware upgrades, or the like. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD
reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of
such revisions or changes.
AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY
INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION.
AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE
LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION
CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

ATTRIBUTION
© 2013 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices,
Inc. in the United States and/or other jurisdictions. Other names are for informational purposes only and may be trademarks of their respective owners.

33 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013

Contenu connexe

Tendances

Customizing a production pipeline
Customizing a production pipelineCustomizing a production pipeline
Customizing a production pipelineFelipe Lira
 
No.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comNo.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comTTBVS
 
Introducing Secure City Omni Products
Introducing Secure City Omni ProductsIntroducing Secure City Omni Products
Introducing Secure City Omni ProductsTanya Browne
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...Project ACRN
 
AG-HMR10 en AG-HCK10
AG-HMR10 en AG-HCK10AG-HMR10 en AG-HCK10
AG-HMR10 en AG-HCK10AVNed
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN
 
Technology model
Technology modelTechnology model
Technology modelu083486
 
Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment a8us
 
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v220111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2Werner Fischer
 
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorProject ACRN
 
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Ryousei Takano
 
ARM architecture and boards
ARM architecture and boardsARM architecture and boards
ARM architecture and boardsdalilah clipatra
 
Grassvalley ADVC series
Grassvalley ADVC seriesGrassvalley ADVC series
Grassvalley ADVC seriesAV ProfShop
 
Multicast tutorial v3
Multicast tutorial v3Multicast tutorial v3
Multicast tutorial v3Ajay Karri
 

Tendances (20)

Customizing a production pipeline
Customizing a production pipelineCustomizing a production pipeline
Customizing a production pipeline
 
Williams xen summit 2010
Williams   xen summit 2010Williams   xen summit 2010
Williams xen summit 2010
 
No.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.comNo.2 specification- www.ttbvs.com
No.2 specification- www.ttbvs.com
 
Introducing Secure City Omni Products
Introducing Secure City Omni ProductsIntroducing Secure City Omni Products
Introducing Secure City Omni Products
 
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
ACRN vMeet-Up EU 2021 - Bridging Orchestrator and Hard Realtime Workload Cons...
 
AG-HMR10 en AG-HCK10
AG-HMR10 en AG-HCK10AG-HMR10 en AG-HCK10
AG-HMR10 en AG-HCK10
 
Project ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorialProject ACRN GVT-d introduction and tutorial
Project ACRN GVT-d introduction and tutorial
 
Technology model
Technology modelTechnology model
Technology model
 
Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment
 
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v220111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
20111130 hardware-monitoring-with-the-new-ipmi-plugin-v2
 
Sony PMW-350K
Sony PMW-350KSony PMW-350K
Sony PMW-350K
 
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisorACRN vMeet-Up EU 2021 - debug ACRN hypervisor
ACRN vMeet-Up EU 2021 - debug ACRN hypervisor
 
Q7 SoM presentation at FTF India,2011
Q7 SoM presentation at FTF India,2011Q7 SoM presentation at FTF India,2011
Q7 SoM presentation at FTF India,2011
 
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
Cooperative VM Migration for a virtualized HPC Cluster with VMM-bypass I/O de...
 
ARM architecture and boards
ARM architecture and boardsARM architecture and boards
ARM architecture and boards
 
Grassvalley ADVC series
Grassvalley ADVC seriesGrassvalley ADVC series
Grassvalley ADVC series
 
Multicast tutorial v3
Multicast tutorial v3Multicast tutorial v3
Multicast tutorial v3
 
SVSi_Networked AV
SVSi_Networked AVSVSi_Networked AV
SVSi_Networked AV
 
Huss encoder &_decoder_ds
Huss encoder &_decoder_dsHuss encoder &_decoder_ds
Huss encoder &_decoder_ds
 
Dtu 245 leaflet
Dtu 245 leafletDtu 245 leaflet
Dtu 245 leaflet
 

Similaire à AMD VIDEO CODING ENGINE: THE ROUTE TOWARDS LOW-LATENCY CLOUD GAMING SOLUTIONS

Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUDelivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUAMD
 
Direct3D and the Future of Graphics APIs - AMD at GDC14
Direct3D and the Future of Graphics APIs - AMD at GDC14Direct3D and the Future of Graphics APIs - AMD at GDC14
Direct3D and the Future of Graphics APIs - AMD at GDC14AMD Developer Central
 
IS-4081, Rabbit: Reinventing Video Chat, by Philippe Clavel
IS-4081, Rabbit: Reinventing Video Chat, by Philippe ClavelIS-4081, Rabbit: Reinventing Video Chat, by Philippe Clavel
IS-4081, Rabbit: Reinventing Video Chat, by Philippe ClavelAMD Developer Central
 
Direct3D12 and the Future of Graphics APIs by Dave Oldcorn
Direct3D12 and the Future of Graphics APIs by Dave OldcornDirect3D12 and the Future of Graphics APIs by Dave Oldcorn
Direct3D12 and the Future of Graphics APIs by Dave OldcornAMD Developer Central
 
Choosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingChoosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingCAST, Inc.
 
Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Altera Corporation
 
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUHot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUAMD
 
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...AMD Developer Central
 
GS-4139, RapidFire for Cloud Gaming, by Dmitry Kozlov
GS-4139, RapidFire for Cloud Gaming, by Dmitry KozlovGS-4139, RapidFire for Cloud Gaming, by Dmitry Kozlov
GS-4139, RapidFire for Cloud Gaming, by Dmitry KozlovAMD Developer Central
 
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld
 
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14AMD Developer Central
 
3Gbps SDI Video Solution
3Gbps SDI Video Solution 3Gbps SDI Video Solution
3Gbps SDI Video Solution Premier Farnell
 
VMworld 2013: PCoIP: Sizing For Success
VMworld 2013: PCoIP: Sizing For SuccessVMworld 2013: PCoIP: Sizing For Success
VMworld 2013: PCoIP: Sizing For SuccessVMworld
 
2014 AMD Low-Power Mobile APUs
2014 AMD Low-Power Mobile APUs2014 AMD Low-Power Mobile APUs
2014 AMD Low-Power Mobile APUsAMD
 
How to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR ReadyHow to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR ReadyNVIDIA Taiwan
 
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla MahGS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla MahAMD Developer Central
 
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUHot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUAMD
 
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...AMD Developer Central
 

Similaire à AMD VIDEO CODING ENGINE: THE ROUTE TOWARDS LOW-LATENCY CLOUD GAMING SOLUTIONS (20)

Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APUDelivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
Delivering a new level of visual performance in an SoC AMD "Raven Ridge" APU
 
Direct3D and the Future of Graphics APIs - AMD at GDC14
Direct3D and the Future of Graphics APIs - AMD at GDC14Direct3D and the Future of Graphics APIs - AMD at GDC14
Direct3D and the Future of Graphics APIs - AMD at GDC14
 
IS-4081, Rabbit: Reinventing Video Chat, by Philippe Clavel
IS-4081, Rabbit: Reinventing Video Chat, by Philippe ClavelIS-4081, Rabbit: Reinventing Video Chat, by Philippe Clavel
IS-4081, Rabbit: Reinventing Video Chat, by Philippe Clavel
 
Direct3D12 and the Future of Graphics APIs by Dave Oldcorn
Direct3D12 and the Future of Graphics APIs by Dave OldcornDirect3D12 and the Future of Graphics APIs by Dave Oldcorn
Direct3D12 and the Future of Graphics APIs by Dave Oldcorn
 
Choosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video StreamingChoosing the Right IP Cores for Low-Latency Video Streaming
Choosing the Right IP Cores for Low-Latency Video Streaming
 
Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2Upgrade Your Broadcast System to PCIe Gen2
Upgrade Your Broadcast System to PCIe Gen2
 
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUHot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
 
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...
CE-4028, Miracast with AMD Wireless Display technology – Kickass gaming and o...
 
GS-4139, RapidFire for Cloud Gaming, by Dmitry Kozlov
GS-4139, RapidFire for Cloud Gaming, by Dmitry KozlovGS-4139, RapidFire for Cloud Gaming, by Dmitry Kozlov
GS-4139, RapidFire for Cloud Gaming, by Dmitry Kozlov
 
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
 
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14
RapidFire - the Easy Route to low Latency Cloud Gaming Solutions - AMD at GDC14
 
3Gbps SDI Video Solution
3Gbps SDI Video Solution 3Gbps SDI Video Solution
3Gbps SDI Video Solution
 
VMworld 2013: PCoIP: Sizing For Success
VMworld 2013: PCoIP: Sizing For SuccessVMworld 2013: PCoIP: Sizing For Success
VMworld 2013: PCoIP: Sizing For Success
 
2014 AMD Low-Power Mobile APUs
2014 AMD Low-Power Mobile APUs2014 AMD Low-Power Mobile APUs
2014 AMD Low-Power Mobile APUs
 
How to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR ReadyHow to Choose Mobile Workstation? VR Ready
How to Choose Mobile Workstation? VR Ready
 
The Road to Ultra Low Latency
The Road to Ultra Low LatencyThe Road to Ultra Low Latency
The Road to Ultra Low Latency
 
H0534248
H0534248H0534248
H0534248
 
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla MahGS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
GS-4106 The AMD GCN Architecture - A Crash Course, by Layla Mah
 
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APUHot Chips: AMD Next Gen 7nm Ryzen 4000 APU
Hot Chips: AMD Next Gen 7nm Ryzen 4000 APU
 
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...
Keynote (Dr. Lisa Su) - Developers: The Heart of AMD Innovation - by Dr. Lisa...
 

Dernier

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 

Dernier (20)

Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

AMD VIDEO CODING ENGINE: THE ROUTE TOWARDS LOW-LATENCY CLOUD GAMING SOLUTIONS

  • 1. AMD VIDEO CODING ENGINE THE ROUTE TOWARDS LOW-LATENCY CLOUD GAMING SOLUTIONS
  • 2. AGENDA Introduction AMD Video Coding Engine Low Latency Encoding Conclusions 2 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 4. A LITTLE BIT OF HISTORY! Perf/W CPU CPU HW IP HWaccelerated Video Coding GPU GPUaccelerated Video Coding CPU CPU-based Video Coding 2008/9 4 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 2011/12 Year
  • 5. CPU VS. GPU VS. FIXED-FUNCTION-HW VIDEO COMPRESSION CPU  Pros ‒ No extra dollars ‒ Higher achievable qualities at target bitrates (less architectural limitations) ‒ High Flexibility & Short Lead Time ‒ Can be optimized by advanced IS (e.g. MMX)  Cons ‒ Limited Operations per WATT ‒ Monopolized CPU  Examples ‒ Handbrake/x264 5 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013  Pros CPU+GPU ‒ No extra dollars ‒ Part of CPU available for other tasks ‒ SW-based – Still Flexible & relatively Short Lead Time  Cons ‒ Limited Operations per WATT ‒ Major design and code changes to leverage parallelism ‒ Massive parallelism impacts quality/bitrate  Examples ‒ GPU-accelerated MainConcept Enc. ‒ GPU-accelerated x264  Pros Fixed-Function HW ‒ Fast! ‒ Power Efficient! ‒ Most of CPU available for other tasks  Cons ‒ Additional Area Cost ‒ Least Flexible (hard coded) ‒ Long lead time  Examples ‒ Applications in the market that support: ‒ AMD VCE ‒ Intel Quick Sync ‒ NVIDIA NVEnc
  • 7. AMD VIDEO CODING ENGINE (VCE) VCE is AMD’s dedicated fixed-function video coding engine for improved video encoding performance 7 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 8. VCE TARGET PLATFORMS AMD APUs AMD Discrete GPUs Server Yes Yes Desktop Yes Yes All-in-one Yes Yes Premium Notebook Yes Yes Value Notebook Yes Possible Tablet Yes N/A 8 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 9. VCE MAIN USE CASES (*) Courtesy of Cyberlink, Inc. VCE (**) Courtesy of CiiNow, Inc. 9 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 10. VCE CAPABILITIES  Up to 3x 1080p@~30fps per instance  Low-power budget  Multi-streaming support  Configurable speed/quality tradeoff  Flexible/programmable to meet various use-cases 10 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 11. Bitrate DESIGN ASPECTS OF VCE 11 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 12. VCE CREW – OUR EVERYDAY STORY! “I don’t believe in perfection. I don’t think there is such a thing. But the energy of wanting things to be great is a perfectionist energy!” Reese Witherspoon Hollywood Actress & Academy Award Winner “Have no fear of perfection – you’ll never reach it!” Salvador Dalí Spanish Painter/Artist 12 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 14. LATENCY IS KEY! WHAT IS LATENCY?  Latency is the elapsed time between the user’s input and his/her perception of the corresponding game reaction − < 100–150 ms Game server Game Engine User Display Decoded Picture Buffer Decoder Code Picture Buffer Network Encoder Buffer Encoder Rendering Game client Graphics Commands Rendered Frame Compressed Stream Decoded Frame NAL Units Network Packets 14 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 15. LATENCY IS KEY! WHAT IS ENCODING LATENCY?  Encoding latency is the elapsed time between a frame is rendered on the server and it is decoded on the client Game server Game Engine User Display Network Decoded Picture Buffer Decoder Code Picture Buffer Encoder Buffer Encoder Rendering Game client Rendered Frame Decoded Frame 15 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 Compressed Stream NAL Units Network Packets
  • 16. ENCODE SPEED VS. QUALITY HOW FAST CAN VCE ENCODE?  VCE Quality Presets 1080p 720p 480p Speed 95 fps 215 fps 535 Balanced 80 fps 180 fps 470 Quality 40 fps 90 fps 250 16 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 17. BUFFERING DELAY VS. QUALITY WHY BUFFERING?  Constant Quantization Parameter (CQP) Instantaneous bitrate (mbits/s) 70 60 50 40 CQP 30 Avg. Bitrate (6Mbit/s) 20 10 0 0 10 20 30 40 50 60 Tranmission over a Constant Bitrate (CBR) channel of 6 Mbit/s ? Frame number Buffering Transmission delay (latency!) 17 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 18. BUFFERING DELAYS VS. QUALITY Input Rate WHAT IS CBR?  Constant Bit Rate (CBR) Rate Control Buffer ‒ Control transmission delays (i.e., # bits per picture) by adjusting QPs ‒ Leaky bucket model Size (B) ‒ Defined by the triplet ‒ Avoid encoder buffer underflow and overflow (i.e., transmission bitrate = encoding bitrate) Output Rate (R)  Encoder can predict the decoder buffer fullness B B F b2 b0 b1 b1  Buffering latency is smaller than B/R b2 b0 S0+De S1 Fullness (F) Decoder buffer fullness Encoder buffer fullness S0 Initial S2 … time T0-Dd 18 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 T0 T1 T2 … time
  • 19. LATENCY VS. QUALITY WHAT IS VBR?  Variable Bit Rate (VBR) Rate Control ‒ Channel can stop transmission without loosing synchronization (e.g., packet based networks) ‒ Leaky bucket model ‒ Defined by the triplet ‒ Avoid only encoder buffer overflow (i.e., transmission bitrate may be higher than the encoding bitrate) Allows shorter buffering delay AMD Media SDK exposes two VBR modes: Peak-Constrained VBR, and Latency-Constrained VBR 19 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 20. LATENCY VS. QUALITY HOW BUFFERING LATENCY IMPACTS QUALITY?  High buffering delay ‒ ‒ ‒ ‒ ‒ Peak-Constrained VBR Target Bitrate = 6 Mbps Peak Bitrate = 6 Mbps VBVBufferSize = 6 Mbits (i.e., buffering latency of 1000 ms) IDRPeriod = 60 Instantaneous bitrate (mbits/s) 70 60 50 40 VBR High Buffering Latency 30 CQP 20 Avg. Bitrate (6Mbit/s) 10 0 0 10 20 30 Frame number 20 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 40 50 60 Reduce overshoots with limited quality impact
  • 21. LATENCY VS. QUALITY HOW BUFFERING LATENCY IMPACTS QUALITY?  Low buffering delay ‒ ‒ ‒ ‒ ‒ Latency-Constrained VBR Target Bitrate = 6 Mbps Peak Bitrate = 6 Mbps VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms) IDRPeriod = 60 Instantaneous bitrate (mbits/s) 70 60 50 40 VBR Low Buffering Latency 30 VBR High Buffering Latency CQP 20 Avg. Bitrate (6Mbit/s) 10 0 0 10 20 30 Frame number 21 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 40 50 60 Minimum buffering delays
  • 22. LATENCY VS. QUALITY HOW BUFFERING LATENCY IMPACTS QUALITY?  Low buffering delay Frame 300 (IDR) Poor IDR frames quality Replace IDR frames with partially intra-encoded frames 22 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 23. ERROR RESILIENCY VS. QUALITY WHAT IS INTRA-REFRESH?  Intra-refresh principle IDR 23 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 P P P
  • 24. ERROR RESILIENCY VS. QUALITY WHAT IS INTRA-REFRESH?  Intra-refresh principle ‒ Spread out Intra Units throughout successive pictures ‒ Constraint inter/intra-prediction to preserve error resiliency (i.e., Dirty/Clean Maps) Restriction on Search Region I D D D C Restriction on Search Region 24 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 I D D C C I D Restriction on Search Region C C C I
  • 25. ERROR RESILIENCY VS. QUALITY HOW INTRA-REFRESH IMPACTS QUALITY?  Intra-refresh with low buffering delay ‒ ‒ ‒ ‒ ‒ VBR Rate Control Target Bitrate = 6 Mbps Peak Bitrate = 6 Mbps VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms) IDRPeriod = 60 25 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 26. ERROR RESILIENCY VS. QUALITY HOW INTRA-REFRESH IMPACTS QUALITY?  Intra-refresh with low buffering delay Frame 300 (IDR) 26 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 27. ERROR RESILIENCY VS. QUALITY HOW INTRA-REFRESH IMPACTS QUALITY?  Intra-refresh with low buffering delay Frame 300 (Intra-Refreshed) Improved IDR frames quality 27 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 28. COMPARATIVE EVALUATION HOW GOOD IS VCE?  VCE vs. Software Encoder ‒ ‒ ‒ ‒ ‒ ‒ VBR Rate Control Target Bitrate = 6 Mbps Peak Bitrate = 6 Mbps VBVBufferSize = 0.1Mbits (i.e., buffering latency of 16 ms) IDRPeriod = 60 Intra-refresh 28 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 Software Encoder
  • 29. COMPARATIVE EVALUATION HOW GOOD IS VCE?  VCE vs. Software Encoder VCE 29 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013 Software Encoder
  • 31. CONCLUSIONS  Fixed-Function HW acceleration is the prevalent technology for video compression  AMD MediaSDK and RapidFire allow application developers to configure VCE parameters ‒ Latency/Error Resiliency/Quality ‒ Number of encoded streams/Power/NW-efficiency  VCE offers an out-of-the-box solution for ultra-low latency cloud gaming ‒ Special rate control settings ‒ Intra-refresh support  Deployed in the solutions of various cloud-gaming partners 31 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013
  • 33. DISCLAIMER & ATTRIBUTION The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes. AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ATTRIBUTION © 2013 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc. in the United States and/or other jurisdictions. Other names are for informational purposes only and may be trademarks of their respective owners. 33 | AMD VCE FOR LOW-LATENCY CLOUD GAMING | NOVEMBER 19, 2013