Lines Matching refs:data
71 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in setMetaData() local
74 data->operation &= ~paramType; in setMetaData()
79 data->operation |= paramType; in setMetaData()
82 data->interlaced = *((int32_t *)param); in setMetaData()
85 data->bufferDim = *((BufferDim_t *)param); in setMetaData()
88 data->refreshrate = *((float *)param); in setMetaData()
91 data->colorSpace = *((ColorSpace_t *)param); in setMetaData()
94 data->mapSecureBuffer = *((int32_t *)param); in setMetaData()
97 data->s3dFormat = *((uint32_t *)param); in setMetaData()
100 data->linearFormat = *((uint32_t *)param); in setMetaData()
103 data->igc = *((IGC_t *)param); in setMetaData()
106 data->isSingleBufferMode = *((uint32_t *)param); in setMetaData()
109 data->vtTimeStamp = *((uint64_t *)param); in setMetaData()
123 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in getMetaData() local
129 if (data->operation & PP_PARAM_INTERLACED) { in getMetaData()
130 *((int32_t *)param) = data->interlaced; in getMetaData()
135 if (data->operation & UPDATE_BUFFER_GEOMETRY) { in getMetaData()
136 *((BufferDim_t *)param) = data->bufferDim; in getMetaData()
141 if (data->operation & UPDATE_REFRESH_RATE) { in getMetaData()
142 *((float *)param) = data->refreshrate; in getMetaData()
147 if (data->operation & UPDATE_COLOR_SPACE) { in getMetaData()
148 *((ColorSpace_t *)param) = data->colorSpace; in getMetaData()
153 if (data->operation & MAP_SECURE_BUFFER) { in getMetaData()
154 *((int32_t *)param) = data->mapSecureBuffer; in getMetaData()
159 if (data->operation & S3D_FORMAT) { in getMetaData()
160 *((uint32_t *)param) = data->s3dFormat; in getMetaData()
165 if (data->operation & LINEAR_FORMAT) { in getMetaData()
166 *((uint32_t *)param) = data->linearFormat; in getMetaData()
171 if (data->operation & SET_IGC) { in getMetaData()
172 *((IGC_t *)param) = data->igc; in getMetaData()
177 if (data->operation & SET_SINGLE_BUFFER_MODE) { in getMetaData()
178 *((uint32_t *)param) = data->isSingleBufferMode; in getMetaData()
183 if (data->operation & SET_VT_TIMESTAMP) { in getMetaData()
184 *((uint64_t *)param) = data->vtTimeStamp; in getMetaData()