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->s3dComp = *((S3DGpuComp_t *)param); in setMetaData()
112 data->vtTimeStamp = *((uint64_t *)param); in setMetaData()
116 data->color = *((ColorMetaData *)param); in setMetaData()
131 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in clearMetaData() local
132 data->operation &= ~paramType; in clearMetaData()
135 data->s3dComp.displayId = -1; in clearMetaData()
136 data->s3dComp.s3dMode = 0; in clearMetaData()
150 MetaData_t *data = reinterpret_cast <MetaData_t *>(handle->base_metadata); in getMetaData() local
156 if (data->operation & PP_PARAM_INTERLACED) { in getMetaData()
157 *((int32_t *)param) = data->interlaced; in getMetaData()
162 if (data->operation & UPDATE_BUFFER_GEOMETRY) { in getMetaData()
163 *((BufferDim_t *)param) = data->bufferDim; in getMetaData()
168 if (data->operation & UPDATE_REFRESH_RATE) { in getMetaData()
169 *((float *)param) = data->refreshrate; in getMetaData()
174 if (data->operation & UPDATE_COLOR_SPACE) { in getMetaData()
175 *((ColorSpace_t *)param) = data->colorSpace; in getMetaData()
180 if (data->operation & MAP_SECURE_BUFFER) { in getMetaData()
181 *((int32_t *)param) = data->mapSecureBuffer; in getMetaData()
186 if (data->operation & S3D_FORMAT) { in getMetaData()
187 *((uint32_t *)param) = data->s3dFormat; in getMetaData()
192 if (data->operation & LINEAR_FORMAT) { in getMetaData()
193 *((uint32_t *)param) = data->linearFormat; in getMetaData()
198 if (data->operation & SET_IGC) { in getMetaData()
199 *((IGC_t *)param) = data->igc; in getMetaData()
204 if (data->operation & SET_SINGLE_BUFFER_MODE) { in getMetaData()
205 *((uint32_t *)param) = data->isSingleBufferMode; in getMetaData()
210 if (data->operation & SET_S3D_COMP) { in getMetaData()
211 *((S3DGpuComp_t *)param) = data->s3dComp; in getMetaData()
216 if (data->operation & SET_VT_TIMESTAMP) { in getMetaData()
217 *((uint64_t *)param) = data->vtTimeStamp; in getMetaData()
223 if (data->operation & COLOR_METADATA) { in getMetaData()
224 *((ColorMetaData *)param) = data->color; in getMetaData()