Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 71) sorted by relevance

123

/device/moto/shamu/camera/QCamera2/HAL/
DQCameraChannel.cpp279 cam_stream_parm_buffer_t param; in start() local
280 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in start()
281 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start()
282 param.bundleInfo = bundleInfo; in start()
283 rc = pStream->setParameter(param); in start()
474 int32_t QCameraChannel::UpdateStreamBasedParameters(QCameraParameters &param) in UpdateStreamBasedParameters() argument
477 if (param.isPreviewFlipChanged()) { in UpdateStreamBasedParameters()
486 param_buf.flipInfo.flip_mask = param.getFlipMode(CAM_STREAM_TYPE_PREVIEW); in UpdateStreamBasedParameters()
494 if (param.isVideoFlipChanged()) { in UpdateStreamBasedParameters()
503 param_buf.flipInfo.flip_mask = param.getFlipMode(CAM_STREAM_TYPE_VIDEO); in UpdateStreamBasedParameters()
[all …]
DQCameraChannel.h72 int32_t UpdateStreamBasedParameters(QCameraParameters &param);
126 QCameraParameters &param,
DQCameraStream.h95 int32_t setParameter(cam_stream_parm_buffer_t &param);
96 int32_t getParameter(cam_stream_parm_buffer_t &param);
/device/asus/fugu/libaudio/
DAudioHardwareOutput.cpp221 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local
237 if (param.getInt(kHDMIAllowedParamKey, intVal) == NO_ERROR) { in setParameters()
239 param.remove(kHDMIAllowedParamKey); in setParameters()
242 if ((param.getFloat(kHDMIDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters()
247 param.remove(kHDMIDelayCompParamKey); in setParameters()
250 if (param.getInt(kFixedHDMIOutputParamKey, intVal) == NO_ERROR) { in setParameters()
252 param.remove(kFixedHDMIOutputParamKey); in setParameters()
255 if ((param.getFloat(kFixedHDMIOutputLevelParamKey, floatVal) == NO_ERROR) in setParameters()
258 param.remove(kFixedHDMIOutputLevelParamKey); in setParameters()
264 if ((param.getFloat(kVideoDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters()
[all …]
DAudioStreamOut.cpp294 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local
298 if (param.getInt(key, tmpInt) == NO_ERROR) { in setParameters()
314 AudioParameter param = AudioParameter(String8(k)); in getParameters() local
317 if (param.get(keyRouting, value) == NO_ERROR) { in getParameters()
318 param.addInt(keyRouting, (int)mAudioFlingerTgtDevices); in getParameters()
323 if (param.get(keySupSampleRates, value) == NO_ERROR) { in getParameters()
326 param.add(keySupSampleRates, value); in getParameters()
328 param.add(keySupSampleRates, String8("48000")); in getParameters()
332 if (param.get(keySupFormats, value) == NO_ERROR) { in getParameters()
335 param.add(keySupFormats, value); in getParameters()
[all …]
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraChannel.cpp224 cam_stream_parm_buffer_t param; in start() local
225 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in start()
226 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start()
227 param.bundleInfo = bundleInfo; in start()
228 rc = pStream->setParameter(param); in start()
766 cam_stream_parm_buffer_t param; in doReprocess() local
767 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
768 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
770 param.reprocess.frame_idx = frame->bufs[i]->frame_idx; in doReprocess()
[all …]
/device/asus/flo/camera/QCamera2/HAL/
DQCameraChannel.cpp224 cam_stream_parm_buffer_t param; in start() local
225 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in start()
226 param.type = CAM_STREAM_PARAM_TYPE_SET_BUNDLE_INFO; in start()
227 param.bundleInfo = bundleInfo; in start()
228 rc = pStream->setParameter(param); in start()
766 cam_stream_parm_buffer_t param; in doReprocess() local
767 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
768 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
769 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
770 param.reprocess.frame_idx = frame->bufs[i]->frame_idx; in doReprocess()
[all …]
/device/generic/goldfish/opengl/tests/gles_android_wrapper/
Dgles.cpp86 void glFogf(GLenum pname, GLfloat param) in glFogf() argument
88 getDispatch()->glFogf(pname, param); in glFogf()
131 void glLightModelf(GLenum pname, GLfloat param) in glLightModelf() argument
133 getDispatch()->glLightModelf(pname, param); in glLightModelf()
141 void glLightf(GLenum light, GLenum pname, GLfloat param) in glLightf() argument
143 getDispatch()->glLightf(light, pname, param); in glLightf()
161 void glMaterialf(GLenum face, GLenum pname, GLfloat param) in glMaterialf() argument
163 getDispatch()->glMaterialf(face, pname, param); in glMaterialf()
191 void glPointParameterf(GLenum pname, GLfloat param) in glPointParameterf() argument
193 getDispatch()->glPointParameterf(pname, param); in glPointParameterf()
[all …]
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp71 void GLEncoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
77 switch (param) { in s_glGetIntegerv()
89 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
102 if (!state->getClientStateParameter<GLint>(param,ptr)) { in s_glGetIntegerv()
103 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
109 void GLEncoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
115 switch (param) { in s_glGetFloatv()
128 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
141 if (!state->getClientStateParameter<GLfloat>(param,ptr)) { in s_glGetFloatv()
142 ctx->m_glGetFloatv_enc(self, param, ptr); in s_glGetFloatv()
[all …]
Dgl_entry.cpp15 void glFogf(GLenum pname, GLfloat param);
24 void glLightModelf(GLenum pname, GLfloat param);
26 void glLightf(GLenum light, GLenum pname, GLfloat param);
30 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
36 void glPointParameterf(GLenum pname, GLfloat param);
42 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
44 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
81 void glFogx(GLenum pname, GLfixed param);
105 void glLightModelx(GLenum pname, GLfixed param);
107 void glLightx(GLenum light, GLenum pname, GLfixed param);
[all …]
DGLEncoder.h129 static void s_glPixelStorei(void *self, GLenum param, GLint value);
142 static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param);
144 static void s_glTexParameteri(void* self, GLenum target, GLenum pname, GLint param);
145 static void s_glTexParameterx(void* self, GLenum target, GLenum pname, GLfixed param);
Dgl_enc.cpp121 void glFogf_enc(void *self , GLenum pname, GLfloat param) in glFogf_enc() argument
134 memcpy(ptr, &param, 4); ptr += 4; in glFogf_enc()
287 void glLightModelf_enc(void *self , GLenum pname, GLfloat param) in glLightModelf_enc() argument
300 memcpy(ptr, &param, 4); ptr += 4; in glLightModelf_enc()
321 void glLightf_enc(void *self , GLenum light, GLenum pname, GLfloat param) in glLightf_enc() argument
335 memcpy(ptr, &param, 4); ptr += 4; in glLightf_enc()
389 void glMaterialf_enc(void *self , GLenum face, GLenum pname, GLfloat param) in glMaterialf_enc() argument
403 memcpy(ptr, &param, 4); ptr += 4; in glMaterialf_enc()
498 void glPointParameterf_enc(void *self , GLenum pname, GLfloat param) in glPointParameterf_enc() argument
511 memcpy(ptr, &param, 4); ptr += 4; in glPointParameterf_enc()
[all …]
/device/generic/goldfish/camera/
DQemuClient.cpp82 status_t QemuQuery::createQuery(const char* name, const char* param) in createQuery() argument
96 const size_t param_len = (param != NULL) ? strlen(param) : 0; in createQuery()
112 sprintf(mQuery, "%s %s", name, param); in createQuery()
213 status_t QemuClient::connectClient(const char* param) in connectClient() argument
215 ALOGV("%s: '%s'", __FUNCTION__, param ? param : ""); in connectClient()
224 if (param == NULL || *param == '\0') { in connectClient()
233 strlen(param) + 8]; in connectClient()
234 sprintf(connection_str, "qemud:%s:%s", mCameraServiceName, param); in connectClient()
241 __FUNCTION__, param ? param : "Factory", strerror(errno)); in connectClient()
DQemuClient.h111 status_t createQuery(const char* name, const char* param);
238 virtual status_t connectClient(const char* param);
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_reprocess.c321 cam_stream_parm_buffer_t param; in mm_app_do_reprocess() local
322 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in mm_app_do_reprocess()
323 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in mm_app_do_reprocess()
324 param.reprocess.buf_index = frame->buf_idx; in mm_app_do_reprocess()
325 param.reprocess.frame_idx = frame->frame_idx; in mm_app_do_reprocess()
327 param.reprocess.meta_present = 1; in mm_app_do_reprocess()
328 param.reprocess.meta_stream_handle = src_meta->s_config.stream_info->stream_svr_id; in mm_app_do_reprocess()
329 param.reprocess.meta_buf_index = meta_idx; in mm_app_do_reprocess()
336 test_obj->reproc_stream->s_config.stream_info->parm_buf = param; in mm_app_do_reprocess()
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2Encoder.cpp174 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei() argument
177 ctx->m_glPixelStorei_enc(ctx, param, value); in s_glPixelStorei()
179 ctx->m_state->setPixelStore(param, value); in s_glPixelStorei()
235 void GL2Encoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
241 switch (param) { in s_glGetIntegerv()
262 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
274 if (!ctx->m_state->getClientStateParameter<GLint>(param, ptr)) { in s_glGetIntegerv()
275 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
282 void GL2Encoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
288 switch (param) { in s_glGetFloatv()
[all …]
DGL2Encoder.h69 static void s_glPixelStorei(void *self, GLenum param, GLint value);
228 static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param);
230 static void s_glTexParameteri(void* self, GLenum target, GLenum pname, GLint param);
/device/generic/goldfish/opengl/system/egl/
DClientAPIExts.in73 (GLenum coord, GLenum pname, GLfloat param),
74 (coord, pname, param))
81 (GLenum coord, GLenum pname, GLint param),
82 (coord, pname, param))
89 (GLenum coord, GLenum pname, GLfixed param),
90 (coord, pname, param))
/device/lge/hammerhead/camera/QCamera2/HAL3/
DQCamera3Channel.cpp2290 cam_stream_parm_buffer_t param; in doReprocess() local
2291 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
2292 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
2293 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
2295 param.reprocess.meta_present = 1; in doReprocess()
2296 param.reprocess.meta_stream_handle = m_pMetaChannel->mStreams[0]->getMyServerID(); in doReprocess()
2297 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx; in doReprocess()
2299 rc = pStream->setParameter(param); in doReprocess()
2341 cam_stream_parm_buffer_t param; in doReprocessOffline() local
2342 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocessOffline()
[all …]
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.h82 int setPixelStore(GLenum param, GLint value);
224 int getVertexAttribParameter(GLuint index, GLenum param, T *ptr) in getVertexAttribParameter() argument
234 switch(param) { in getVertexAttribParameter()
258 ERR("unknown vertex-attrib parameter param %d\n", param); in getVertexAttribParameter()
264 bool getClientStateParameter(GLenum param, T* ptr) in getClientStateParameter() argument
267 switch (param) { in getClientStateParameter()
DglUtils.cpp78 size_t glUtilsParamSize(GLenum param) in glUtilsParamSize() argument
82 switch(param) in glUtilsParamSize()
325 ERR("glUtilsParamSize: unknow param 0x%08x\n", param); in glUtilsParamSize()
/device/asus/flo/camera/QCamera2/HAL3/
DQCamera3Channel.cpp2111 cam_stream_parm_buffer_t param; in doReprocess() local
2112 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
2113 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
2114 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
2115 param.reprocess.frame_idx = frame->bufs[i]->frame_idx; in doReprocess()
2117 param.reprocess.meta_present = 1; in doReprocess()
2118 param.reprocess.meta_stream_handle = m_pMetaChannel->mStreams[0]->getMyServerID(); in doReprocess()
2119 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx; in doReprocess()
2121 rc = pStream->setParameter(param); in doReprocess()
2168 cam_stream_parm_buffer_t param; in doReprocess() local
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Channel.cpp3167 cam_stream_parm_buffer_t param; in doReprocessOffline() local
3168 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocessOffline()
3169 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocessOffline()
3170 param.reprocess.buf_index = buf_idx; in doReprocessOffline()
3171 param.reprocess.frame_idx = frame->input_buffer.frame_idx; in doReprocessOffline()
3172 param.reprocess.meta_present = 1; in doReprocessOffline()
3173 param.reprocess.meta_buf_index = meta_buf_idx; in doReprocessOffline()
3174 param.reprocess.frame_pp_config.rotation = frame->reproc_config.rotation; in doReprocessOffline()
3175 param.reprocess.frame_pp_config.crop.input_crop = frame->reproc_config.output_crop; in doReprocessOffline()
3176 param.reprocess.frame_pp_config.crop.crop_enabled = 1; in doReprocessOffline()
[all …]
/device/generic/goldfish/opengl/system/renderControl_enc/
DrenderControl_entry.cpp16 EGLint rcGetFBParam(EGLint param);
86 EGLint rcGetFBParam(EGLint param) in rcGetFBParam() argument
89 return ctx->rcGetFBParam(ctx, param); in rcGetFBParam()
/device/lge/mako/camera/QCamera/HAL/wrapper/
DQualcommCamera.cpp143 CameraParameters *param = NULL;
146 param = &(camHal->parameters);
148 return param;

123