mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
9599965900
- Use a single remote decoder IPDL spec and make a remote decoding base class. Renames PRemoteVideoDecoder.ipdl to PRemoteDecoder.ipdl Renames RemoteVideoDecoder{Child|Parent}.{cpp|h} to RemoteDecoder{Child|Parent}.{cpp|h} - Move remote video decoding to new subclasses. Creates RemoteVideoDecoder.{cpp|h} that contains both the parent and child sides of the RemoteVideoDecoder{Child|Parent} classes. - Create new remote audio decoder Creates RemoteAudioDecoder.{cpp|h} that contains both the parent and child sides of the RemoteAudioDecoder{Child|Parent} classes. - Connect all the plumbing to use the new remote audio decoder to decode Vorbis in RDD including a new pref to control whether Vorbis is decoding in the AgnosticDecoderModule or the RemoteDecoderModule/RDD (media.rdd-vorbis.enabled). Depends on D18640 Differential Revision: https://phabricator.services.mozilla.com/D18641 --HG-- rename : dom/media/ipc/PRemoteVideoDecoder.ipdl => dom/media/ipc/PRemoteDecoder.ipdl rename : dom/media/ipc/RemoteVideoDecoderChild.cpp => dom/media/ipc/RemoteDecoderChild.cpp rename : dom/media/ipc/RemoteVideoDecoderChild.h => dom/media/ipc/RemoteDecoderChild.h rename : dom/media/ipc/RemoteVideoDecoderParent.cpp => dom/media/ipc/RemoteDecoderParent.cpp rename : dom/media/ipc/RemoteVideoDecoderParent.h => dom/media/ipc/RemoteDecoderParent.h extra : moz-landing-system : lando
71 lines
1.8 KiB
Python
71 lines
1.8 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
|
IPDL_SOURCES += [
|
|
'PMediaDecoderParams.ipdlh',
|
|
'PRDD.ipdl',
|
|
'PRemoteDecoder.ipdl',
|
|
'PRemoteDecoderManager.ipdl',
|
|
'PVideoDecoder.ipdl',
|
|
'PVideoDecoderManager.ipdl',
|
|
]
|
|
|
|
EXPORTS.mozilla += [
|
|
'GpuDecoderModule.h',
|
|
'IRemoteDecoderChild.h',
|
|
'RDDChild.h',
|
|
'RDDParent.h',
|
|
'RDDProcessHost.h',
|
|
'RDDProcessImpl.h',
|
|
'RDDProcessManager.h',
|
|
'RemoteDecoderChild.h',
|
|
'RemoteDecoderManagerChild.h',
|
|
'RemoteDecoderManagerParent.h',
|
|
'RemoteDecoderModule.h',
|
|
'RemoteDecoderParent.h',
|
|
'RemoteMediaDataDecoder.h',
|
|
'VideoDecoderChild.h',
|
|
'VideoDecoderManagerChild.h',
|
|
'VideoDecoderManagerParent.h',
|
|
'VideoDecoderParent.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.dom += [
|
|
'MediaIPCUtils.h',
|
|
]
|
|
|
|
SOURCES += [
|
|
'GpuDecoderModule.cpp',
|
|
'RDDChild.cpp',
|
|
'RDDParent.cpp',
|
|
'RDDProcessHost.cpp',
|
|
'RDDProcessImpl.cpp',
|
|
'RDDProcessManager.cpp',
|
|
'RemoteAudioDecoder.cpp',
|
|
'RemoteDecoderChild.cpp',
|
|
'RemoteDecoderManagerChild.cpp',
|
|
'RemoteDecoderManagerParent.cpp',
|
|
'RemoteDecoderModule.cpp',
|
|
'RemoteDecoderParent.cpp',
|
|
'RemoteMediaDataDecoder.cpp',
|
|
'RemoteVideoDecoder.cpp',
|
|
'VideoDecoderChild.cpp',
|
|
'VideoDecoderManagerChild.cpp',
|
|
'VideoDecoderManagerParent.cpp',
|
|
'VideoDecoderParent.cpp',
|
|
]
|
|
|
|
# so we can include nsMacUtilsImpl.h in RDDParent.cpp for sandboxing
|
|
LOCAL_INCLUDES += [
|
|
'/xpcom/base',
|
|
]
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|