Home
last modified time | relevance | path

Searched refs:kChunks (Results 1 – 6 of 6) sorted by relevance

/external/webp/src/mux/
Dmuxedit.c83 assert(!IsWPI(kChunks[idx].id)); in MuxSet()
101 const size_t frame_size = kChunks[IDX_ANMF].size; in CreateFrameData()
221 is_lossless ? kChunks[IDX_VP8L].tag : kChunks[IDX_VP8].tag; in SetAlphaAndImageChunks()
224 err = AddDataToChunkList(&alpha, copy_data, kChunks[IDX_ALPHA].tag, in SetAlphaAndImageChunks()
296 const uint32_t tag = kChunks[IDX_ANMF].tag; in WebPMuxPushFrame()
339 err = MuxDeleteAllNamedData(mux, kChunks[IDX_ANIM].tag); in WebPMuxSetAnimationParams()
345 return MuxSet(mux, kChunks[IDX_ANIM].tag, &anim, 1); in WebPMuxSetAnimationParams()
366 err = MuxDeleteAllNamedData(mux, kChunks[IDX_VP8X].tag); in WebPMuxSetCanvasSize()
395 assert(frame_chunk->tag_ == kChunks[IDX_ANMF].tag); in GetFrameInfo()
486 err = MuxDeleteAllNamedData(mux, kChunks[IDX_VP8X].tag); in CreateVP8XChunk()
[all …]
Dmuxread.c26 kChunks[(INDEX)].tag); \
38 assert(!IsWPI(kChunks[idx].id)); in MuxGet()
79 const int is_lossless = (img->tag_ == kChunks[IDX_VP8L].tag); in MuxImageFinalize()
109 assert(chunk->tag_ == kChunks[IDX_ANMF].tag); in MuxImageParse()
210 if (tag != kChunks[IDX_VP8].tag && in WebPMuxCreateInternal()
211 tag != kChunks[IDX_VP8L].tag && in WebPMuxCreateInternal()
212 tag != kChunks[IDX_VP8X].tag) { in WebPMuxCreateInternal()
432 if (IsWPI(kChunks[idx].id)) { // An image chunk. in WebPMuxGetChunk()
460 const int is_frame = (wpi->header_->tag_ == kChunks[IDX_ANMF].tag); in MuxGetFrameInternal()
466 if (frame_data->size < kChunks[IDX_ANMF].size) return WEBP_MUX_BAD_DATA; in MuxGetFrameInternal()
[all …]
Dmuxinternal.c21 const ChunkInfo kChunks[] = { variable
67 for (i = 0; kChunks[i].tag != NIL_TAG; ++i) { in ChunkGetIndexFromTag()
68 if (tag == kChunks[i].tag) return (CHUNK_INDEX)i; in ChunkGetIndexFromTag()
75 for (i = 0; kChunks[i].tag != NIL_TAG; ++i) { in ChunkGetIdFromTag()
76 if (tag == kChunks[i].tag) return kChunks[i].id; in ChunkGetIdFromTag()
120 if (tag == kChunks[IDX_VP8X].tag || tag == kChunks[IDX_ANIM].tag) { in ChunkAssignData()
375 assert(header->tag_ == kChunks[IDX_ANMF].tag); in ChunkEmitSpecial()
447 WebPMuxNumChunks(mux, kChunks[idx].id, num); in ValidateChunk()
Dmuxi.h102 extern const ChunkInfo kChunks[IDX_LAST_CHUNK];
/external/webrtc/webrtc/modules/audio_processing/
Dsplitting_filter_unittest.cc41 static const size_t kChunks = 8; in TEST() local
48 for (size_t i = 0; i < kChunks; ++i) { in TEST()
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc63 static const int kChunks = 2; in TEST() local
64 size_t max_chunk_size = resampler.ChunkSize() * kChunks; in TEST()
75 .Times(kChunks).WillRepeatedly(ClearBuffer()); in TEST()