Lines Matching refs:data
77 int setMetaDataVa(MetaData_t *data, DispParamType paramType, in setMetaDataVa() argument
79 if (data == nullptr) in setMetaDataVa()
83 data->operation &= ~paramType; in setMetaDataVa()
88 data->operation |= paramType; in setMetaDataVa()
91 data->interlaced = *((int32_t *)param); in setMetaDataVa()
94 data->bufferDim = *((BufferDim_t *)param); in setMetaDataVa()
97 data->refreshrate = *((float *)param); in setMetaDataVa()
100 data->colorSpace = *((ColorSpace_t *)param); in setMetaDataVa()
103 data->mapSecureBuffer = *((int32_t *)param); in setMetaDataVa()
106 data->s3dFormat = *((uint32_t *)param); in setMetaDataVa()
109 data->linearFormat = *((uint32_t *)param); in setMetaDataVa()
112 data->igc = *((IGC_t *)param); in setMetaDataVa()
115 data->isSingleBufferMode = *((uint32_t *)param); in setMetaDataVa()
118 data->s3dComp = *((S3DGpuComp_t *)param); in setMetaDataVa()
121 data->vtTimeStamp = *((uint64_t *)param); in setMetaDataVa()
124 data->color = *((ColorMetaData *)param); in setMetaDataVa()
141 int clearMetaDataVa(MetaData_t *data, DispParamType paramType) { in clearMetaDataVa() argument
142 if (data == nullptr) in clearMetaDataVa()
144 data->operation &= ~paramType; in clearMetaDataVa()
147 data->s3dComp.displayId = -1; in clearMetaDataVa()
148 data->s3dComp.s3dMode = 0; in clearMetaDataVa()
166 int getMetaDataVa(MetaData_t *data, DispFetchParamType paramType, in getMetaDataVa() argument
170 if (data == nullptr) in getMetaDataVa()
175 if (data->operation & PP_PARAM_INTERLACED) { in getMetaDataVa()
176 *((int32_t *)param) = data->interlaced; in getMetaDataVa()
181 if (data->operation & UPDATE_BUFFER_GEOMETRY) { in getMetaDataVa()
182 *((BufferDim_t *)param) = data->bufferDim; in getMetaDataVa()
187 if (data->operation & UPDATE_REFRESH_RATE) { in getMetaDataVa()
188 *((float *)param) = data->refreshrate; in getMetaDataVa()
193 if (data->operation & UPDATE_COLOR_SPACE) { in getMetaDataVa()
194 *((ColorSpace_t *)param) = data->colorSpace; in getMetaDataVa()
199 if (data->operation & MAP_SECURE_BUFFER) { in getMetaDataVa()
200 *((int32_t *)param) = data->mapSecureBuffer; in getMetaDataVa()
205 if (data->operation & S3D_FORMAT) { in getMetaDataVa()
206 *((uint32_t *)param) = data->s3dFormat; in getMetaDataVa()
211 if (data->operation & LINEAR_FORMAT) { in getMetaDataVa()
212 *((uint32_t *)param) = data->linearFormat; in getMetaDataVa()
217 if (data->operation & SET_IGC) { in getMetaDataVa()
218 *((IGC_t *)param) = data->igc; in getMetaDataVa()
223 if (data->operation & SET_SINGLE_BUFFER_MODE) { in getMetaDataVa()
224 *((uint32_t *)param) = data->isSingleBufferMode; in getMetaDataVa()
229 if (data->operation & SET_S3D_COMP) { in getMetaDataVa()
230 *((S3DGpuComp_t *)param) = data->s3dComp; in getMetaDataVa()
235 if (data->operation & SET_VT_TIMESTAMP) { in getMetaDataVa()
236 *((uint64_t *)param) = data->vtTimeStamp; in getMetaDataVa()
241 if (data->operation & COLOR_METADATA) { in getMetaDataVa()
242 *((ColorMetaData *)param) = data->color; in getMetaDataVa()