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()
125 data->color = *((ColorMetaData *)param); in setMetaDataVa()
143 int clearMetaDataVa(MetaData_t *data, DispParamType paramType) { in clearMetaDataVa() argument
144 if (data == nullptr) in clearMetaDataVa()
146 data->operation &= ~paramType; in clearMetaDataVa()
149 data->s3dComp.displayId = -1; in clearMetaDataVa()
150 data->s3dComp.s3dMode = 0; in clearMetaDataVa()
168 int getMetaDataVa(MetaData_t *data, DispFetchParamType paramType, in getMetaDataVa() argument
172 if (data == nullptr) in getMetaDataVa()
177 if (data->operation & PP_PARAM_INTERLACED) { in getMetaDataVa()
178 *((int32_t *)param) = data->interlaced; in getMetaDataVa()
183 if (data->operation & UPDATE_BUFFER_GEOMETRY) { in getMetaDataVa()
184 *((BufferDim_t *)param) = data->bufferDim; in getMetaDataVa()
189 if (data->operation & UPDATE_REFRESH_RATE) { in getMetaDataVa()
190 *((float *)param) = data->refreshrate; in getMetaDataVa()
195 if (data->operation & UPDATE_COLOR_SPACE) { in getMetaDataVa()
196 *((ColorSpace_t *)param) = data->colorSpace; in getMetaDataVa()
201 if (data->operation & MAP_SECURE_BUFFER) { in getMetaDataVa()
202 *((int32_t *)param) = data->mapSecureBuffer; in getMetaDataVa()
207 if (data->operation & S3D_FORMAT) { in getMetaDataVa()
208 *((uint32_t *)param) = data->s3dFormat; in getMetaDataVa()
213 if (data->operation & LINEAR_FORMAT) { in getMetaDataVa()
214 *((uint32_t *)param) = data->linearFormat; in getMetaDataVa()
219 if (data->operation & SET_IGC) { in getMetaDataVa()
220 *((IGC_t *)param) = data->igc; in getMetaDataVa()
225 if (data->operation & SET_SINGLE_BUFFER_MODE) { in getMetaDataVa()
226 *((uint32_t *)param) = data->isSingleBufferMode; in getMetaDataVa()
231 if (data->operation & SET_S3D_COMP) { in getMetaDataVa()
232 *((S3DGpuComp_t *)param) = data->s3dComp; in getMetaDataVa()
237 if (data->operation & SET_VT_TIMESTAMP) { in getMetaDataVa()
238 *((uint64_t *)param) = data->vtTimeStamp; in getMetaDataVa()
244 if (data->operation & COLOR_METADATA) { in getMetaDataVa()
245 *((ColorMetaData *)param) = data->color; in getMetaDataVa()