Searched refs:encrypted_frame (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/api/test/ |
D | fake_frame_encryptor.cc | 24 rtc::ArrayView<uint8_t> encrypted_frame, in Encrypt() argument 30 RTC_CHECK_EQ(frame.size() + 1, encrypted_frame.size()); in Encrypt() 32 encrypted_frame[i] = frame[i] ^ fake_key_; in Encrypt() 35 encrypted_frame[frame.size()] = postfix_byte_; in Encrypt() 36 *bytes_written = encrypted_frame.size(); in Encrypt()
|
D | fake_frame_decryptor.cc | 27 rtc::ArrayView<const uint8_t> encrypted_frame, in Decrypt() argument 33 RTC_CHECK_EQ(frame.size() + 1, encrypted_frame.size()); in Decrypt() 35 frame[i] = encrypted_frame[i] ^ fake_key_; in Decrypt() 38 if (encrypted_frame[frame.size()] != expected_postfix_byte_) { in Decrypt()
|
D | fake_frame_encryptor.h | 40 rtc::ArrayView<uint8_t> encrypted_frame,
|
D | fake_frame_decryptor.h | 40 rtc::ArrayView<const uint8_t> encrypted_frame,
|
/external/openscreen/cast/streaming/ |
D | frame_crypto.cc | 71 void FrameCrypto::Decrypt(const EncryptedFrame& encrypted_frame, in Decrypt() argument 73 encrypted_frame.CopyMetadataTo(encoded_frame); in Decrypt() 76 if (encrypted_frame.data.size() < encoded_frame->data.size()) { in Decrypt() 78 encrypted_frame.data.size()); in Decrypt() 80 EncryptCommon(encrypted_frame.frame_id, encrypted_frame.data, in Decrypt()
|
D | frame_crypto.h | 63 void Decrypt(const EncryptedFrame& encrypted_frame, 71 static int GetPlaintextSize(const EncryptedFrame& encrypted_frame) { in GetPlaintextSize() argument 72 return encrypted_frame.data.size(); in GetPlaintextSize()
|
D | receiver.cc | 105 const EncryptedFrame& encrypted_frame = in AdvanceToNextFrame() local 108 return FrameCrypto::GetPlaintextSize(encrypted_frame); in AdvanceToNextFrame() 110 if (encrypted_frame.dependency != EncodedFrame::DEPENDS_ON_ANOTHER) { in AdvanceToNextFrame() 114 return FrameCrypto::GetPlaintextSize(encrypted_frame); in AdvanceToNextFrame() 268 const EncryptedFrame& encrypted_frame = collector.PeekAtAssembledFrame(); in OnReceivedRtpPacket() local 272 if (encrypted_frame.dependency == EncryptedFrame::KEY_FRAME) { in OnReceivedRtpPacket()
|
/external/webrtc/video/ |
D | buffered_frame_decryptor.cc | 40 std::unique_ptr<RtpFrameObject> encrypted_frame) { in ManageEncryptedFrame() argument 41 switch (DecryptFrame(encrypted_frame.get())) { in ManageEncryptedFrame() 47 stashed_frames_.push_back(std::move(encrypted_frame)); in ManageEncryptedFrame() 51 decrypted_frame_callback_->OnDecryptedFrame(std::move(encrypted_frame)); in ManageEncryptedFrame()
|
D | buffered_frame_decryptor.h | 77 void ManageEncryptedFrame(std::unique_ptr<RtpFrameObject> encrypted_frame);
|
/external/webrtc/api/crypto/ |
D | frame_encryptor_interface.h | 42 rtc::ArrayView<uint8_t> encrypted_frame,
|
D | frame_decryptor_interface.h | 64 rtc::ArrayView<const uint8_t> encrypted_frame,
|
/external/libwebm/ |
D | webm_info.cc | 970 const bool encrypted_frame = !!(data[0] & KEncryptedBit); in OutputCluster() local 972 fprintf(o, " enc: %d", encrypted_frame ? 1 : 0); in OutputCluster() 975 if (encrypted_frame) { in OutputCluster() 1007 bool encrypted_frame = false; in OutputCluster() local 1014 encrypted_frame = true; in OutputCluster() 1027 if (!encrypted_frame || sub_sample_encrypt) { in OutputCluster()
|