Lines Matching defs:reg_buf
684 mm_camera_reg_buf_t reg_buf;
688 memset(®_buf, 0, sizeof(mm_camera_reg_buf_t));
697 reg_buf.def.buf.mp = new mm_camera_mp_buf_t[num_of_buf];
698 if (!reg_buf.def.buf.mp) {
703 memset(reg_buf.def.buf.mp, 0, num_of_buf * sizeof(mm_camera_mp_buf_t));
723 &mSnapshotStreamBuf, ®_buf.def,
730 reg_buf.ch_type = MM_CAMERA_CH_RAW;
731 reg_buf.def.num = mSnapshotStreamBuf.num;
733 ret = cam_config_prepare_buf(mCameraId, ®_buf);
750 if (reg_buf.def.buf.mp)
751 delete []reg_buf.def.buf.mp;
788 mm_camera_reg_buf_t reg_buf;
792 memset(®_buf, 0, sizeof(mm_camera_reg_buf_t));
807 reg_buf.snapshot.main.buf.mp = new mm_camera_mp_buf_t[num_of_buf];
808 if (!reg_buf.snapshot.main.buf.mp) {
813 memset(reg_buf.snapshot.main.buf.mp, 0,
816 reg_buf.snapshot.thumbnail.buf.mp = new mm_camera_mp_buf_t[num_of_buf];
817 if (!reg_buf.snapshot.thumbnail.buf.mp) {
822 memset(reg_buf.snapshot.thumbnail.buf.mp, 0,
858 ®_buf.snapshot.main, num_planes, planes) < 0) {
876 ®_buf.snapshot.thumbnail, num_planes, planes) < 0) {
884 reg_buf.ch_type = MM_CAMERA_CH_SNAPSHOT;
885 reg_buf.snapshot.main.num = mSnapshotStreamBuf.num;
888 reg_buf.snapshot.thumbnail.num = mPostviewStreamBuf.num;
890 reg_buf.snapshot.thumbnail.num = 0;
892 ret = cam_config_prepare_buf(mCameraId, ®_buf);
912 if (reg_buf.snapshot.main.buf.mp)
913 delete []reg_buf.snapshot.main.buf.mp;
914 if (reg_buf.snapshot.thumbnail.buf.mp)
915 delete []reg_buf.snapshot.thumbnail.buf.mp;