Home | History | Annotate | Download | only in HAL

Lines Matching defs:cb

96     LOGD("Frame CB Unlock : %d, is AEC Locked: %d",
3199 qcamera_callback_argm_t *cb =
3202 if (NULL != cb) {
3203 LOGD("cb type %d received",
3204 cb->cb_type);
3206 if (pme->mParent->msgTypeEnabledWithLock(cb->msg_type)) {
3207 switch (cb->cb_type) {
3210 if (cb->msg_type == CAMERA_MSG_FOCUS) {
3215 pme->mNotifyCb(cb->msg_type,
3216 cb->ext1,
3217 cb->ext2,
3222 if (cb->release_cb) {
3223 cb->release_cb(cb->user_data, cb->cookie,
3231 pme->mDataCb(cb->msg_type,
3232 cb->data,
3233 cb->index,
3234 cb->metadata,
3239 if (cb->release_cb) {
3240 cb->release_cb(cb->user_data, cb->cookie,
3248 pme->mDataCbTimestamp(cb->timestamp,
3249 cb->msg_type,
3250 cb->data,
3251 cb->index,
3256 if (cb->release_cb) {
3257 cb->release_cb(cb->user_data, cb->cookie,
3282 cb->user_data,
3283 cb->frame_index);
3284 pme->mJpegCb(cb->msg_type, cb->data,
3285 cb->index, cb->metadata,
3287 cb->frame_index, cb->release_cb,
3288 cb->cookie, cb->user_data);
3289 // incase of non-null Jpeg cb we transfer
3295 pme->mDataCb(cb->msg_type, cb->data, cb->index,
3296 cb->metadata, pme->mCallbackCookie);
3297 if (cb->release_cb) {
3298 cb->release_cb(cb->user_data, cb->cookie,
3307 LOGE("invalid cb type %d",
3308 cb->cb_type);
3310 if (cb->release_cb) {
3311 cb->release_cb(cb->user_data, cb->cookie,
3318 LOGW("cb message type %d not enabled!",
3319 cb->msg_type);
3321 if (cb->release_cb) {
3322 cb->release_cb(cb->user_data, cb->cookie, cbStatus);
3325 delete cb;
3327 LOGW("invalid cb type passed");
3376 LOGE("Error adding cb data into queue");