/external/chromium_org/media/mp4/ |
D | cenc.cc | 33 subsamples.resize(subsample_count); in Parse() 39 subsamples[i].clear_bytes = clear_bytes; in Parse() 40 subsamples[i].cypher_bytes = cypher_bytes; in Parse() 47 for (size_t i = 0; i < subsamples.size(); i++) { in GetTotalSizeOfSubsamples() 48 size += subsamples[i].clear_bytes; in GetTotalSizeOfSubsamples() 49 RCHECK(size >= subsamples[i].clear_bytes); // overflow in GetTotalSizeOfSubsamples() 50 size += subsamples[i].cypher_bytes; in GetTotalSizeOfSubsamples() 51 RCHECK(size >= subsamples[i].cypher_bytes); // overflow in GetTotalSizeOfSubsamples()
|
D | mp4_stream_parser.cc | 354 std::vector<SubsampleEntry>* subsamples) const { in PrepareAVCBuffer() 361 if (!subsamples->empty()) { in PrepareAVCBuffer() 364 subsamples->size() * nalu_size_diff; in PrepareAVCBuffer() 366 for (size_t i = 0; i < subsamples->size(); i++) in PrepareAVCBuffer() 367 (*subsamples)[i].clear_bytes += nalu_size_diff; in PrepareAVCBuffer() 378 if (!subsamples->empty()) in PrepareAVCBuffer() 379 (*subsamples)[0].clear_bytes += param_sets.size(); in PrepareAVCBuffer() 386 std::vector<SubsampleEntry>* subsamples) const { in PrepareAACBuffer() 392 if (subsamples->empty()) { in PrepareAACBuffer() 396 subsamples->push_back(entry); in PrepareAACBuffer() [all …]
|
D | mp4_stream_parser.h | 69 std::vector<SubsampleEntry>* subsamples) const; 72 std::vector<SubsampleEntry>* subsamples) const;
|
D | cenc.h | 20 std::vector<SubsampleEntry> subsamples; member
|
D | track_run_iterator_unittest.cc | 348 EXPECT_TRUE(config->subsamples().empty()); in TEST_F() 351 EXPECT_EQ(config->subsamples().size(), 2u); in TEST_F() 352 EXPECT_EQ(config->subsamples()[0].clear_bytes, 1u); in TEST_F() 353 EXPECT_EQ(config->subsamples()[1].cypher_bytes, 4u); in TEST_F()
|
D | track_run_iterator.cc | 442 if (!cenc_info.subsamples.empty() && in GetDecryptConfig() 455 cenc_info.subsamples)); in GetDecryptConfig()
|
/external/chromium_org/media/cdm/ |
D | aes_decryptor.cc | 106 static void CopySubsamples(const std::vector<SubsampleEntry>& subsamples, in CopySubsamples() argument 110 for (size_t i = 0; i < subsamples.size(); i++) { in CopySubsamples() 111 const SubsampleEntry& subsample = subsamples[i]; in CopySubsamples() 154 if (input.decrypt_config()->subsamples().empty()) { in DecryptData() 168 const std::vector<SubsampleEntry>& subsamples = in DecryptData() local 169 input.decrypt_config()->subsamples(); in DecryptData() 173 for (size_t i = 0; i < subsamples.size(); i++) { in DecryptData() 174 total_clear_size += subsamples[i].clear_bytes; in DecryptData() 175 total_encrypted_size += subsamples[i].cypher_bytes; in DecryptData() 177 DCHECK(total_clear_size >= subsamples[i].clear_bytes); in DecryptData() [all …]
|
/external/chromium_org/media/base/ |
D | decrypt_config.cc | 14 const std::vector<SubsampleEntry>& subsamples) in DecryptConfig() argument 18 subsamples_(subsamples) { in DecryptConfig()
|
D | decrypt_config.h | 52 const std::vector<SubsampleEntry>& subsamples); 58 const std::vector<SubsampleEntry>& subsamples() const { return subsamples_; } in subsamples() function
|
/external/chromium_org/media/cdm/ppapi/ |
D | cdm_adapter.cc | 51 std::vector<cdm::SubsampleEntry>* subsamples, in ConfigureInputBuffer() argument 53 PP_DCHECK(subsamples); in ConfigureInputBuffer() 74 subsamples->reserve(encrypted_block_info.num_subsamples); in ConfigureInputBuffer() 77 subsamples->push_back(cdm::SubsampleEntry( in ConfigureInputBuffer() 78 encrypted_block_info.subsamples[i].clear_bytes, in ConfigureInputBuffer() 79 encrypted_block_info.subsamples[i].cipher_bytes)); in ConfigureInputBuffer() 82 input_buffer->subsamples = &(*subsamples)[0]; in ConfigureInputBuffer() 363 std::vector<cdm::SubsampleEntry> subsamples; in Decrypt() local 364 ConfigureInputBuffer(encrypted_buffer, encrypted_block_info, &subsamples, in Decrypt() 480 std::vector<cdm::SubsampleEntry> subsamples; in DecryptAndDecode() local [all …]
|
D | clear_key_cdm.cc | 87 std::vector<media::SubsampleEntry> subsamples; in CopyDecoderBufferFrom() local 90 subsample.clear_bytes = input_buffer.subsamples[i].clear_bytes; in CopyDecoderBufferFrom() 91 subsample.cypher_bytes = input_buffer.subsamples[i].cipher_bytes; in CopyDecoderBufferFrom() 92 subsamples.push_back(subsample); in CopyDecoderBufferFrom() 101 subsamples)); in CopyDecoderBufferFrom()
|
/external/chromium_org/media/base/android/ |
D | media_codec_bridge.cc | 251 const SubsampleEntry* subsamples, in QueueSecureInputBuffer() argument 276 DCHECK(!subsamples); in QueueSecureInputBuffer() 281 DCHECK(subsamples); in QueueSecureInputBuffer() 283 DCHECK(subsamples[i].clear_bytes <= std::numeric_limits<uint16>::max()); in QueueSecureInputBuffer() 284 if (subsamples[i].cypher_bytes > in QueueSecureInputBuffer() 289 native_clear_array[i] = subsamples[i].clear_bytes; in QueueSecureInputBuffer() 290 native_cypher_array[i] = subsamples[i].cypher_bytes; in QueueSecureInputBuffer()
|
D | media_decoder_job.cc | 197 unit.subsamples.empty() ? NULL : &unit.subsamples[0], in QueueInputBuffer() 198 unit.subsamples.size(), in QueueInputBuffer()
|
D | demuxer_stream_player_params.h | 55 std::vector<media::SubsampleEntry> subsamples; member
|
D | media_codec_bridge.h | 120 const SubsampleEntry* subsamples,
|
/external/chromium_org/content/renderer/pepper/ |
D | content_decryptor_delegate.cc | 117 if (decrypt_config->subsamples().size() > arraysize(block_info->subsamples)) in MakeEncryptedBlockInfo() 120 block_info->num_subsamples = decrypt_config->subsamples().size(); in MakeEncryptedBlockInfo() 122 block_info->subsamples[i].clear_bytes = in MakeEncryptedBlockInfo() 123 decrypt_config->subsamples()[i].clear_bytes; in MakeEncryptedBlockInfo() 124 block_info->subsamples[i].cipher_bytes = in MakeEncryptedBlockInfo() 125 decrypt_config->subsamples()[i].cypher_bytes; in MakeEncryptedBlockInfo()
|
/external/chromium_org/ppapi/c/private/ |
D | pp_content_decryptor.h | 128 struct PP_DecryptSubsampleDescription subsamples[16]; member
|
/external/chromium_org/content/common/media/ |
D | media_player_messages_android.h | 62 IPC_STRUCT_TRAITS_MEMBER(subsamples)
|
/external/chromium_org/ppapi/api/private/ |
D | pp_content_decryptor.idl | 45 * An input block can be split into several continuous subsamples. 48 * subsamples: 122 PP_DecryptSubsampleDescription[16] subsamples;
|
/external/chromium_org/content/renderer/media/android/ |
D | media_source_delegate.cc | 478 data->access_units[index].subsamples = in OnBufferReady() 479 buffer->decrypt_config()->subsamples(); in OnBufferReady()
|