Home
last modified time | relevance | path

Searched refs:metadata (Results 1 – 25 of 55) sorted by relevance

123

/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp191 struct msmfb_metadata metadata; in setOutputFormat() local
192 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat()
193 metadata.op = metadata_op_wb_format; in setOutputFormat()
194 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat()
195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat()
206 struct msmfb_metadata metadata; in getOutputFormat() local
207 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat()
208 metadata.op = metadata_op_wb_format; in getOutputFormat()
209 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat()
213 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat()
[all …]
DoverlayCtrlData.h67 bool setVisualParams(const MetaData_t &metadata);
151 inline bool Ctrl::setVisualParams(const MetaData_t &metadata) in setVisualParams() argument
153 if (!mMdp->setVisualParams(metadata)) { in setVisualParams()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp191 struct msmfb_metadata metadata; in setOutputFormat() local
192 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat()
193 metadata.op = metadata_op_wb_format; in setOutputFormat()
194 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat()
195 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat()
206 struct msmfb_metadata metadata; in getOutputFormat() local
207 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat()
208 metadata.op = metadata_op_wb_format; in getOutputFormat()
209 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat()
213 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat()
[all …]
/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp140 teeRsaKeyMeta_t metadata; in exynos_km_import_keypair() local
174 key_len += sizeof(metadata); in exynos_km_import_keypair()
176 metadata.lenpubmod = BN_bn2bin(rsa->n, kbuf + key_len); in exynos_km_import_keypair()
177 key_len += metadata.lenpubmod; in exynos_km_import_keypair()
178 if (metadata.lenpubmod == (512 >> 3)) in exynos_km_import_keypair()
179 metadata.keysize = TEE_RSA_KEY_SIZE_512; in exynos_km_import_keypair()
180 else if (metadata.lenpubmod == (1024 >> 3)) in exynos_km_import_keypair()
181 metadata.keysize = TEE_RSA_KEY_SIZE_1024; in exynos_km_import_keypair()
182 else if (metadata.lenpubmod == (2048 >> 3)) in exynos_km_import_keypair()
183 metadata.keysize = TEE_RSA_KEY_SIZE_2048; in exynos_km_import_keypair()
[all …]
/hardware/qcom/display/msm8960/libqdutils/
Dmdp_version.cpp72 struct msmfb_metadata metadata; in MDPVersion() local
73 memset(&metadata, 0 , sizeof(metadata)); in MDPVersion()
74 metadata.op = metadata_op_get_caps; in MDPVersion()
75 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in MDPVersion()
79 mMdpRev = metadata.data.caps.mdp_rev; in MDPVersion()
80 mRGBPipes = metadata.data.caps.rgb_pipes; in MDPVersion()
81 mVGPipes = metadata.data.caps.vig_pipes; in MDPVersion()
82 mDMAPipes = metadata.data.caps.dma_pipes; in MDPVersion()
/hardware/qcom/display/msm8974/libqdutils/
Dmdp_version.cpp77 struct msmfb_metadata metadata; in MDPVersion() local
78 memset(&metadata, 0 , sizeof(metadata)); in MDPVersion()
79 metadata.op = metadata_op_get_caps; in MDPVersion()
80 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in MDPVersion()
84 mMdpRev = metadata.data.caps.mdp_rev; in MDPVersion()
85 mRGBPipes = metadata.data.caps.rgb_pipes; in MDPVersion()
86 mVGPipes = metadata.data.caps.vig_pipes; in MDPVersion()
87 mDMAPipes = metadata.data.caps.dma_pipes; in MDPVersion()
88 mFeatures = metadata.data.caps.features; in MDPVersion()
89 if (metadata.data.caps.mdp_rev == MDP_V3_0_4){ in MDPVersion()
/hardware/samsung_slsi/exynos5/libcamera2/
DMetadataConverter.cpp515 struct camera2_shot * metadata = &metadata_ext->shot; in ToDynamicMetadata() local
520 &(metadata->ctl.request.id), 1)) in ToDynamicMetadata()
524 &(metadata->ctl.request.metadataMode), 1)) in ToDynamicMetadata()
528 &(metadata->ctl.request.frameCount), 1)) in ToDynamicMetadata()
532 &metadata->dm.sensor.timeStamp, 1)) in ToDynamicMetadata()
536 &metadata->dm.sensor.exposureTime, 1)) in ToDynamicMetadata()
540 &metadata->dm.lens.aperture, 1)) in ToDynamicMetadata()
544 &(metadata->ctl.aa.aeTargetFpsRange), 2)) in ToDynamicMetadata()
548metadata->ctl.request.id, metadata->ctl.request.metadataMode, metadata->ctl.request.frameCount, in ToDynamicMetadata()
549 metadata->dm.sensor.timeStamp, metadata->dm.sensor.exposureTime, metadata->dm.lens.aperture); in ToDynamicMetadata()
[all …]
/hardware/qcom/display/msm8974/liboverlay/
DoverlayWriteback.cpp189 struct msmfb_metadata metadata; in setOutputFormat() local
190 memset(&metadata, 0 , sizeof(metadata)); in setOutputFormat()
191 metadata.op = metadata_op_wb_format; in setOutputFormat()
192 metadata.data.mixer_cfg.writeback_format = mdpFormat; in setOutputFormat()
193 if (ioctl(mFd.getFD(), MSMFB_METADATA_SET, &metadata) < 0) { in setOutputFormat()
204 struct msmfb_metadata metadata; in getOutputFormat() local
205 memset(&metadata, 0 , sizeof(metadata)); in getOutputFormat()
206 metadata.op = metadata_op_wb_format; in getOutputFormat()
207 if (ioctl(mFd.getFD(), MSMFB_METADATA_GET, &metadata) < 0) { in getOutputFormat()
211 mOpFmt = metadata.data.mixer_cfg.writeback_format; in getOutputFormat()
DoverlayCtrlData.h69 bool setVisualParams(const MetaData_t &metadata);
177 inline bool Ctrl::setVisualParams(const MetaData_t &metadata) in setVisualParams() argument
179 if (!mMdp.setVisualParams(metadata)) { in setVisualParams()
/hardware/qcom/display/msm8084/libgralloc/
Dmapper.cpp371 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform() local
372 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in gralloc_perform()
373 *stride = metadata->bufferDim.sliceWidth; in gralloc_perform()
388 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform() local
389 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in gralloc_perform()
390 *stride = metadata->bufferDim.sliceWidth; in gralloc_perform()
391 *height = metadata->bufferDim.sliceHeight; in gralloc_perform()
422 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform() local
423 if(metadata && metadata->operation & UPDATE_COLOR_SPACE) { in gralloc_perform()
424 *color_space = metadata->colorSpace; in gralloc_perform()
Dframebuffer.cpp257 struct msmfb_metadata metadata; in mapFrameBufferLocked() local
258 memset(&metadata, 0 , sizeof(metadata)); in mapFrameBufferLocked()
259 metadata.op = metadata_op_frame_rate; in mapFrameBufferLocked()
260 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) { in mapFrameBufferLocked()
265 float fps = (float)metadata.data.panel_frame_rate; in mapFrameBufferLocked()
/hardware/qcom/power/
Dpower.c115 static void process_video_encode_hint(void *metadata) in process_video_encode_hint() argument
125 if (metadata) { in process_video_encode_hint()
126 if (!strncmp(metadata, STATE_ON, sizeof(STATE_ON))) { in process_video_encode_hint()
130 } else if (!strncmp(metadata, STATE_OFF, sizeof(STATE_OFF))) { in process_video_encode_hint()
134 } else if (!strncmp(metadata, STATE_HDR_ON, sizeof(STATE_HDR_ON))) { in process_video_encode_hint()
136 } else if (!strncmp(metadata, STATE_HDR_OFF, sizeof(STATE_HDR_OFF))) { in process_video_encode_hint()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.h246 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getWidth() local
247 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getWidth()
248 return metadata->bufferDim.sliceWidth; in getWidth()
256 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getHeight() local
257 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getHeight()
258 return metadata->bufferDim.sliceHeight; in getHeight()
Dhwc_utils.cpp68 struct msmfb_metadata metadata; in openFramebufferDevice() local
69 memset(&metadata, 0 , sizeof(metadata)); in openFramebufferDevice()
70 metadata.op = metadata_op_frame_rate; in openFramebufferDevice()
72 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice()
77 float fps = metadata.data.panel_frame_rate; in openFramebufferDevice()
793 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in setMdpFlags() local
806 if(metadata && (metadata->operation & PP_PARAM_INTERLACED) && in setMdpFlags()
807 metadata->interlaced) { in setMdpFlags()
830 if(metadata && in setMdpFlags()
831 ((metadata->operation & PP_PARAM_HSIC) in setMdpFlags()
[all …]
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.h224 const hwc_rect_t& pos, const MetaData_t *metadata,
299 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getWidth() local
300 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getWidth()
301 return metadata->bufferDim.sliceWidth; in getWidth()
309 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in getHeight() local
310 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getHeight()
311 return metadata->bufferDim.sliceHeight; in getHeight()
Dhwc_utils.cpp81 struct msmfb_metadata metadata; in openFramebufferDevice() local
82 memset(&metadata, 0 , sizeof(metadata)); in openFramebufferDevice()
83 metadata.op = metadata_op_frame_rate; in openFramebufferDevice()
85 if (ioctl(fb_fd, MSMFB_METADATA_GET, &metadata) == -1) { in openFramebufferDevice()
92 float fps = metadata.data.panel_frame_rate; in openFramebufferDevice()
753 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in setMdpFlags() local
766 if(metadata && (metadata->operation & PP_PARAM_INTERLACED) && in setMdpFlags()
767 metadata->interlaced) { in setMdpFlags()
790 if(metadata && in setMdpFlags()
791 ((metadata->operation & PP_PARAM_HSIC) in setMdpFlags()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dmapper.cpp343 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform() local
344 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in gralloc_perform()
345 *stride = metadata->bufferDim.sliceWidth; in gralloc_perform()
375 MetaData_t *metadata = (MetaData_t *)hnd->base_metadata; in gralloc_perform() local
376 if(metadata && metadata->operation & UPDATE_COLOR_SPACE) { in gralloc_perform()
377 *color_space = metadata->colorSpace; in gralloc_perform()
Dframebuffer.cpp254 struct msmfb_metadata metadata; in mapFrameBufferLocked() local
255 memset(&metadata, 0 , sizeof(metadata)); in mapFrameBufferLocked()
256 metadata.op = metadata_op_frame_rate; in mapFrameBufferLocked()
257 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) { in mapFrameBufferLocked()
262 float fps = metadata.data.panel_frame_rate; in mapFrameBufferLocked()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.h305 const hwc_rect_t& pos, const MetaData_t *metadata,
394 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getWidth() local
395 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getWidth()
396 return metadata->bufferDim.sliceWidth; in getWidth()
404 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getHeight() local
405 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getHeight()
406 return metadata->bufferDim.sliceHeight; in getHeight()
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.h332 const hwc_rect_t& pos, const MetaData_t *metadata,
421 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getWidth() local
422 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getWidth()
423 return metadata->bufferDim.sliceWidth; in getWidth()
431 MetaData_t *metadata = reinterpret_cast<MetaData_t*>(hnd->base_metadata); in getHeight() local
432 if(metadata && metadata->operation & UPDATE_BUFFER_GEOMETRY) { in getHeight()
433 return metadata->bufferDim.sliceHeight; in getHeight()
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp248 struct msmfb_metadata metadata; in mapFrameBufferLocked() local
249 memset(&metadata, 0 , sizeof(metadata)); in mapFrameBufferLocked()
250 metadata.op = metadata_op_frame_rate; in mapFrameBufferLocked()
251 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) { in mapFrameBufferLocked()
255 float fps = metadata.data.panel_frame_rate; in mapFrameBufferLocked()
/hardware/qcom/display/msm8974/libgralloc/
Dframebuffer.cpp248 struct msmfb_metadata metadata; in mapFrameBufferLocked() local
249 memset(&metadata, 0 , sizeof(metadata)); in mapFrameBufferLocked()
250 metadata.op = metadata_op_frame_rate; in mapFrameBufferLocked()
251 if (ioctl(fd, MSMFB_METADATA_GET, &metadata) == -1) { in mapFrameBufferLocked()
255 float fps = metadata.data.panel_frame_rate; in mapFrameBufferLocked()
/hardware/libhardware/modules/camera/
DMetadata.cpp51 int Metadata::init(const camera_metadata_t *metadata) in init() argument
55 if (!validate_camera_metadata_structure(metadata, NULL)) in init()
58 tmp = clone_camera_metadata(metadata); in init()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayCtrlData.h69 bool setVisualParams(const MetaData_t &metadata);
176 inline bool Ctrl::setVisualParams(const MetaData_t &metadata) in setVisualParams() argument
178 if (!mMdp.setVisualParams(metadata)) { in setVisualParams()
/hardware/intel/common/libmix/videoencoder/
DPVSoftMPEG4Encoder.cpp320 VideoParamsStoreMetaDataInBuffers *metadata = in setParameters() local
323 if (metadata->size != sizeof (VideoParamsStoreMetaDataInBuffers)) { in setParameters()
327 mStoreMetaDataInBuffers = metadata->isEnabled; in setParameters()
362 VideoParamsStoreMetaDataInBuffers *metadata = in getParameters() local
365 if (metadata->size != sizeof (VideoParamsStoreMetaDataInBuffers)) { in getParameters()
369 metadata->isEnabled = mStoreMetaDataInBuffers; in getParameters()

123