Disable firewall check. It takes signifficant time, need to be on FILE thread.
[chromium-blink-merge.git] / media / video / capture / android / imageformat_list.h
blobfe8cfb232b6e973c5c94bab62963722c6eb0022e
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file intentionally does not have header guards, it's included
6 // inside a macro to generate enum and a java class for the values.
8 #ifndef DEFINE_ANDROID_IMAGEFORMAT
9 #error "DEFINE_ANDROID_IMAGEFORMAT should be defined."
10 #endif
12 // Android graphics ImageFormat mapping, see reference in:
13 // http://developer.android.com/reference/android/graphics/ImageFormat.html
15 DEFINE_ANDROID_IMAGEFORMAT(ANDROID_IMAGEFORMAT_NV21, 17)
16 DEFINE_ANDROID_IMAGEFORMAT(ANDROID_IMAGEFORMAT_YV12, 842094169)
18 DEFINE_ANDROID_IMAGEFORMAT(ANDROID_IMAGEFORMAT_UNKNOWN, 0)