Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dwvdec.c52 uint8_t block_header[WV_HEADER_SIZE];
92 ret = avio_read(pb, wc->block_header, WV_HEADER_SIZE); in wv_read_block_header()
93 if (ret != WV_HEADER_SIZE) in wv_read_block_header()
295 if ((ret = av_new_packet(pkt, wc->header.blocksize + WV_HEADER_SIZE)) < 0) in wv_read_packet()
297 memcpy(pkt->data, wc->block_header, WV_HEADER_SIZE); in wv_read_packet()
298 ret = avio_read(s->pb, pkt->data + WV_HEADER_SIZE, wc->header.blocksize); in wv_read_packet()
308 if ((ret = av_grow_packet(pkt, WV_HEADER_SIZE + wc->header.blocksize)) < 0) { in wv_read_packet()
311 memcpy(pkt->data + off, wc->block_header, WV_HEADER_SIZE); in wv_read_packet()
313 ret = avio_read(s->pb, pkt->data + off + WV_HEADER_SIZE, wc->header.blocksize); in wv_read_packet()
Dwv.h26 #define WV_HEADER_SIZE 32 macro
Dwvenc.c50 if (pkt->size < WV_HEADER_SIZE || in wv_write_packet()
Dmatroskaenc.c1986 while (srclen >= WV_HEADER_SIZE) { in mkv_strip_wavpack()
1992 src += WV_HEADER_SIZE; in mkv_strip_wavpack()
1993 srclen -= WV_HEADER_SIZE; in mkv_strip_wavpack()
/third_party/ffmpeg/libavcodec/
Dwavpack.h30 #define WV_HEADER_SIZE 32 macro
Dwavpack.c1635 if (avpkt->size <= WV_HEADER_SIZE) in wavpack_decode_frame()
1653 while (buf_size > WV_HEADER_SIZE) { in wavpack_decode_frame()