Lines Matching defs:value
54 void FrameConfig::SetVendorParameter(uint8_t *value, uint32_t len)
56 if (value == nullptr) {
57 MEDIA_ERR_LOG("value is a nullptr");
65 ret = memcpy_s(privateTag_, sizeof(privateTag_), value, len);
71 void FrameConfig::GetVendorParameter(uint8_t *value, uint32_t len)
73 if (value == nullptr) {
74 MEDIA_ERR_LOG("value is a nullptr");
78 errno_t ret = memcpy_s(value, realLength, privateTag_, realLength);
84 void FrameConfig::SetValue(uint32_t key, const void *value)
86 if (value == nullptr) {
87 MEDIA_ERR_LOG("value is a nullptr");
95 keyMap_[key] = *(static_cast<const int32_t *>(value));
98 crop.x = (static_cast<const CameraRect *>(value))->x;
99 crop.y = (static_cast<const CameraRect *>(value))->y;
100 crop.w = (static_cast<const CameraRect *>(value))->w;
101 crop.h = (static_cast<const CameraRect *>(value))->h;