Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 114) sorted by relevance

12345

/device/generic/goldfish/camera/
DConverters.h94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r) argument
96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | g) << 8) | r) argument
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument
113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument
122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member
124 uint8_t a; uint8_t b; uint8_t g; uint8_t r;
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument
148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument
149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument
153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument
[all …]
DEmulatedCameraCommon.h57 #define min(a,b) (((a) < (b)) ? (a) : (b)) argument
58 #define max(a,b) (((a) > (b)) ? (a) : (b)) argument
DEmulatedFakeCamera2.cpp847 StreamBuffer b; in setupCapture() local
848 b.streamId = streams.data.u8[i]; in setupCapture()
849 b.width = s.width; in setupCapture()
850 b.height = s.height; in setupCapture()
851 b.format = s.format; in setupCapture()
852 b.stride = s.stride; in setupCapture()
853 mNextBuffers->push_back(b); in setupCapture()
856 i, b.streamId, b.width, b.height, b.format, b.stride); in setupCapture()
857 if (b.format == HAL_PIXEL_FORMAT_BLOB) { in setupCapture()
969 StreamBuffer b; in setupReprocess() local
[all …]
DEmulatedCameraDevice.cpp151 int b = static_cast<float>(YUV2B(y, u, v)) / b_scale; in changeWhiteBalance() local
153 y = RGB2Y(r, g, b); in changeWhiteBalance()
154 u = RGB2U(r, g, b); in changeWhiteBalance()
155 v = RGB2V(r, g, b); in changeWhiteBalance()
/device/sample/apps/SampleEmailPolicy/src/com/android/email/policy/
DEmailPolicy.java216 Bundle b = new Bundle(); in getPolicy() local
217 b.putString(FIND_PROVIDER_IN_URI, "imap+ssl://imap.school.edu"); in getPolicy()
218 b.putString(FIND_PROVIDER_IN_USER, "$email"); in getPolicy()
219 b.putString(FIND_PROVIDER_OUT_URI, "smtp+ssl://smtp.school.edu"); in getPolicy()
220 b.putString(FIND_PROVIDER_OUT_USER, "$email"); in getPolicy()
221 return b; in getPolicy()
234 Bundle b = new Bundle(); in getPolicy() local
235 b.putString(GET_IMAP_ID, MY_DEVICE_ID); in getPolicy()
236 return b; in getPolicy()
/device/generic/goldfish/camera/fake-pipeline2/
DSensor.cpp326 const StreamBuffer &b = (*mNextCapturedBuffers)[i]; in threadLoop() local
329 i, b.streamId, b.width, b.height, b.format, b.stride, in threadLoop()
330 b.buffer, b.img); in threadLoop()
331 switch(b.format) { in threadLoop()
333 captureRaw(b.img, gain, b.stride); in threadLoop()
336 captureRGB(b.img, gain, b.stride); in threadLoop()
339 captureRGBA(b.img, gain, b.stride); in threadLoop()
342 if (b.dataSpace != HAL_DATASPACE_DEPTH) { in threadLoop()
348 bAux.width = b.width; in threadLoop()
349 bAux.height = b.height; in threadLoop()
[all …]
DJpegCompressor.cpp123 const StreamBuffer &b = (*mBuffers)[i]; in compress() local
124 if (b.format == HAL_PIXEL_FORMAT_BLOB) { in compress()
125 mJpegBuffer = b; in compress()
127 } else if (b.streamId <= 0) { in compress()
128 mAuxBuffer = b; in compress()
/device/google/accessory/demokit/firmware/demokit/
Ddemokit.pde150 byte b;
192 b = digitalRead(BUTTON1);
193 if (b != b1) {
195 msg[2] = b ? 0 : 1;
197 b1 = b;
200 b = digitalRead(BUTTON2);
201 if (b != b2) {
203 msg[2] = b ? 0 : 1;
205 b2 = b;
208 b = digitalRead(BUTTON3);
[all …]
/device/google/accessory/demokit/hardware/eng/shield/
Dashield_excellon.cam2 Description[de]="<b>Erzeugt Bohrdaten im Excellon-Format</b><p>\nDieser CAM-Job kann verwendet werd…
3 Description[en]="<b>Generates Excellon Drill Data </b><p>\nThis CAM job can be used to generate dat…
Dashield_gerb274x.cam2 Description[de]="<b>Erzeugt Extended-Gerber-Format (RS274X)</b><p>\nDieser CAM-Job besteht aus fünf…
3 Description[en]="<b>Generates Extended Gerber Format</b><p>\nThis CAM job consists of five sections…
/device/asus/fugu/power/
Dpower.c124 static inline void timespec_sub(struct timespec *res, struct timespec *a, struct timespec *b) in timespec_sub() argument
126 res->tv_sec = a->tv_sec - b->tv_sec; in timespec_sub()
127 if (a->tv_sec >= b->tv_sec) { in timespec_sub()
128 res->tv_nsec = a->tv_nsec - b->tv_nsec; in timespec_sub()
130 res->tv_nsec = 1000000000 - b->tv_nsec + a->tv_nsec; in timespec_sub()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/inc/
Dmm_qcamera_socket.h69 #define TUNESERVER_MAX(a, b) (((a) > (b)) ? (a) : (b)) argument
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheel.java151 int b = ave(Color.blue(c0), Color.blue(c1), p); in interpColor() local
153 return Color.argb(a, r, g, b); in interpColor()
160 int b = Color.blue(color); in rotateColor() local
173 int ir = floatToByte(a[0] * r + a[1] * g + a[2] * b); in rotateColor()
174 int ig = floatToByte(a[5] * r + a[6] * g + a[7] * b); in rotateColor()
175 int ib = floatToByte(a[10] * r + a[11] * g + a[12] * b); in rotateColor()
/device/asus/flo/camera/hdr/include/
Dmorpho_rect_int.h26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \ argument
30 (rect)->ey=(b);\
/device/lge/hammerhead/camera/hdr/include/
Dmorpho_rect_int.h26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \ argument
30 (rect)->ey=(b);\
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h69 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
70 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpegdec_test.c35 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) argument
36 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) argument
/device/lge/hammerhead/original-kernel-headers/media/
Dmsmb_camera.h146 #define msm_v4l2_fourcc(a, b, c, d)\ argument
147 ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) |\
/device/asus/deb/kernel-headers/media/
Dmsmb_camera.h126 #define msm_v4l2_fourcc(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u3… argument
/device/asus/deb/original-kernel-headers/media/
Dmsmb_camera.h135 #define msm_v4l2_fourcc(a, b, c, d)\ argument
136 ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) |\
/device/lge/hammerhead/kernel-headers/media/
Dmsmb_camera.h130 #define msm_v4l2_fourcc(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u3… argument
/device/asus/flo/kernel-headers/media/
Dmsmb_camera.h126 #define msm_v4l2_fourcc(a, b, c, d) ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u3… argument
/device/asus/flo/original-kernel-headers/media/
Dmsmb_camera.h135 #define msm_v4l2_fourcc(a, b, c, d)\ argument
136 ((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) |\
/device/huawei/angler/sepolicy/
Doem_qmi_server.te7 # b/22871314
/device/moto/shamu/sepolicy/
Duntrusted_app.te4 # b/17630431: The unix_socket_connect line above needs to be

12345