Searched refs:mediaImageLength (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/multimedia/av_session/services/session/server/test/ |
H A D | avcontroller_callback_proxy_test.cpp | 266 int32_t mediaImageLength = 0; variable 271 mediaImageLength = static_cast<int32_t>(mediaImageBuffer.size()); 272 metaData.SetMediaLength(mediaImageLength); 283 int32_t retExpect = mediaImageLength + avQueueImageLength; 305 int32_t mediaImageLength = 0; variable 310 mediaImageLength = static_cast<int>(mediaImageBuffer.size()); 311 metaData.SetMediaLength(mediaImageLength); 322 int32_t retExpect = mediaImageLength + avQueueImageLength;
|
/ohos5.0/foundation/multimedia/av_session/services/session/ipc/stub/ |
H A D | avcontroller_callback_stub.cpp | 107 int mediaImageLength = meta.GetMediaLength(); in HandleOnMetadataChange() local 108 if (buffer == nullptr || mediaImageLength <= 0 || mediaImageLength > twoImageLength) { in HandleOnMetadataChange() 110 static_cast<int>(buffer == nullptr), mediaImageLength); in HandleOnMetadataChange() 117 for (int i = 0; i < mediaImageLength; i++) { in HandleOnMetadataChange() 123 if (twoImageLength > mediaImageLength) { in HandleOnMetadataChange() 126 for (int j = mediaImageLength; j < twoImageLength; j++) { in HandleOnMetadataChange()
|
H A D | avsession_controller_stub.cpp | 154 int mediaImageLength = 0; in DoMetadataGetReplyInStub() local 159 mediaImageLength = static_cast<int>(mediaImageBuffer.size()); in DoMetadataGetReplyInStub() 160 metaData.SetMediaLength(mediaImageLength); in DoMetadataGetReplyInStub() 172 int twoImageLength = mediaImageLength + avQueueImageLength; in DoMetadataGetReplyInStub() 185 for (int i = 0; i < mediaImageLength; i++) { in DoMetadataGetReplyInStub() 189 for (int j = mediaImageLength, k = 0; j < twoImageLength && k < avQueueImageLength; j++, k++) { in DoMetadataGetReplyInStub()
|
H A D | avsession_stub.cpp | 138 int mediaImageLength = meta.GetMediaLength(); in SetImageData() local 139 … CHECK_AND_RETURN_RET_LOG(mediaImageLength >= 0, ERR_NONE, "mediaImageLength is negative number"); in SetImageData() 140 …CHECK_AND_RETURN_RET_LOG(mediaImageLength <= twoImageLength, ERR_NONE, "Maybe cuase Out-of-bunds r… in SetImageData() 145 std::vector<uint8_t> mediaImageBuffer(buffer, buffer + mediaImageLength); in SetImageData() 153 std::vector<uint8_t> avQueueImageBuffer(buffer + mediaImageLength, buffer + twoImageLength); in SetImageData()
|
/ohos5.0/foundation/multimedia/av_session/services/session/ipc/proxy/ |
H A D | avcontroller_callback_proxy.cpp | 89 int mediaImageLength = 0; in GetPixelMapBuffer() local 94 mediaImageLength = static_cast<int>(mediaImageBuffer.size()); in GetPixelMapBuffer() 95 metaData.SetMediaLength(mediaImageLength); in GetPixelMapBuffer() 107 int twoImageLength = mediaImageLength + avQueueImageLength; in GetPixelMapBuffer() 118 for (int i = 0; i < mediaImageLength; i++) { in GetPixelMapBuffer() 122 for (int j = mediaImageLength, k = 0; j < twoImageLength && k < avQueueImageLength; j++, k++) { in GetPixelMapBuffer()
|
H A D | avsession_proxy.cpp | 177 int mediaImageLength = 0; in GetPixelMapBuffer() local 182 mediaImageLength = static_cast<int>(mediaImageBuffer.size()); in GetPixelMapBuffer() 183 metaData.SetMediaLength(mediaImageLength); in GetPixelMapBuffer() 195 int twoImageLength = mediaImageLength + avQueueImageLength; in GetPixelMapBuffer() 206 for (int i = 0; i < mediaImageLength; i++) { in GetPixelMapBuffer() 210 for (int j = mediaImageLength, k = 0; j < twoImageLength && k < avQueueImageLength; j++, k++) { in GetPixelMapBuffer()
|
H A D | avsession_controller_proxy.cpp | 149 int mediaImageLength = data.GetMediaLength(); in GetAVMetaData() local 153 std::vector<uint8_t> mediaImageBuffer(buffer, buffer + mediaImageLength); in GetAVMetaData() 156 if (twoImageLength > mediaImageLength) { in GetAVMetaData() 159 std::vector<uint8_t> avQueueImageBuffer(buffer + mediaImageLength, buffer + twoImageLength); in GetAVMetaData()
|