Searched refs:subsample (Results 1 – 5 of 5) sorted by relevance
72 ::media::SubsampleEntry subsample; in Generate()73 subsample.clear_bytes = chunk_size; in Generate()74 if (subsample.clear_bytes > frame_size) in Generate()75 subsample.clear_bytes = frame_size; in Generate()76 frame_size -= subsample.clear_bytes; in Generate()79 subsample.cypher_bytes = chunk_size; in Generate()80 if (subsample.cypher_bytes > frame_size) in Generate()81 subsample.cypher_bytes = frame_size; in Generate()82 frame_size -= subsample.cypher_bytes; in Generate()85 subsamples.push_back(subsample); in Generate()
119 const SubsampleEntry& subsample = subsamples[i]; in CopySubsamples() local121 src += subsample.clear_bytes; in CopySubsamples()123 dst += subsample.clear_bytes; in CopySubsamples()125 memcpy(dst, src, subsample.cypher_bytes); in CopySubsamples()126 src += subsample.cypher_bytes; in CopySubsamples()127 dst += subsample.cypher_bytes; in CopySubsamples()
38 unsigned char subsample; member
43 * to support subsample decryption.47 * cipher bytes in each subsample. For example, the following block has three54 * contiguous (in the subsample order) logical stream. The clear bytes should70 * Size in bytes of clear data in a subsample entry.75 * Size in bytes of encrypted data in a subsample entry.
110 media::SubsampleEntry subsample; in CopyDecoderBufferFrom() local111 subsample.clear_bytes = input_buffer.subsamples[i].clear_bytes; in CopyDecoderBufferFrom()112 subsample.cypher_bytes = input_buffer.subsamples[i].cipher_bytes; in CopyDecoderBufferFrom()113 subsamples.push_back(subsample); in CopyDecoderBufferFrom()