Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 59) 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);
DQCameraStream.cpp1524 int32_t QCameraStream::setParameter(cam_stream_parm_buffer_t &param) in setParameter() argument
1528 mStreamInfo->parm_buf = param; in setParameter()
1534 param = mStreamInfo->parm_buf; in setParameter()
1552 int32_t QCameraStream::getParameter(cam_stream_parm_buffer_t &param) in getParameter() argument
1556 mStreamInfo->parm_buf = param; in getParameter()
1562 param = mStreamInfo->parm_buf; in getParameter()
/device/asus/fugu/libaudio/
DAudioHardwareOutput.cpp222 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local
238 if (param.getInt(kHDMIAllowedParamKey, intVal) == NO_ERROR) { in setParameters()
240 param.remove(kHDMIAllowedParamKey); in setParameters()
243 if ((param.getFloat(kHDMIDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters()
248 param.remove(kHDMIDelayCompParamKey); in setParameters()
251 if (param.getInt(kFixedHDMIOutputParamKey, intVal) == NO_ERROR) { in setParameters()
253 param.remove(kFixedHDMIOutputParamKey); in setParameters()
256 if ((param.getFloat(kFixedHDMIOutputLevelParamKey, floatVal) == NO_ERROR) in setParameters()
259 param.remove(kFixedHDMIOutputLevelParamKey); in setParameters()
265 if ((param.getFloat(kVideoDelayCompParamKey, floatVal) == NO_ERROR) && in setParameters()
[all …]
DAudioStreamOut.cpp273 AudioParameter param = AudioParameter(String8(kvpairs)); in setParameters() local
277 if (param.getInt(key, tmpInt) == NO_ERROR) { in setParameters()
293 AudioParameter param = AudioParameter(String8(k)); in getParameters() local
296 if (param.get(keyRouting, value) == NO_ERROR) { in getParameters()
297 param.addInt(keyRouting, (int)mAudioFlingerTgtDevices); in getParameters()
302 if (param.get(keySupSampleRates, value) == NO_ERROR) { in getParameters()
305 param.add(keySupSampleRates, value); in getParameters()
307 param.add(keySupSampleRates, String8("48000")); in getParameters()
311 if (param.get(keySupFormats, value) == NO_ERROR) { in getParameters()
314 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.cpp175 void GL2Encoder::s_glPixelStorei(void *self, GLenum param, GLint value) in s_glPixelStorei() argument
178 ctx->m_glPixelStorei_enc(ctx, param, value); in s_glPixelStorei()
180 ctx->m_state->setPixelStore(param, value); in s_glPixelStorei()
236 void GL2Encoder::s_glGetIntegerv(void *self, GLenum param, GLint *ptr) in s_glGetIntegerv() argument
242 switch (param) { in s_glGetIntegerv()
263 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
275 if (!ctx->m_state->getClientStateParameter<GLint>(param, ptr)) { in s_glGetIntegerv()
276 ctx->m_glGetIntegerv_enc(self, param, ptr); in s_glGetIntegerv()
283 void GL2Encoder::s_glGetFloatv(void *self, GLenum param, GLfloat *ptr) in s_glGetFloatv() argument
289 switch (param) { in s_glGetFloatv()
[all …]
DGL2Encoder.h69 static void s_glPixelStorei(void *self, GLenum param, GLint value);
230 static void s_glTexParameterf(void* self, GLenum target, GLenum pname, GLfloat param);
232 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.cpp2288 cam_stream_parm_buffer_t param; in doReprocess() local
2289 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
2290 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
2291 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
2293 param.reprocess.meta_present = 1; in doReprocess()
2294 param.reprocess.meta_stream_handle = m_pMetaChannel->mStreams[0]->getMyServerID(); in doReprocess()
2295 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx; in doReprocess()
2297 rc = pStream->setParameter(param); in doReprocess()
2339 cam_stream_parm_buffer_t param; in doReprocessOffline() local
2340 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.cpp2095 cam_stream_parm_buffer_t param; in doReprocess() local
2096 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocess()
2097 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocess()
2098 param.reprocess.buf_index = frame->bufs[i]->buf_idx; in doReprocess()
2099 param.reprocess.frame_idx = frame->bufs[i]->frame_idx; in doReprocess()
2101 param.reprocess.meta_present = 1; in doReprocess()
2102 param.reprocess.meta_stream_handle = m_pMetaChannel->mStreams[0]->getMyServerID(); in doReprocess()
2103 param.reprocess.meta_buf_index = meta_frame->bufs[0]->buf_idx; in doReprocess()
2105 rc = pStream->setParameter(param); in doReprocess()
2152 cam_stream_parm_buffer_t param; in doReprocess() local
[all …]
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3Channel.cpp3148 cam_stream_parm_buffer_t param; in doReprocessOffline() local
3149 memset(&param, 0, sizeof(cam_stream_parm_buffer_t)); in doReprocessOffline()
3150 param.type = CAM_STREAM_PARAM_TYPE_DO_REPROCESS; in doReprocessOffline()
3151 param.reprocess.buf_index = buf_idx; in doReprocessOffline()
3152 param.reprocess.frame_idx = frame->input_buffer.frame_idx; in doReprocessOffline()
3153 param.reprocess.meta_present = 1; in doReprocessOffline()
3154 param.reprocess.meta_buf_index = meta_buf_idx; in doReprocessOffline()
3155 param.reprocess.frame_pp_config.rotation = frame->reproc_config.rotation; in doReprocessOffline()
3156 param.reprocess.frame_pp_config.crop.input_crop = frame->reproc_config.output_crop; in doReprocessOffline()
3157 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()

123