/external/pdfium/core/fxcrt/ |
D | cfx_bitstream_unittest.cpp | 24 CFX_BitStream bitstream(kData); in TEST() local 27 EXPECT_FALSE(bitstream.IsEOF()); in TEST() 28 EXPECT_EQ(0U, bitstream.GetPos()); in TEST() 29 EXPECT_EQ(64U, bitstream.BitsRemaining()); in TEST() 32 EXPECT_EQ(0x00U, bitstream.GetBits(8)); in TEST() 33 EXPECT_EQ(8U, bitstream.GetPos()); in TEST() 34 EXPECT_EQ(56U, bitstream.BitsRemaining()); in TEST() 36 EXPECT_EQ(0x00U, bitstream.GetBits(1)); in TEST() 37 EXPECT_EQ(9U, bitstream.GetPos()); in TEST() 38 EXPECT_EQ(55U, bitstream.BitsRemaining()); in TEST() [all …]
|
/external/webrtc/modules/video_coding/ |
D | h264_sps_pps_tracker.cc | 48 rtc::ArrayView<const uint8_t> bitstream, in CopyAndFixBitstream() argument 52 RTC_DCHECK_GT(bitstream.size(), 0); in CopyAndFixBitstream() 131 const uint8_t* nalu_ptr = bitstream.data() + 1; in CopyAndFixBitstream() 132 while (nalu_ptr < bitstream.data() + bitstream.size() - 1) { in CopyAndFixBitstream() 147 required_size += bitstream.size(); in CopyAndFixBitstream() 152 fixed.bitstream.EnsureCapacity(required_size); in CopyAndFixBitstream() 156 fixed.bitstream.AppendData(start_code_h264); in CopyAndFixBitstream() 157 fixed.bitstream.AppendData(sps->second.data.get(), sps->second.size); in CopyAndFixBitstream() 160 fixed.bitstream.AppendData(start_code_h264); in CopyAndFixBitstream() 161 fixed.bitstream.AppendData(pps->second.data.get(), pps->second.size); in CopyAndFixBitstream() [all …]
|
D | h264_sps_pps_tracker.h | 32 rtc::CopyOnWriteBuffer bitstream; member 39 FixedBitstream CopyAndFixBitstream(rtc::ArrayView<const uint8_t> bitstream,
|
/external/aac/libSACdec/src/ |
D | sac_bitdec.cpp | 218 HANDLE_FDK_BITSTREAM bitstream, SPATIAL_SPECIFIC_CONFIG *config, in SpatialDecParseExtensionConfig() argument 226 ba = fMin((int)FDKgetValidBits(bitstream), ba); in SpatialDecParseExtensionConfig() 233 config->sacExtType[config->sacExtCnt] = FDKreadBits(bitstream, 4); in SpatialDecParseExtensionConfig() 236 sacExtLen = FDKreadBits(bitstream, 4); in SpatialDecParseExtensionConfig() 240 sacExtLen += FDKreadBits(bitstream, 8); in SpatialDecParseExtensionConfig() 243 sacExtLen += FDKreadBits(bitstream, 16); in SpatialDecParseExtensionConfig() 249 bitstream); /* Extension config payload start anchor. */ in SpatialDecParseExtensionConfig() 260 bitsRead = tmp - FDKgetValidBits(bitstream); in SpatialDecParseExtensionConfig() 268 FDKpushFor(bitstream, nFillBits); in SpatialDecParseExtensionConfig() 280 HANDLE_FDK_BITSTREAM bitstream, in SpatialDecParseSpecificConfigHeader() argument [all …]
|
D | sac_bitdec.h | 126 HANDLE_FDK_BITSTREAM bitstream, 131 HANDLE_FDK_BITSTREAM bitstream, 137 HANDLE_FDK_BITSTREAM bitstream, 152 spatialDec *self, SPATIAL_BS_FRAME *frame, HANDLE_FDK_BITSTREAM bitstream,
|
/external/aac/libSACenc/src/ |
D | sacenc_bitstream.cpp | 263 static void ecData(HANDLE_FDK_BITSTREAM bitstream, in ecData() argument 290 FDKwriteBits(bitstream, losslessData->bsXXXDataMode[paramIdx][0], 2); in ecData() 306 FDKwriteBits(bitstream, losslessData->bsXXXDataMode[paramIdx][ps], 2); in ecData() 356 FDKwriteBits(bitstream, losslessData->bsDataPair[paramIdx][ps], 1); in ecData() 357 FDKwriteBits(bitstream, losslessData->bsQuantCoarseXXX[paramIdx][ps], 1); in ecData() 358 FDKwriteBits(bitstream, losslessData->bsFreqResStrideXXX[paramIdx][ps], in ecData() 401 fdk_sacenc_ecDataPairEnc(bitstream, cmpIdxData, cmpOldData, dataType, 0, in ecData() 406 fdk_sacenc_ecDataSingleEnc(bitstream, cmpIdxData, cmpOldData, dataType, in ecData() 547 FDK_BITSTREAM bitstream; in fdk_sacenc_writeSpatialSpecificConfig() local 561 FDKinitBitStream(&bitstream, pOutputBuffer, outputBufferSize, 0, BS_WRITER); in fdk_sacenc_writeSpatialSpecificConfig() [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_parse.c | 244 ia_mps_dec_state_struct *self, ia_handle_bit_buf_struct bitstream, in ixheaacd_mps_ecdata_decoding() argument 276 frame_xxx_data->bs_xxx_data_mode[i] = ixheaacd_read_bits_buf(bitstream, 2); in ixheaacd_mps_ecdata_decoding() 296 bs_data_pair = ixheaacd_read_bits_buf(bitstream, 1); in ixheaacd_mps_ecdata_decoding() 298 ixheaacd_read_bits_buf(bitstream, 1); in ixheaacd_mps_ecdata_decoding() 300 ixheaacd_read_bits_buf(bitstream, 2); in ixheaacd_mps_ecdata_decoding() 320 bitstream, data, lastdata, datatype, set_index, data_bands, in ixheaacd_mps_ecdata_decoding() 356 ia_handle_bit_buf_struct bitstream) { in ixheaacd_mps_frame_parsing() argument 371 bs_frame_type = ixheaacd_read_bits_buf(bitstream, 1); in ixheaacd_mps_frame_parsing() 372 self->num_parameter_sets = ixheaacd_read_bits_buf(bitstream, 3) + 1; in ixheaacd_mps_frame_parsing() 385 self->param_slots[i] = ixheaacd_read_bits_buf(bitstream, bits_param_slot); in ixheaacd_mps_frame_parsing() [all …]
|
/external/libogg/doc/ |
D | rfc3533.txt | 26 This document describes the Ogg bitstream format version 0, which is 29 encoding formats as well as other data streams in a single bitstream. 42 4. The Ogg bitstream format . . . . . . . . . . . . . . . . . . . 3 65 The Ogg bitstream format has been developed as a part of a larger 73 This document describes the Ogg bitstream format and how to use it to 75 encoders. The Ogg transport bitstream is designed to provide 96 format of the Ogg bitstream. See the Appendix for a more complete 102 bitstream, provided to the Ogg encapsulation process, has a 105 bitstream and represent meaningful entities for that encoder only 139 in the bitstream. [all …]
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | video_rtp_depacketizer.cc | 30 rtc::scoped_refptr<EncodedImageBuffer> bitstream = in AssembleFrame() local 33 uint8_t* write_at = bitstream->data(); in AssembleFrame() 38 RTC_DCHECK_EQ(write_at - bitstream->data(), bitstream->size()); in AssembleFrame() 39 return bitstream; in AssembleFrame()
|
D | video_rtp_depacketizer_av1.cc | 353 rtc::scoped_refptr<EncodedImageBuffer> bitstream = in AssembleFrame() local 355 uint8_t* write_at = bitstream->data(); in AssembleFrame() 364 RTC_CHECK_EQ(write_at - bitstream->data(), bitstream->size()); in AssembleFrame() 365 return bitstream; in AssembleFrame()
|
/external/llvm-project/llvm/test/ThinLTO/X86/ |
D | diagnostic-handler-remarks.ll | 55 ; RUN: rm -f %t.bitstream.thin.0.bitstream %t.bitstream.thin.1.bitstream 57 ; RUN: -lto-pass-remarks-output=%t.bitstream \ 59 ; RUN: -lto-pass-remarks-format=bitstream \ 63 ; RUN: llvm-bcanalyzer %t.bitstream.thin.0.bitstream 64 ; RUN: llvm-bcanalyzer %t.bitstream.thin.1.bitstream
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv84_video_bsp.c | 102 { dec->bitstream, NOUVEAU_BO_RDWR | NOUVEAU_BO_GART }, in nv84_decoder_bsp() 191 memcpy(dec->bitstream->map, ¶ms, sizeof(params)); in nv84_decoder_bsp() 193 assert(total_bytes + num_bytes[i] < dec->bitstream->size / 2 - 0x700); in nv84_decoder_bsp() 194 memcpy(dec->bitstream->map + 0x700 + total_bytes, data[i], num_bytes[i]); in nv84_decoder_bsp() 197 memcpy(dec->bitstream->map + 0x700 + total_bytes, end, sizeof(end)); in nv84_decoder_bsp() 200 memcpy(dec->bitstream->map + 0x600, more_params, sizeof(more_params)); in nv84_decoder_bsp() 216 PUSH_DATA (push, dec->bitstream->offset >> 8); in nv84_decoder_bsp() 217 PUSH_DATA (push, (dec->bitstream->offset >> 8) + 7); in nv84_decoder_bsp() 218 PUSH_DATA (push, dec->bitstream->size / 2 - 0x700); in nv84_decoder_bsp() 219 PUSH_DATA (push, (dec->bitstream->offset >> 8) + 6); in nv84_decoder_bsp()
|
/external/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | crc.c | 84 int WebRtcIsac_GetCrc(const int16_t* bitstream, in WebRtcIsac_GetCrc() argument 94 if (bitstream == NULL) { in WebRtcIsac_GetCrc() 98 bitstream_ptr_uw8 = (uint8_t *)bitstream; in WebRtcIsac_GetCrc()
|
/external/webp/src/mux/ |
D | muxedit.c | 128 static WebPMuxError GetImageData(const WebPData* const bitstream, in GetImageData() argument 132 if (bitstream->size < TAG_SIZE || in GetImageData() 133 memcmp(bitstream->bytes, "RIFF", TAG_SIZE)) { in GetImageData() 135 *image = *bitstream; in GetImageData() 139 WebPMux* const mux = WebPMuxCreate(bitstream, 0); in GetImageData() 216 const WebPData* const bitstream, int copy_data, WebPMuxImage* const wpi) { in SetAlphaAndImageChunks() argument 219 WebPMuxError err = GetImageData(bitstream, &image, &alpha, &is_lossless); in SetAlphaAndImageChunks() 233 WebPMuxError WebPMuxSetImage(WebPMux* mux, const WebPData* bitstream, in WebPMuxSetImage() argument 239 if (mux == NULL || bitstream == NULL || bitstream->bytes == NULL || in WebPMuxSetImage() 240 bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetImage() [all …]
|
D | muxread.c | 174 WebPMux* WebPMuxCreateInternal(const WebPData* bitstream, int copy_data, in WebPMuxCreateInternal() argument 193 if (bitstream == NULL) return NULL; in WebPMuxCreateInternal() 195 data = bitstream->bytes; in WebPMuxCreateInternal() 196 size = bitstream->size; in WebPMuxCreateInternal() 388 WebPData* const bitstream) { in SynthesizeBitstream() argument 418 bitstream->bytes = data; in SynthesizeBitstream() 419 bitstream->size = size; in SynthesizeBitstream() 453 return SynthesizeBitstream(wpi, &info->bitstream); in MuxGetImageInternal() 476 return SynthesizeBitstream(wpi, &frame->bitstream); in MuxGetFrameInternal()
|
/external/webrtc/common_video/h264/ |
D | h264_bitstream_parser.cc | 299 void H264BitstreamParser::ParseBitstream(const uint8_t* bitstream, in ParseBitstream() argument 302 H264::FindNaluIndices(bitstream, length); in ParseBitstream() 304 ParseSlice(&bitstream[index.payload_start_offset], index.payload_size); in ParseBitstream() 320 rtc::ArrayView<const uint8_t> bitstream) { in ParseBitstream() argument 321 ParseBitstream(bitstream.data(), bitstream.size()); in ParseBitstream()
|
D | h264_bitstream_parser.h | 35 void ParseBitstream(const uint8_t* bitstream, size_t length); 39 void ParseBitstream(rtc::ArrayView<const uint8_t> bitstream) override;
|
/external/webp/src/webp/ |
D | mux.h | 136 static WEBP_INLINE WebPMux* WebPMuxCreate(const WebPData* bitstream, in WebPMuxCreate() argument 138 return WebPMuxCreateInternal(bitstream, copy_data, WEBP_MUX_ABI_VERSION); in WebPMuxCreate() 200 WebPData bitstream; // image data: can be a raw VP8/VP8L bitstream member 226 WebPMux* mux, const WebPData* bitstream, int copy_data);
|
/external/webp/include/webp/ |
D | mux.h | 136 static WEBP_INLINE WebPMux* WebPMuxCreate(const WebPData* bitstream, in WebPMuxCreate() argument 138 return WebPMuxCreateInternal(bitstream, copy_data, WEBP_MUX_ABI_VERSION); in WebPMuxCreate() 200 WebPData bitstream; // image data: can be a raw VP8/VP8L bitstream member 226 WebPMux* mux, const WebPData* bitstream, int copy_data);
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/ |
D | NalUnitUtilTest.java | 195 byte[] bitstream = Util.getBytesFromHexString(input); in assertUnescapeMatchesExpected() 197 int count = NalUnitUtil.unescapeStream(bitstream, bitstream.length); in assertUnescapeMatchesExpected() 200 System.arraycopy(bitstream, 0, outputBitstream, 0, count); in assertUnescapeMatchesExpected() 205 byte[] bitstream = Util.getBytesFromHexString(input); in assertDiscardToSpsMatchesExpected() 207 ByteBuffer buffer = ByteBuffer.wrap(bitstream); in assertDiscardToSpsMatchesExpected()
|
/external/mesa3d/src/gallium/frontends/omx/ |
D | vid_enc_common.c | 41 pipe_resource_reference(&i->bitstream, NULL); in enc_ReleaseTasks() 144 if (!task->bitstream) in vid_enc_BufferEncoded_common() 152 pipe_resource_reference(&outp->bitstream, task->bitstream); in vid_enc_BufferEncoded_common() 153 pipe_resource_reference(&task->bitstream, NULL); in vid_enc_BufferEncoded_common() 155 box.width = outp->bitstream->width0; in vid_enc_BufferEncoded_common() 156 box.height = outp->bitstream->height0; in vid_enc_BufferEncoded_common() 157 box.depth = outp->bitstream->depth0; in vid_enc_BufferEncoded_common() 159 output->pBuffer = priv->t_pipe->transfer_map(priv->t_pipe, outp->bitstream, 0, in vid_enc_BufferEncoded_common()
|
/external/zstd/lib/ |
D | BUCK | 98 name='bitstream', 102 ('common', 'bitstream.h'), 123 ':bitstream', 223 ':bitstream',
|
/external/webrtc/modules/audio_coding/test/ |
D | opus_test.cc | 272 uint8_t bitstream[kMaxBytes]; in Run() local 276 &audio[read_samples], frame_length, kMaxBytes, bitstream); in Run() 299 opus_mono_decoder_, bitstream, bitstream_len_byte, in Run() 319 opus_stereo_decoder_, bitstream, bitstream_len_byte, in Run() 340 rtp_timestamp_, bitstream, bitstream_len_byte, 0); in Run()
|
/external/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | isacfix.c | 42 Bitstr_dec* bitstream) { in InitializeDecoderBitstream() argument 43 bitstream->W_upper = 0xFFFFFFFF; in InitializeDecoderBitstream() 44 bitstream->streamval = 0; in InitializeDecoderBitstream() 45 bitstream->stream_index = 0; in InitializeDecoderBitstream() 46 bitstream->full = 1; in InitializeDecoderBitstream() 47 bitstream->stream_size = (stream_size_bytes + 1) >> 1; in InitializeDecoderBitstream() 48 memset(bitstream->stream, 0, sizeof(bitstream->stream)); in InitializeDecoderBitstream()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | remarks-section.ll | 6 ; RUN: llc < %s -mtriple=x86_64-darwin --pass-remarks-format=bitstream -pass-remarks-output=%/t.yam… 7 ; RUN: llc < %s -mtriple=x86_64-darwin --pass-remarks-format=bitstream -remarks-section=false -pass… 22 ; bitstream needs a section.
|