1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24

media / gpu / README.md [blame]

# //media/gpu

This directory contains `//media` code that runs in the GPU process; this
includes video, audio, and image decoders and encoders.

Common classes shared between platforms are here:

* `AcceleratedVideoDecoder` and its implementations `AV1Decoder`, `H264Decoder`,
  `H265Decoder`, `VP8Decoder`, and `VP9Decoder`.
* `CommandBufferHelper`, which provides utilities for operating inside of a
  renderer's `CommandBuffer` from inside the GPU process.
* `GpuVideoAcceleratorFactory`, which provides `VideoDecodeAccelerator`
  implementations to the IPC layer.

# //media/gpu/ipc

Glue to use `VideoDecodeAccelerator` implementations via
`MojoVideoDecoderService`.

# Platform-specific directories

There are platform-specific directories for `android`, `chromeos`, `mac`, and
`windows`, as well as `v4l2` and `vaapi` which are can be built on chromeos and
linux. (Video decoding on fuchsia does not go through the GPU process.)