Home
last modified time | relevance | path

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

123456

/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.c268 int32_t dyn_decomp (AGParamRecPtr params, BitBuffer * bitstream, int32_t * pc, int32_t numSamples, … in dyn_decomp() argument
281 …RequireAction ((bitstream != NULL) && (pc != NULL) && (outNumBits != NULL), return kALAC_ParamErro… in dyn_decomp()
284 in = bitstream->cur ; in dyn_decomp()
285 startPos = bitstream->bitIndex ; in dyn_decomp()
286 maxPos = bitstream->byteSize * 8 ; in dyn_decomp()
354 BitBufferAdvance (bitstream, *outNumBits) ; in dyn_decomp()
355 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…
Daglib.h73 int32_t dyn_comp (AGParamRecPtr params, int32_t * pc, struct BitBuffer * bitstream, int32_t numSamp…
74 int32_t dyn_decomp (AGParamRecPtr params, struct BitBuffer * bitstream, int32_t * pc, int32_t numSa…
Dag_enc.c232 int32_t dyn_comp (AGParamRecPtr params, int32_t * pc, BitBuffer * bitstream, int32_t numSamples, in… in dyn_comp() argument
253 out = bitstream->cur ; in dyn_comp()
254 startPos = bitstream->bitIndex ; in dyn_comp()
348 BitBufferAdvance (bitstream, *outNumBits) ; in dyn_comp()
/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/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/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/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/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/ffmpeg/libavcodec/
Dinterplayacm.c41 uint8_t *bitstream; member
101 …s->bitstream = av_calloc(s->max_framesize + AV_INPUT_BUFFER_PADDING_SIZE / sizeof(*s->bitstream) +… in decode_init()
102 if (!s->block || !s->wrapbuf || !s->ampbuf || !s->bitstream) in decode_init()
572 memmove(s->bitstream, &s->bitstream[s->bitstream_index], s->bitstream_size); in decode_frame()
576 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], pkt->data, buf_size); in decode_frame()
577 buf = &s->bitstream[s->bitstream_index]; in decode_frame()
629 av_freep(&s->bitstream); in decode_close()
Ddxva2_mpeg2.c38 const uint8_t *bitstream; member
209 memcpy(current, &ctx_pic->bitstream[position], size); in commit_bitstream_and_slice_buffer()
273 ctx_pic->bitstream = NULL; in dxva2_mpeg2_start_frame()
290 if (!ctx_pic->bitstream) in dxva2_mpeg2_decode_slice()
291 ctx_pic->bitstream = buffer; in dxva2_mpeg2_decode_slice()
294 position = buffer - ctx_pic->bitstream; in dxva2_mpeg2_decode_slice()
Ddxva2_vp9.c34 const uint8_t *bitstream; member
206 memcpy(dxva_data, ctx_pic->bitstream, ctx_pic->slice.SliceBytesInBuffer); in commit_bitstream_and_slice_buffer()
271 ctx_pic->bitstream = NULL; in dxva2_vp9_start_frame()
283 if (!ctx_pic->bitstream) in dxva2_vp9_decode_slice()
284 ctx_pic->bitstream = buffer; in dxva2_vp9_decode_slice()
287 position = buffer - ctx_pic->bitstream; in dxva2_vp9_decode_slice()
Dshorten.c97 uint8_t *bitstream; member
538 tmp_ptr = av_fast_realloc(s->bitstream, &s->allocated_bitstream_size, in shorten_decode_frame()
546 s->bitstream = tmp_ptr; in shorten_decode_frame()
555 memmove(s->bitstream, &s->bitstream[s->bitstream_index], in shorten_decode_frame()
560 memcpy(&s->bitstream[s->bitstream_index + s->bitstream_size], buf, in shorten_decode_frame()
562 buf = &s->bitstream[s->bitstream_index]; in shorten_decode_frame()
588 tmp_ptr = av_fast_realloc(s->bitstream, &s->allocated_bitstream_size, in shorten_decode_frame()
594 s->bitstream = tmp_ptr; in shorten_decode_frame()
800 av_freep(&s->bitstream); in shorten_decode_close()
Dnvdec_h264.c140 tmp = av_fast_realloc(ctx->bitstream, &ctx->bitstream_allocated, in nvdec_h264_decode_slice()
144 ctx->bitstream = tmp; in nvdec_h264_decode_slice()
152 AV_WB24(ctx->bitstream + ctx->bitstream_len, 1); in nvdec_h264_decode_slice()
153 memcpy(ctx->bitstream + ctx->bitstream_len + 3, buffer, size); in nvdec_h264_decode_slice()
Ddxva2_vc1.c38 const uint8_t *bitstream; member
259 memcpy(current, &ctx_pic->bitstream[position], size); in commit_bitstream_and_slice_buffer()
328 ctx_pic->bitstream = NULL; in dxva2_vc1_start_frame()
353 if (!ctx_pic->bitstream) in dxva2_vc1_decode_slice()
354 ctx_pic->bitstream = buffer; in dxva2_vc1_decode_slice()
357 position = buffer - ctx_pic->bitstream; in dxva2_vc1_decode_slice()
Ddxva2_hevc.c38 const uint8_t *bitstream; member
302 memcpy(current, &ctx_pic->bitstream[position], size); in commit_bitstream_and_slice_buffer()
378 ctx_pic->bitstream = NULL; in dxva2_hevc_start_frame()
394 if (!ctx_pic->bitstream) in dxva2_hevc_decode_slice()
395 ctx_pic->bitstream = buffer; in dxva2_hevc_decode_slice()
398 position = buffer - ctx_pic->bitstream; in dxva2_hevc_decode_slice()
Dimm4.c48 uint8_t *bitstream; member
368 av_fast_padded_malloc(&s->bitstream, &s->bitstream_size, in decode_frame()
370 if (!s->bitstream) in decode_frame()
373 s->bdsp.bswap_buf((uint32_t *)s->bitstream, in decode_frame()
377 if ((ret = init_get_bits8(gb, s->bitstream, FFALIGN(avpkt->size, 4))) < 0) in decode_frame()
529 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/skia/third_party/externals/libwebp/doc/
DREADME22 $ kramdown doc/webp-lossless-bitstream-spec.txt --template \
25 doc/output/webp-lossless-bitstream-spec.html

123456