Commit 163ccd4d authored by wuchengli's avatar wuchengli Committed by Commit bot

Change image processor name from /dev/gsc0 to /dev/image-proc0.

Another platform will have image processor. Change the device
name of image processor to more generic.

BUG=chrome-os-partner:38980
TEST=Test apprtc loopback on peach pit.

Review URL: https://codereview.chromium.org/1156803004

Cr-Commit-Position: refs/heads/master@{#333674}
parent 77a20918
......@@ -36,7 +36,7 @@ namespace content {
namespace {
const char kDecoderDevice[] = "/dev/video-dec";
const char kEncoderDevice[] = "/dev/video-enc";
const char kImageProcessorDevice[] = "/dev/gsc0";
const char kImageProcessorDevice[] = "/dev/image-proc0";
}
GenericV4L2Device::GenericV4L2Device(Type type)
......
......@@ -59,11 +59,11 @@ void AddArmMaliGpuWhitelist(std::vector<BrokerFilePermission>* permissions) {
// Device file needed by the ARM GPU userspace.
static const char kMali0Path[] = "/dev/mali0";
// Video processor used on ARM Exynos platforms.
static const char kDevGsc0Path[] = "/dev/gsc0";
// Image processor used on ARM platforms.
static const char kDevImageProc0Path[] = "/dev/image-proc0";
permissions->push_back(BrokerFilePermission::ReadWrite(kMali0Path));
permissions->push_back(BrokerFilePermission::ReadWrite(kDevGsc0Path));
permissions->push_back(BrokerFilePermission::ReadWrite(kDevImageProc0Path));
}
void AddArmGpuWhitelist(std::vector<BrokerFilePermission>* permissions) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment