Home
last modified time | relevance | path

Searched refs:error_protection (Results 1 - 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dlibtwolame.c44 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 Dmpegaudiodecheader.h37 int error_protection; \
H A Dmpegaudiodecheader.c60 s->error_protection = ((header >> 16) & 1) ^ 1; in avpriv_mpegaudio_decode_header()
H A Dmpegaudiodec_template.c367 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 Dcommon.c161 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 Dinterface.c521 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 Dmpg123.h101 int error_protection; /* 1 = CRC-16 code following header */ member
H A Dlayer3.c1887 mp->pinfo->crc = fr->error_protection; in decode_layer3_frame()
/third_party/lame/libmp3lame/
H A Dset_get.c819 * 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 Dlame_global_flags.h87 int error_protection; /* use 2 bytes per frame for a CRC member
H A DVbrTag.c236 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 Dutil.h420 int error_protection; /* use 2 bytes per frame for a CRC checksum. default=0 */ member
H A Dbitstream.c307 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 Dlame.c609 cfg->error_protection = gfp->error_protection; in lame_init_params()
968 if (cfg->error_protection) in lame_init_params()

Completed in 19 milliseconds