/external/chromium_org/media/base/ |
decrypt_config.cc | 14 const std::vector<SubsampleEntry>& subsamples) 18 subsamples_(subsamples) {
|
decrypt_config.h | 21 // regardless of how they are divided into subsamples, and the clear bytes 23 // to concatenating all 'cypher_bytes' portions of subsamples, decrypting that 44 // |subsamples| defines the clear and encrypted portions of the sample as 48 // |data_offset| is applied before |subsamples|. 52 const std::vector<SubsampleEntry>& subsamples); 58 const std::vector<SubsampleEntry>& subsamples() const { return subsamples_; } function in class:media::DecryptConfig
|
/external/chromium_org/media/mp4/ |
cenc.cc | 33 subsamples.resize(subsample_count); 39 subsamples[i].clear_bytes = clear_bytes; 40 subsamples[i].cypher_bytes = cypher_bytes; 47 for (size_t i = 0; i < subsamples.size(); i++) { 48 size += subsamples[i].clear_bytes + subsamples[i].cypher_bytes;
|
cenc.h | 20 std::vector<SubsampleEntry> subsamples; member in struct:media::mp4::FrameCENCInfo
|
mp4_stream_parser.cc | 355 std::vector<SubsampleEntry>* subsamples) const { 362 if (!subsamples->empty()) { 365 subsamples->size() * nalu_size_diff; 367 for (size_t i = 0; i < subsamples->size(); i++) 368 (*subsamples)[i].clear_bytes += nalu_size_diff; 379 if (!subsamples->empty()) 380 (*subsamples)[0].clear_bytes += param_sets.size(); 387 std::vector<SubsampleEntry>* subsamples) const { 393 if (subsamples->empty()) { 397 subsamples->push_back(entry) 461 std::vector<SubsampleEntry> subsamples; local [all...] |
mp4_stream_parser.h | 70 std::vector<SubsampleEntry>* subsamples) const; 73 std::vector<SubsampleEntry>* subsamples) const;
|
track_run_iterator_unittest.cc | 348 EXPECT_TRUE(config->subsamples().empty()); 351 EXPECT_EQ(config->subsamples().size(), 2u); 352 EXPECT_EQ(config->subsamples()[0].clear_bytes, 1u); 353 EXPECT_EQ(config->subsamples()[1].cypher_bytes, 4u);
|
track_run_iterator.cc | 424 if (!cenc_info.subsamples.empty() && 437 cenc_info.subsamples));
|
/external/chromium_org/media/cdm/ |
aes_decryptor.cc | 29 static void CopySubsamples(const std::vector<SubsampleEntry>& subsamples, 33 for (size_t i = 0; i < subsamples.size(); i++) { 34 const SubsampleEntry& subsample = subsamples[i]; 76 if (input.decrypt_config()->subsamples().empty()) { 90 const std::vector<SubsampleEntry>& subsamples = local 91 input.decrypt_config()->subsamples(); 95 for (size_t i = 0; i < subsamples.size(); i++) { 96 total_clear_size += subsamples[i].clear_bytes; 97 total_encrypted_size += subsamples[i].cypher_bytes; 110 // The encrypted portions of all subsamples must form a contiguous block [all...] |
/external/chromium_org/media/base/android/ |
demuxer_stream_player_params.h | 50 std::vector<media::SubsampleEntry> subsamples; member in struct:media::AccessUnit
|
media_codec_bridge.h | 74 const SubsampleEntry* subsamples, int subsamples_size,
|
media_codec_bridge.cc | 128 const SubsampleEntry* subsamples, int subsamples_size, 140 native_clear_array[i] = subsamples[i].clear_bytes; 141 native_cypher_array[i] = subsamples[i].cypher_bytes;
|
media_source_player.cc | 140 if (unit.iv.empty() || unit.subsamples.empty()) { 141 LOG(ERROR) << "The access unit doesn't have iv or subsamples while it " 149 &unit.subsamples[0], unit.subsamples.size(), unit.timestamp);
|
/external/chromium_org/ppapi/api/private/ |
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/ppapi/c/private/ |
pp_content_decryptor.h | 58 * An input block can be split into several continuous subsamples. 61 * subsamples: 128 struct PP_DecryptSubsampleDescription subsamples[16]; member in struct:PP_EncryptedBlockInfo
|
/external/chromium_org/media/cdm/ppapi/ |
cdm_wrapper.cc | 59 // Configures a cdm::InputBuffer. |subsamples| must exist as long as 64 std::vector<cdm::SubsampleEntry>* subsamples, 66 PP_DCHECK(subsamples); 88 subsamples->reserve(encrypted_block_info.num_subsamples); 91 subsamples->push_back(cdm::SubsampleEntry( 92 encrypted_block_info.subsamples[i].clear_bytes, 93 encrypted_block_info.subsamples[i].cipher_bytes)); 96 input_buffer->subsamples = &(*subsamples)[0]; 743 std::vector<cdm::SubsampleEntry> subsamples; [all...] |
clear_key_cdm.cc | 85 std::vector<media::SubsampleEntry> subsamples; local 88 subsample.clear_bytes = input_buffer.subsamples[i].clear_bytes; 89 subsample.cypher_bytes = input_buffer.subsamples[i].cipher_bytes; 90 subsamples.push_back(subsample); 99 subsamples));
|
/external/chromium_org/content/common/media/ |
media_player_messages_android.h | 60 IPC_STRUCT_TRAITS_MEMBER(subsamples)
|
/external/chromium_org/content/renderer/pepper/ |
content_decryptor_delegate.cc | 117 if (decrypt_config->subsamples().size() > arraysize(block_info->subsamples)) 120 block_info->num_subsamples = decrypt_config->subsamples().size(); 122 block_info->subsamples[i].clear_bytes = 123 decrypt_config->subsamples()[i].clear_bytes; 124 block_info->subsamples[i].cipher_bytes = 125 decrypt_config->subsamples()[i].cypher_bytes; [all...] |
/external/chromium_org/content/renderer/media/android/ |
media_source_delegate.cc | 422 params->access_units[index].subsamples = 423 buffer->decrypt_config()->subsamples();
|