Searched refs:error_protection (Results 1 - 14 of 14) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
H A D | libtwolame.c | 44 int error_protection; member 76 twolame_set_error_protection(s->glopts, s->error_protection); in twolame_encode_init() 189 { "error_protection","enable CRC error protection", OFFSET(error_protection), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, 1, AE},
|
H A D | mpegaudiodecheader.h | 37 int error_protection; \
|
H A D | mpegaudiodecheader.c | 60 s->error_protection = ((header >> 16) & 1) ^ 1; in avpriv_mpegaudio_decode_header()
|
H A D | mpegaudiodec_template.c | 367 if (s->error_protection && (s->err_recognition & AV_EF_CRCCHECK)) { in handle_crc() 1472 if (s->error_protection) in mp_decode_frame()
|
/third_party/lame/mpglib/ |
H A D | common.c | 161 fr->original ? "Yes" : "No", fr->error_protection ? "Yes" : "No", fr->emphasis); 216 fr->error_protection = ((newhead >> 16) & 0x1) ^ 0x1; in decode_header() 259 if (fr->error_protection) in decode_header()
|
H A D | interface.c | 521 if (mp->fr.error_protection) in decodeMP3_clipchoice() 547 if (mp->fr.error_protection) in decodeMP3_clipchoice() 607 if (mp->fr.error_protection) in decodeMP3_clipchoice() 615 if (mp->fr.error_protection) in decodeMP3_clipchoice()
|
H A D | mpg123.h | 101 int error_protection; /* 1 = CRC-16 code following header */ member
|
H A D | layer3.c | 1887 mp->pinfo->crc = fr->error_protection; in decode_layer3_frame()
|
/third_party/lame/libmp3lame/ |
H A D | set_get.c | 819 * error_protection. 823 lame_set_error_protection(lame_global_flags * gfp, int error_protection) in lame_set_error_protection() argument 831 if (0 > error_protection || 1 < error_protection) in lame_set_error_protection() 833 gfp->error_protection = error_protection; in lame_set_error_protection() 843 assert(0 <= gfp->error_protection && 1 >= gfp->error_protection); in lame_get_error_protection() 844 return gfp->error_protection; in lame_get_error_protection()
|
H A D | lame_global_flags.h | 87 int error_protection; /* use 2 bytes per frame for a CRC member
|
H A D | VbrTag.c | 236 SHIFT_IN_BITS_VALUE(buffer[1], 1u, (!cfg->error_protection) ? 1 : 0); in setLameTagFrameHeader() 934 if (cfg->error_protection) in lame_get_lametag_frame() 970 if (cfg->error_protection) { in lame_get_lametag_frame() 971 /* (jo) error_protection: add crc16 information to header */ in lame_get_lametag_frame()
|
H A D | util.h | 420 int error_protection; /* use 2 bytes per frame for a CRC checksum. default=0 */ member
|
H A D | bitstream.c | 307 int crc = 0xffff; /* (jo) init crc16 for error_protection */ in CRC_writeheader() 338 writeheader(gfc, (!cfg->error_protection), 1); in encodeSideInfo2() 348 if (cfg->error_protection) { in encodeSideInfo2() 469 if (cfg->error_protection) { in encodeSideInfo2() 470 /* (jo) error_protection: add crc16 information to header */ in encodeSideInfo2()
|
H A D | lame.c | 609 cfg->error_protection = gfp->error_protection; in lame_init_params() 968 if (cfg->error_protection) in lame_init_params()
|
Completed in 20 milliseconds