Home
last modified time | relevance | path

Searched refs:face (Results 1 – 25 of 90) sorted by relevance

1234

/frameworks/av/services/camera/libcameraservice/camera2/
DFrameProcessor.cpp252 camera_face_t face; in processFaceDetect() local
254 face.rect[0] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 0]); in processFaceDetect()
255 face.rect[1] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 1]); in processFaceDetect()
256 face.rect[2] = l.mParameters.arrayXToNormalized(faceRects[i*4 + 2]); in processFaceDetect()
257 face.rect[3] = l.mParameters.arrayYToNormalized(faceRects[i*4 + 3]); in processFaceDetect()
259 face.score = faceScores[i]; in processFaceDetect()
261 face.id = faceIds[i]; in processFaceDetect()
262 face.left_eye[0] = in processFaceDetect()
264 face.left_eye[1] = in processFaceDetect()
266 face.right_eye[0] = in processFaceDetect()
[all …]
/frameworks/base/core/jni/android/graphics/
DTypeface.cpp32 SkTypeface* face; in Typeface_create() local
35 face = SkTypeface::CreateFromName(NULL, (SkTypeface::Style)style); in Typeface_create()
39 face = SkTypeface::CreateFromName(str.c_str(), style); in Typeface_create()
41 return face; in Typeface_create()
48 static void Typeface_unref(JNIEnv* env, jobject obj, SkTypeface* face) { in Typeface_unref() argument
49 SkSafeUnref(face); in Typeface_unref()
52 static int Typeface_getStyle(JNIEnv* env, jobject obj, SkTypeface* face) { in Typeface_getStyle() argument
53 return face->style(); in Typeface_getStyle()
134 SkTypeface* face = SkTypeface::CreateFromStream(stream); in Typeface_createFromAsset() local
139 return face; in Typeface_createFromAsset()
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdAllocation.cpp42 RsAllocationCubemapFace face) { in GetOffsetPtr() argument
45 ptr += face * drv->faceOffset; in GetOffsetPtr()
54 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
286 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
295 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationData2D()
308 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
314 uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData3D() argument
330 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead2D() argument
339 const uint8_t *src = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationRead2D()
353 uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationRead3D() argument
[all …]
DrsdAllocation.h89 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
95 uint32_t lod, RsAllocationCubemapFace face,
104 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
110 uint32_t lod, RsAllocationCubemapFace face,
/frameworks/rs/driver/
DrsdAllocation.cpp82 RsAllocationCubemapFace face) { in GetOffsetPtr() argument
85 ptr += face * drv->faceOffset; in GetOffsetPtr()
94 RsAllocationCubemapFace face, uint32_t w, uint32_t h) { in Update2DTexture() argument
102 t = gFaceOrder[face]; in Update2DTexture()
120 for (uint32_t face = 0; face < faceCount; face ++) { in Upload2DTexture() local
122 const uint8_t *p = GetOffsetPtr(alloc, 0, 0, lod, (RsAllocationCubemapFace)face); in Upload2DTexture()
126 t = gFaceOrder[face]; in Upload2DTexture()
593 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsdAllocationData2D() argument
602 uint8_t *dst = GetOffsetPtr(alloc, xoff, yoff, lod, face); in rsdAllocationData2D()
615 Update2DTexture(rsc, alloc, data, xoff, yoff, lod, face, w, h); in rsdAllocationData2D()
[all …]
DrsdAllocation.h100 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
106 uint32_t lod, RsAllocationCubemapFace face,
115 uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
121 uint32_t lod, RsAllocationCubemapFace face,
/frameworks/support/renderscript/v8/rs_support/
DrsAdapter.h45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
DrsAllocation.h93 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
95 …text *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
99 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
101 …text *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
DrsAllocation.cpp86 …ation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in data() argument
99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
104 uint32_t lod, RsAllocationCubemapFace face, in data() argument
122 …ation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in read() argument
133 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read()
137 uint32_t lod, RsAllocationCubemapFace face, in read() argument
448 …(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DElementData() argument
460 …xt *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DData() argument
463 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
541 for (uint32_t face = 0; face < 6; face ++) { in rsi_AllocationCubeCreateFromBitmap() local
[all …]
Drs_hal.h59 RsAllocationCubemapFace face; member
158 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
162 uint32_t lod, RsAllocationCubemapFace face,
170 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
174 uint32_t lod, RsAllocationCubemapFace face,
/frameworks/rs/
DrsAdapter.h45 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
77 inline void setFace(RsAllocationCubemapFace face) {mFace = face;} in setFace() argument
DrsAllocation.h96 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
98 …text *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
102 … void read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face,
104 …text *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face,
DrsAllocation.cpp91 …ation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in data() argument
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in data()
109 uint32_t lod, RsAllocationCubemapFace face, in data() argument
127 …ation::read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in read() argument
138 rsc->mHal.funcs.allocation.read2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes); in read()
142 uint32_t lod, RsAllocationCubemapFace face, in read() argument
510 …(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DElementData() argument
522 …xt *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, in rsi_Allocation2DData() argument
525 a->data(rsc, xoff, yoff, lod, face, w, h, data, sizeBytes); in rsi_Allocation2DData()
603 for (uint32_t face = 0; face < 6; face ++) { in rsi_AllocationCubeCreateFromBitmap() local
[all …]
Drs_hal.h59 RsAllocationCubemapFace face; member
159 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
163 uint32_t lod, RsAllocationCubemapFace face,
171 RsAllocationCubemapFace face, uint32_t w, uint32_t h,
175 uint32_t lod, RsAllocationCubemapFace face,
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
DRenderScript.java284 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
285 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
287 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
289 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
290 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
292 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
294 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
295 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
297 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
299 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
/frameworks/native/opengl/libs/
Ddebug.in68 …xture, GLenum face, GLint level, GLenum pname, GLint *params), (texture, face, level, pname, param…
108 …ACE_GL_VOID(glGetMaterialfv, (GLenum face, GLenum pname, GLfloat *params), (face, pname, params), …
109 …ACE_GL_VOID(glGetMaterialxv, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), …
110 …_GL_VOID(glGetMaterialxvOES, (GLenum face, GLenum pname, GLfixed *params), (face, pname, params), …
154 TRACE_GL_VOID(glMaterialf, (GLenum face, GLenum pname, GLfloat param), (face, pname, param), 3, "GL…
155 …ACE_GL_VOID(glMaterialfv, (GLenum face, GLenum pname, const GLfloat *params), (face, pname, params…
156 TRACE_GL_VOID(glMaterialx, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, "GL…
157 TRACE_GL_VOID(glMaterialxOES, (GLenum face, GLenum pname, GLfixed param), (face, pname, param), 3, …
158 …ACE_GL_VOID(glMaterialxv, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params…
159 …_GL_VOID(glMaterialxvOES, (GLenum face, GLenum pname, const GLfixed *params), (face, pname, params…
/frameworks/base/graphics/java/android/renderscript/
DRenderScript.java378 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
379 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, b… in nAllocationData2D() argument
381 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
383 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
384 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, s… in nAllocationData2D() argument
386 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
388 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
389 …synchronized void nAllocationData2D(int id, int xoff, int yoff, int mip, int face, int w, int h, i… in nAllocationData2D() argument
391 rsnAllocationData2D(mContext, id, xoff, yoff, mip, face, w, h, d, sizeBytes); in nAllocationData2D()
393 …native void rsnAllocationData2D(int con, int id, int xoff, int yoff, int mip, int face, int w, int… in rsnAllocationData2D() argument
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLErrorWrapper.java510 public void glMaterialf(int face, int pname, float param) { in glMaterialf() argument
512 mgl.glMaterialf(face, pname, param); in glMaterialf()
516 public void glMaterialfv(int face, int pname, float[] params, int offset) { in glMaterialfv() argument
518 mgl.glMaterialfv(face, pname, params, offset); in glMaterialfv()
522 public void glMaterialfv(int face, int pname, FloatBuffer params) { in glMaterialfv() argument
524 mgl.glMaterialfv(face, pname, params); in glMaterialfv()
528 public void glMaterialx(int face, int pname, int param) { in glMaterialx() argument
530 mgl.glMaterialx(face, pname, param); in glMaterialx()
534 public void glMaterialxv(int face, int pname, int[] params, int offset) { in glMaterialxv() argument
536 mgl.glMaterialxv(face, pname, params, offset); in glMaterialxv()
[all …]
DGLES10.java846 int face, in glMaterialf() argument
854 int face, in glMaterialfv() argument
863 int face, in glMaterialfv() argument
871 int face, in glMaterialx() argument
879 int face, in glMaterialxv() argument
888 int face, in glMaterialxv() argument
DGLES11.java395 int face, in glGetMaterialfv() argument
404 int face, in glGetMaterialfv() argument
412 int face, in glGetMaterialxv() argument
421 int face, in glGetMaterialxv() argument
DGLES11Ext.java408 int face, in glGetMaterialxvOES() argument
417 int face, in glGetMaterialxvOES() argument
525 int face, in glMaterialxOES() argument
533 int face, in glMaterialxvOES() argument
542 int face, in glMaterialxvOES() argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java652 int face, in glMaterialf() argument
658 int face, in glMaterialfv() argument
665 int face, in glMaterialfv() argument
671 int face, in glMaterialx() argument
677 int face, in glMaterialxv() argument
684 int face, in glMaterialxv() argument
DGL11.java326 int face, in glGetMaterialfv() argument
333 int face, in glGetMaterialfv() argument
339 int face, in glGetMaterialxv() argument
346 int face, in glGetMaterialxv() argument
/frameworks/base/opengl/java/com/google/android/gles_jni/
DGLImpl.java655 int face, in glMaterialf() argument
663 int face, in glMaterialfv() argument
672 int face, in glMaterialfv() argument
680 int face, in glMaterialx() argument
688 int face, in glMaterialxv() argument
697 int face, in glMaterialxv() argument
1407 int face, in glGetMaterialfv() argument
1416 int face, in glGetMaterialfv() argument
1424 int face, in glGetMaterialxv() argument
1433 int face, in glGetMaterialxv() argument
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in37 void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) {
38 CALL_GL_API(glGetMaterialfv, face, pname, params);
64 void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) {
65 CALL_GL_API(glMaterialf, face, pname, param);
67 void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) {
68 CALL_GL_API(glMaterialfv, face, pname, params);
259 void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed *params) {
260 CALL_GL_API(glGetMaterialxv, face, pname, params);
316 void API_ENTRY(glMaterialx)(GLenum face, GLenum pname, GLfixed param) {
317 CALL_GL_API(glMaterialx, face, pname, param);
[all …]

1234