Home
last modified time | relevance | path

Searched refs:av_crc (Results 1 – 25 of 41) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dmlp.c92 crc = av_crc(crc_2D, 0, buf, buf_size - 2); in ff_mlp_checksum16()
99 uint8_t checksum = av_crc(crc_63, 0x3c, buf, buf_size - 1); // crc_63[0xa2] == 0x3c in ff_mlp_checksum8()
110 crc = av_crc(crc_1D, crc, buf + 1, num_bytes - 2); in ff_mlp_restart_checksum()
Ddcadec.h84 if (av_crc(dca->crctab, 0xffff, s->buffer + p1 / 8, (p2 - p1) / 8)) in ff_dca_check_crc()
Dpngenc.c233 crc = av_crc(crc_table, crc, tagbuf, 4); in png_write_chunk()
236 crc = av_crc(crc_table, crc, buf, length); in png_write_chunk()
259 crc = av_crc(crc_table, crc, s->bytestream - 8, 8); in png_write_image_data()
261 crc = av_crc(crc_table, crc, buf, length); in png_write_image_data()
851 …uint32_t checksum = ~av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), ~0U, pict->data[1], 256 * sizeof(… in encode_apng()
Dtak.c86 crc = av_crc(av_crc_get_table(AV_CRC_24_IEEE), 0xCE04B7U, buf, buf_size); in ff_tak_check_crc()
Dflac.c138 if (av_crc(av_crc_get_table(AV_CRC_8_ATM), 0, gb->buffer, in ff_flac_decode_frame_header()
Dttaenc.c186 put_bits32(&pb, av_crc(s->crc_table, UINT32_MAX, avpkt->data, out_bytes) ^ UINT32_MAX); in tta_encode_frame()
Dflac_parser.c384 crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf, read_len); in check_header_mismatch()
389 crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI), crc, buf, read_len); in check_header_mismatch()
Dsbc.c61 crc = av_crc(ctx, 0x0F, data, byte_length); in ff_sbc_crc8()
Dac3enc.c1698 crc2_partial = av_crc(crc_ctx, 0, frame + 2, s->frame_size - 5); in output_frame_end()
1702 crc1 = av_bswap16(av_crc(crc_ctx, 0, frame + 4, frame_size_58 - 4)); in output_frame_end()
1708 crc2_partial = av_crc(crc_ctx, 0, frame + frame_size_58, in output_frame_end()
1711 crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); in output_frame_end()
1715 crc2 = av_crc(crc_ctx, crc2_partial, frame + s->frame_size - 3, 1); in output_frame_end()
Dtta.c80 crc = av_crc(s->crc_table, 0xFFFFFFFFU, buf, buf_size); in tta_check_crc()
Dhcadec.c399 if (av_crc(c->crc_table, 0, avpkt->data, avpkt->size)) in decode_frame()
/third_party/ffmpeg/libavformat/
Dac3dec.c75 if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf3 + 2, frame_size - 2)) in ac3_eac3_probe()
78 if (av_crc(av_crc_get_table(AV_CRC_16_ANSI), 0, buf2 + 2, frame_size - 2)) in ac3_eac3_probe()
Dapngenc.c72 crc = av_crc(crc_table, crc, tagbuf, 4); in apng_write_chunk()
75 crc = av_crc(crc_table, crc, buf, length); in apng_write_chunk()
209 …AV_WB32(existing_fcTL_chunk + 26, ~av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), ~0U, existing_fcTL_… in flush_packet()
Ddtsdec.c75 if (av_crc(av_crc_get_table(AV_CRC_16_CCITT), 0xffff, buf + 3, hdr_size - 5)) in dts_probe()
Dtakdec.c50 return av_crc(av_crc_get_table(AV_CRC_24_IEEE), checksum, buf, len); in tak_check_crc()
Dmp3enc.c362 mp3->audio_crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), in mp3_write_audio_packet()
462 tag_crc = av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), 0, mp3->xing_frame, 190); in mp3_update_xing()
Daviobuf.c589 return av_crc(av_crc_get_table(AV_CRC_32_IEEE), checksum, buf, len); in ff_crc04C11DB7_update()
595 return av_crc(av_crc_get_table(AV_CRC_32_IEEE_LE), checksum, buf, len); in ff_crcEDB88320_update()
601 return av_crc(av_crc_get_table(AV_CRC_16_ANSI_LE), checksum, buf, len); in ff_crcA001_update()
Doggenc.c120 crc = av_crc(crc_table, 0, buf, ptr - buf); in ogg_write_page()
121 crc = av_crc(crc_table, crc, page->data, page->size); in ogg_write_page()
/third_party/ffmpeg/libavutil/tests/
Dcrc.c44 printf("crc %08X = %X\n", p[i][1], av_crc(ctx, 0, buf, sizeof(buf))); in main()
/third_party/ffmpeg/libavutil/
Dcrc.h93 uint32_t av_crc(const AVCRC *ctx, uint32_t crc,
Dlfg.c81 crc = av_crc(avcrc, crc, data + beg, end - beg); in av_lfg_init_from_data()
Dcrc.c392 uint32_t av_crc(const AVCRC *ctx, uint32_t crc, in av_crc() function
Dhash.c180 case CRC32: ctx->crc = av_crc(ctx->crctab, ctx->crc, src, len); break; in av_hash_update()
/third_party/ffmpeg/libavfilter/x86/
Dvf_spp.c229 av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, in ff_spp_init_x86()
/third_party/ffmpeg/libswscale/tests/
Dswscale.c186 crc = av_crc(av_crc_get_table(AV_CRC_32_IEEE), crc, dst[i], in doTest()

12