Lines Matching refs:io
199 FrameConfig *DeserializeFrameConfig(IpcIo &io)
202 ReadInt32(&io, &type);
206 ReadUint32(&io, &surfaceNum);
208 Surface *surface = SurfaceImpl::GenericSurfaceByIpcIo(io);
218 ReadInt32(&io, &qfactor);
223 ReadInt32(&io, &streamFps);
226 ReadInt32(&io, &invertMode);
229 ReadInt32(&io, &streamCrop.x);
230 ReadInt32(&io, &streamCrop.y);
231 ReadInt32(&io, &streamCrop.w);
232 ReadInt32(&io, &streamCrop.h);
235 ReadInt32(&io, &streamFormat);
241 ReadUint32(&io, &len);
242 uint8_t *dataBuff = (uint8_t *)ReadBuffer(&io, len);
313 IpcIo io;
315 IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0);
316 WriteInt32(&io, ret);
320 int32_t result = SendRequest(*sid, ON_CAMERA_STATUS_CHANGE, &io, nullptr, option, nullptr);
328 IpcIo io;
330 IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0);
331 WriteInt32(&io, ret);
335 int32_t result = SendRequest(sid_, ON_TRIGGER_SINGLE_CAPTURE_FINISHED, &io, nullptr, option, nullptr);
344 IpcIo io;
346 IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0);
347 WriteInt32(&io, ret);
351 int32_t result = SendRequest(sid_, ON_TRIGGER_LOOPING_CAPTURE_FINISHED, &io, nullptr, option, nullptr);
359 IpcIo io;
361 IpcIoInit(&io, tmpData, DEFAULT_IPC_SIZE, 0);
362 WriteInt32(&io, ret);
366 int32_t result = SendRequest(sid_, ON_CAMERA_CONFIGURED, &io, nullptr, option, nullptr);