av_crc 1564 libavcodec/ac3dec.c if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, &buf[2], av_crc 1631 libavcodec/ac3enc.c crc2_partial = av_crc(crc_ctx, 0, frame + 2, s->frame_size - 5); av_crc 1635 libavcodec/ac3enc.c crc1 = av_bswap16(av_crc(crc_ctx, 0, frame + 4, frame_size_58 - 4)); av_crc 1641 libavcodec/ac3enc.c crc2_partial = av_crc(crc_ctx, 0, frame + frame_size_58, av_crc 1644 libavcodec/ac3enc.c crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); av_crc 1648 libavcodec/ac3enc.c crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); av_crc 1869 libavcodec/alsdec.c ctx->crc = av_crc(ctx->crc_table, ctx->crc, (uint8_t*)(&v), 3); av_crc 1892 libavcodec/alsdec.c ctx->crc = av_crc(ctx->crc_table, ctx->crc, crc_source, av_crc 1590 libavcodec/apedec.c crc = av_crc(crc_tab, crc, smp, s->bps >> 3); av_crc 1778 libavcodec/dca_core.c !av_crc(dca->crctab, 0xffff, s->gb.buffer + av_crc 84 libavcodec/dcadec.h if (av_crc(dca->crctab, 0xffff, s->buffer + p1 / 8, (p2 - p1) / 8)) av_crc 500 libavcodec/ffv1dec.c v = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, av_crc 901 libavcodec/ffv1dec.c unsigned crc = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, buf_p, v); av_crc 459 libavcodec/ffv1enc.c v = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, f->avctx->extradata, f->avctx->extradata_size); av_crc 1254 libavcodec/ffv1enc.c v = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, buf_p, bytes); av_crc 138 libavcodec/flac.c if (av_crc(av_crc_get_table(AV_CRC_8_ATM), 0, gb->buffer, av_crc 383 libavcodec/flac_parser.c crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf, read_len); av_crc 388 libavcodec/flac_parser.c crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI), crc, buf, read_len); av_crc 612 libavcodec/flacdec.c av_crc(av_crc_get_table(AV_CRC_16_ANSI), av_crc 1236 libavcodec/flacenc.c crc = av_crc(av_crc_get_table(AV_CRC_8_ATM), 0, s->pb.buf, av_crc 1306 libavcodec/flacenc.c crc = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, s->pb.buf, av_crc 397 libavcodec/hcadec.c if (av_crc(c->crc_table, 0, avpkt->data, avpkt->size)) av_crc 89 libavcodec/mlp.c crc = av_crc(crc_2D, 0, buf, buf_size - 2); av_crc 96 libavcodec/mlp.c uint8_t checksum = av_crc(crc_63, 0x3c, buf, buf_size - 1); // crc_63[0xa2] == 0x3c av_crc 107 libavcodec/mlp.c crc = av_crc(crc_1D, crc, buf + 1, num_bytes - 2); av_crc 1575 libavcodec/mpegaudiodec_template.c uint32_t crc_cal = av_crc(crc_tab, UINT16_MAX, &buf[2], 2); av_crc 1576 libavcodec/mpegaudiodec_template.c crc_cal = av_crc(crc_tab, crc_cal, &buf[6], sec_len); av_crc 1225 libavcodec/pngdec.c uint32_t crc_cal = ~av_crc(crc_tab, UINT32_MAX, s->gb.buffer, length + 4); av_crc 233 libavcodec/pngenc.c crc = av_crc(crc_table, crc, tagbuf, 4); av_crc 236 libavcodec/pngenc.c crc = av_crc(crc_table, crc, buf, length); av_crc 259 libavcodec/pngenc.c crc = av_crc(crc_table, crc, s->bytestream - 8, 8); av_crc 261 libavcodec/pngenc.c crc = av_crc(crc_table, crc, buf, length); av_crc 851 libavcodec/pngenc.c uint32_t checksum = ~av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), ~0U, pict->data[1], 256 * sizeof(uint32_t)); av_crc 61 libavcodec/sbc.c crc = av_crc(ctx, 0x0F, data, byte_length); av_crc 551 libavcodec/svq1dec.c csum = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), av_bswap16(csum), bitbuf->buffer, bitbuf->size_in_bits >> 3)); av_crc 1298 libavcodec/svq3.c s->watermark_key = av_bswap16(av_crc(av_crc_get_table(AV_CRC_16_CCITT), 0, buf, buf_len)); av_crc 86 libavcodec/tak.c crc = av_crc(av_crc_get_table(AV_CRC_24_IEEE), 0xCE04B7U, buf, buf_size); av_crc 80 libavcodec/tta.c crc = av_crc(s->crc_table, 0xFFFFFFFFU, buf, buf_size); av_crc 186 libavcodec/ttaenc.c put_bits32(&pb, av_crc(s->crc_table, UINT32_MAX, avpkt->data, out_bytes) ^ UINT32_MAX); av_crc 229 libavfilter/x86/vf_spp.c av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, av_crc 75 libavformat/ac3dec.c if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf3 + 2, frame_size - 2)) av_crc 78 libavformat/ac3dec.c if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf2 + 2, frame_size - 2)) av_crc 72 libavformat/apngenc.c crc = av_crc(crc_table, crc, tagbuf, 4); av_crc 75 libavformat/apngenc.c crc = av_crc(crc_table, crc, buf, length); av_crc 209 libavformat/apngenc.c AV_WB32(existing_fcTL_chunk + 26, ~av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), ~0U, existing_fcTL_chunk - 4, 26 + 4)); av_crc 581 libavformat/aviobuf.c return av_crc(av_crc_get_table(AV_CRC_32_IEEE), checksum, buf, len); av_crc 587 libavformat/aviobuf.c return av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), checksum, buf, len); av_crc 593 libavformat/aviobuf.c return av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), checksum, buf, len); av_crc 75 libavformat/dtsdec.c if (av_crc(av_crc_get_table(AV_CRC_16_CCITT), 0xffff, buf + 3, hdr_size - 5)) av_crc 399 libavformat/matroskaenc.c AV_WL32(crc, av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), UINT32_MAX, buf + skip, size - skip) ^ UINT32_MAX); av_crc 361 libavformat/mp3enc.c mp3->audio_crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), av_crc 460 libavformat/mp3enc.c tag_crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), 0, mp3->xing_frame, 190); av_crc 454 libavformat/mpegts.c crc_valid = !av_crc(av_crc_get_table(AV_CRC_32_IEEE), -1, cur_section_buf, tss->section_h_size); av_crc 134 libavformat/mpegtsenc.c crc = av_bswap32(av_crc(av_crc_get_table(AV_CRC_32_IEEE), av_crc 120 libavformat/oggenc.c crc = av_crc(crc_table, 0, buf, ptr - buf); av_crc 121 libavformat/oggenc.c crc = av_crc(crc_table, crc, page->data, page->size); av_crc 50 libavformat/takdec.c return av_crc(av_crc_get_table(AV_CRC_24_IEEE), checksum, buf, len); av_crc 93 libavutil/crc.h uint32_t av_crc(const AVCRC *ctx, uint32_t crc, av_crc 178 libavutil/hash.c case CRC32: ctx->crc = av_crc(ctx->crctab, ctx->crc, src, len); break; av_crc 81 libavutil/lfg.c crc = av_crc(avcrc, crc, data + beg, end - beg); av_crc 44 libavutil/tests/crc.c printf("crc %08X = %X\n", p[i][1], av_crc(ctx, 0, buf, sizeof(buf))); av_crc 186 libswscale/tests/swscale.c crc = av_crc(av_crc_get_table(AV_CRC_32_IEEE), crc, dst[i], av_crc 576 tools/crypto_bench.c return av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, data, size);