tree: 4f1520273f775fb77c7cf64e2c026165ec0b3656 [path history] [tgz]
  1. android/
  2. chromeos/
  3. ipc/
  4. mac/
  5. sandbox/
  6. test/
  7. v4l2/
  8. vaapi/
  9. windows/
  10. accelerated_video_decoder.h
  11. args.gni
  12. av1_decoder.cc
  13. av1_decoder.h
  14. av1_decoder_fuzzertest.cc
  15. av1_decoder_unittest.cc
  16. av1_picture.cc
  17. av1_picture.h
  18. buffer_validation.cc
  19. buffer_validation.h
  20. buffer_validation_unittest.cc
  21. BUILD.gn
  22. codec_picture.cc
  23. codec_picture.h
  24. command_buffer_helper.cc
  25. command_buffer_helper.h
  26. decode_surface_handler.h
  27. DEPS
  28. exponential_moving_average.cc
  29. exponential_moving_average.h
  30. exponential_moving_average_unittest.cc
  31. frame_size_estimator.cc
  32. frame_size_estimator.h
  33. frame_size_estimator_unittest.cc
  34. gles2_decoder_helper.cc
  35. gles2_decoder_helper.h
  36. gpu_video_accelerator_util.cc
  37. gpu_video_accelerator_util.h
  38. gpu_video_decode_accelerator_factory.cc
  39. gpu_video_decode_accelerator_factory.h
  40. gpu_video_decode_accelerator_helpers.cc
  41. gpu_video_decode_accelerator_helpers.h
  42. gpu_video_encode_accelerator_factory.cc
  43. gpu_video_encode_accelerator_factory.h
  44. gpu_video_encode_accelerator_helpers.cc
  45. gpu_video_encode_accelerator_helpers.h
  46. h264_builder.cc
  47. h264_builder.h
  48. h264_builder_unittest.cc
  49. h264_decoder.cc
  50. h264_decoder.h
  51. h264_decoder_fuzzer.cc
  52. h264_decoder_unittest.cc
  53. h264_dpb.cc
  54. h264_dpb.h
  55. h264_rate_control_util.cc
  56. h264_rate_control_util.h
  57. h264_rate_control_util_unittest.cc
  58. h264_rate_controller.cc
  59. h264_rate_controller.h
  60. h264_rate_controller_unittest.cc
  61. h265_decoder.cc
  62. h265_decoder.h
  63. h265_decoder_fuzzer.cc
  64. h265_decoder_unittest.cc
  65. h265_dpb.cc
  66. h265_dpb.h
  67. hrd_buffer.cc
  68. hrd_buffer.h
  69. hrd_buffer_unittest.cc
  70. macros.h
  71. media_gpu_export.h
  72. OWNERS
  73. README.md
  74. video_frame_mapper.cc
  75. video_frame_mapper.h
  76. video_frame_mapper_factory.cc
  77. video_frame_mapper_factory.h
  78. vp8_decoder.cc
  79. vp8_decoder.h
  80. vp8_decoder_fuzzer.cc
  81. vp8_decoder_unittest.cc
  82. vp8_picture.cc
  83. vp8_picture.h
  84. vp8_reference_frame_vector.cc
  85. vp8_reference_frame_vector.h
  86. vp9_decoder.cc
  87. vp9_decoder.h
  88. vp9_decoder_fuzzer.cc
  89. vp9_picture.cc
  90. vp9_picture.h
  91. vp9_reference_frame_vector.cc
  92. vp9_reference_frame_vector.h
  93. vp9_svc_layers.cc
  94. vp9_svc_layers.h
  95. vp9_svc_layers_unittest.cc
media/gpu/README.md

//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.)