Home
last modified time | relevance | path

Searched refs:bitstream (Results 1 – 25 of 167) sorted by relevance

1234567

/third_party/libsnd/src/ALAC/
Dalac_encoder.c55 static int32_t EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, …
56 static int32_t EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inp…
57 static int32_t EncodeStereoEscape (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * i…
58 static int32_t EncodeMono (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, ui…
222 EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t … in EncodeStereo() argument
225 …BitBuffer startBits = *bitstream ; // squirrel away copy of current state in case we need to go… in EncodeStereo()
404 BitBufferWrite (bitstream, 0, 12) ; in EncodeStereo()
405 BitBufferWrite (bitstream, (partialFrame << 3) | (bytesShifted << 1), 4) ; in EncodeStereo()
407 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeStereo()
408 BitBufferWrite (bitstream, mixBits, 8) ; in EncodeStereo()
[all …]
Dag_dec.c266 int32_t dyn_decomp (AGParamRecPtr params, BitBuffer * bitstream, int32_t * pc, int32_t numSamples, … in dyn_decomp() argument
279 …RequireAction ((bitstream != NULL) && (pc != NULL) && (outNumBits != NULL), return kALAC_ParamErro… in dyn_decomp()
282 in = bitstream->cur ; in dyn_decomp()
283 startPos = bitstream->bitIndex ; in dyn_decomp()
284 maxPos = bitstream->byteSize * 8 ; in dyn_decomp()
352 BitBufferAdvance (bitstream, *outNumBits) ; in dyn_decomp()
353 RequireAction (bitstream->cur <= bitstream->end, status = kALAC_ParamError ;) ; in dyn_decomp()
DALACEncoder.h58 …int32_t EncodeStereo (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t chan…
59 …int32_t EncodeStereoFast (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t …
60 …int32_t EncodeStereoEscape (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_…
61 …int32_t EncodeMono (struct BitBuffer * bitstream, void * input, uint32_t stride, uint32_t channe…
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c57 WebPBitstreamFeatures* bitstream) { in LoadWebP() argument
62 if (bitstream == NULL) { in LoadWebP()
63 bitstream = &local_features; in LoadWebP()
66 status = WebPGetFeatures(*data, *data_size, bitstream); in LoadWebP()
151 WebPBitstreamFeatures* const bitstream = &config.input; in ReadWebP() local
160 status = WebPGetFeatures(data, data_size, bitstream); in ReadWebP()
167 const int has_alpha = keep_alpha && bitstream->has_alpha; in ReadWebP()
169 pic->width = bitstream->width; in ReadWebP()
170 pic->height = bitstream->height; in ReadWebP()
172 stride = (uint64_t)bitstream->width * 4; in ReadWebP()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c57 WebPBitstreamFeatures* bitstream) { in LoadWebP() argument
62 if (bitstream == NULL) { in LoadWebP()
63 bitstream = &local_features; in LoadWebP()
66 status = WebPGetFeatures(*data, *data_size, bitstream); in LoadWebP()
151 WebPBitstreamFeatures* const bitstream = &config.input; in ReadWebP() local
160 status = WebPGetFeatures(data, data_size, bitstream); in ReadWebP()
167 const int has_alpha = keep_alpha && bitstream->has_alpha; in ReadWebP()
169 pic->width = bitstream->width; in ReadWebP()
170 pic->height = bitstream->height; in ReadWebP()
172 stride = (uint64_t)bitstream->width * 4; in ReadWebP()
[all …]
/third_party/boost/boost/beast/zlib/detail/
Dbitstream.hpp49 class bitstream class
128 bitstream::
143 bitstream::
152 bitstream::
163 bitstream::
174 bitstream::
187 bitstream::
/third_party/boost/libs/beast/include/boost/beast/zlib/detail/
Dbitstream.hpp49 class bitstream class
128 bitstream::
143 bitstream::
152 bitstream::
163 bitstream::
174 bitstream::
187 bitstream::
/third_party/ffmpeg/doc/
Dffmpeg-bitstream-filters.texi16 This document describes the bitstream filters provided by the
19 A bitstream filter operates on the encoded stream data, and performs
20 bitstream level modifications without performing decoding.
41 @setfilename ffmpeg-bitstream-filters
42 @settitle FFmpeg bitstream filters
Dlibavcodec.texi18 subtitle streams, and several bitstream filters.
30 @url{ffmpeg-codecs.html,ffmpeg-codecs}, @url{ffmpeg-bitstream-filters.html,bitstream-filters},
36 ffmpeg-codecs(1), ffmpeg-bitstream-filters(1),
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video_bsp.c102 { dec->bitstream, NOUVEAU_BO_RDWR | NOUVEAU_BO_GART }, in nv84_decoder_bsp()
191 memcpy(dec->bitstream->map, &params, 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()
/third_party/skia/third_party/externals/libwebp/examples/
Ddwebp.c187 WebPBitstreamFeatures* const bitstream = &config.input; in main() local
318 if (!LoadWebP(in_file, &data, &data_size, bitstream)) { in main()
325 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main()
327 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main()
337 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main()
340 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main()
344 output_buffer->colorspace = bitstream->has_alpha ? MODE_YUVA : MODE_YUV; in main()
399 bitstream->has_alpha ? " (with alpha)" : "", in main()
400 kFormatType[bitstream->format]); in main()
408 bitstream->has_alpha ? " (with alpha)" : "", in main()
[all …]
Dwebpmux.c235 frame.bitstream.bytes, frame.bitstream.size, &features); in DisplayInfo()
249 printf("%10d %11s\n", (int)frame.bitstream.size, in DisplayInfo()
254 WebPDataClear(&frame.bitstream); in DisplayInfo()
285 printf("Size of the image (with alpha): %d\n", (int)image.bitstream.size); in DisplayInfo()
287 WebPDataClear(&image.bitstream); in DisplayInfo()
391 WebPData bitstream; in CreateMux() local
393 if (!ExUtilReadFileToWebPData(filename, &bitstream)) return 0; in CreateMux()
394 *mux = WebPMuxCreate(&bitstream, 1); in CreateMux()
395 WebPDataClear(&bitstream); in CreateMux()
876 WebPDataInit(&info.bitstream); in GetFrame()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Ddwebp.c186 WebPBitstreamFeatures* const bitstream = &config.input; in main() local
317 if (!LoadWebP(in_file, &data, &data_size, bitstream)) { in main()
324 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main()
326 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main()
336 output_buffer->colorspace = bitstream->has_alpha ? MODE_BGRA : MODE_BGR; in main()
339 output_buffer->colorspace = bitstream->has_alpha ? MODE_RGBA : MODE_RGB; in main()
343 output_buffer->colorspace = bitstream->has_alpha ? MODE_YUVA : MODE_YUV; in main()
398 bitstream->has_alpha ? " (with alpha)" : "", in main()
399 kFormatType[bitstream->format]); in main()
407 bitstream->has_alpha ? " (with alpha)" : "", in main()
[all …]
Dwebpmux.c233 frame.bitstream.bytes, frame.bitstream.size, &features); in DisplayInfo()
247 printf("%10d %11s\n", (int)frame.bitstream.size, in DisplayInfo()
252 WebPDataClear(&frame.bitstream); in DisplayInfo()
283 printf("Size of the image (with alpha): %d\n", (int)image.bitstream.size); in DisplayInfo()
285 WebPDataClear(&image.bitstream); in DisplayInfo()
388 WebPData bitstream; in CreateMux() local
390 if (!ExUtilReadFileToWebPData(filename, &bitstream)) return 0; in CreateMux()
391 *mux = WebPMuxCreate(&bitstream, 1); in CreateMux()
392 WebPDataClear(&bitstream); in CreateMux()
866 WebPDataInit(&info.bitstream); in GetFrame()
[all …]
/third_party/skia/third_party/externals/libwebp/src/mux/
Dmuxedit.c128 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
238 if (mux == NULL || bitstream == NULL || bitstream->bytes == NULL || in WebPMuxSetImage()
239 bitstream->size > MAX_CHUNK_PAYLOAD) { in WebPMuxSetImage()
[all …]
Dmuxread.c174 WebPMux* WebPMuxCreateInternal(const WebPData* bitstream, int copy_data, in WebPMuxCreateInternal() argument
192 if (bitstream == NULL) return NULL; in WebPMuxCreateInternal()
194 data = bitstream->bytes; in WebPMuxCreateInternal()
195 size = bitstream->size; in WebPMuxCreateInternal()
387 WebPData* const bitstream) { in SynthesizeBitstream() argument
417 bitstream->bytes = data; in SynthesizeBitstream()
418 bitstream->size = size; in SynthesizeBitstream()
452 return SynthesizeBitstream(wpi, &info->bitstream); in MuxGetImageInternal()
475 return SynthesizeBitstream(wpi, &frame->bitstream); in MuxGetFrameInternal()
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/
Dmuxedit.c128 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 …]
Dmuxread.c175 WebPMux* WebPMuxCreateInternal(const WebPData* bitstream, int copy_data, in WebPMuxCreateInternal() argument
194 if (bitstream == NULL) return NULL; in WebPMuxCreateInternal()
196 data = bitstream->bytes; in WebPMuxCreateInternal()
197 size = bitstream->size; in WebPMuxCreateInternal()
390 WebPData* const bitstream) { in SynthesizeBitstream() argument
420 bitstream->bytes = data; in SynthesizeBitstream()
421 bitstream->size = size; in SynthesizeBitstream()
455 return SynthesizeBitstream(wpi, &info->bitstream); in MuxGetImageInternal()
478 return SynthesizeBitstream(wpi, &frame->bitstream); in MuxGetFrameInternal()
/third_party/skia/third_party/externals/libwebp/src/webp/
Dmux.h136 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);
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Dmux.h136 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);
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_enc_common.c41 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->buffer_map(priv->t_pipe, outp->bitstream, 0, in vid_enc_BufferEncoded_common()
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkdec.c1056 mfxBitstream bitstream; in gst_msdkdec_handle_frame() local
1105 memset (&bitstream, 0, sizeof (bitstream)); in gst_msdkdec_handle_frame()
1109 bitstream.NumExtParam = thiz->num_bs_extra_params; in gst_msdkdec_handle_frame()
1110 bitstream.ExtParam = thiz->bs_extra_params; in gst_msdkdec_handle_frame()
1117 bitstream.Data = map_info.data; in gst_msdkdec_handle_frame()
1118 bitstream.DataLength = map_info.size; in gst_msdkdec_handle_frame()
1119 bitstream.MaxLength = map_info.size; in gst_msdkdec_handle_frame()
1120 bitstream.TimeStamp = GST_TO_MFX_TIME (pts); in gst_msdkdec_handle_frame()
1129 bitstream.DataFlag |= MFX_BITSTREAM_COMPLETE_FRAME; in gst_msdkdec_handle_frame()
1135 bitstream.Data = (mfxU8 *) gst_adapter_map (thiz->adapter, data_size); in gst_msdkdec_handle_frame()
[all …]
/third_party/ffmpeg/libavcodec/
Dinterplayacm.c39 uint8_t *bitstream; member
80 …s->bitstream = av_calloc(s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE / sizeof(*s->bitstream) +… in decode_init()
81 if (!s->block || !s->wrapbuf || !s->ampbuf || !s->bitstream) in decode_init()
562 memmove(s->bitstream, &s->bitstream[s->bitstream_index], s->bitstream_size); in decode_frame()
566 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], pkt->data, buf_size); in decode_frame()
567 buf = &s->bitstream[s->bitstream_index]; in decode_frame()
618 av_freep(&s->bitstream); in decode_close()
/third_party/openh264/codec/build/iOS/dec/demo/demo/
Dmain.m77 NSLog (@"could not find any bitstream under decoderperfpath");
89 NSString* bitstream = [decFilePath stringByAppendingString:@"/"];
90 bitstream = [bitstream stringByAppendingString:caseName];
99 [bitstream UTF8String],
/third_party/weston/libweston/backend-drm/
Dvaapi-recorder.c123 struct bitstream { struct
141 bitstream_start(struct bitstream *bs) in bitstream_start() argument
149 bitstream_end(struct bitstream *bs) in bitstream_end()
161 bitstream_put_ui(struct bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui()
193 bitstream_put_ue(struct bitstream *bs, unsigned int val) in bitstream_put_ue()
208 bitstream_put_se(struct bitstream *bs, int val) in bitstream_put_se()
221 bitstream_byte_aligning(struct bitstream *bs, int bit) in bitstream_byte_aligning()
481 nal_start_code_prefix(struct bitstream *bs) in nal_start_code_prefix()
487 nal_header(struct bitstream *bs, int nal_ref_idc, int nal_unit_type) in nal_header()
497 rbsp_trailing_bits(struct bitstream *bs) in rbsp_trailing_bits()
[all …]

1234567