Home
last modified time | relevance | path

Searched refs:frmsizecod (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/audio/
DAc3Util.java442 int frmsizecod = data.readBits(6); in parseAc3SyncframeInfo() local
443 frameSize = getAc3SyncframeSize(fscod, frmsizecod); in parseAc3SyncframeInfo()
483 int frmsizecod = data[4] & 0x3F; local
484 return getAc3SyncframeSize(fscod, frmsizecod);
563 private static int getAc3SyncframeSize(int fscod, int frmsizecod) { in getAc3SyncframeSize() argument
564 int halfFrmsizecod = frmsizecod / 2; in getAc3SyncframeSize()
565 if (fscod < 0 || fscod >= SAMPLE_RATE_BY_FSCOD.length || frmsizecod < 0 in getAc3SyncframeSize()
572 return 2 * (SYNCFRAME_SIZE_WORDS_BY_HALF_FRMSIZECOD_44_1[halfFrmsizecod] + (frmsizecod % 2)); in getAc3SyncframeSize()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DAC3TrackImpl.java30 int frmsizecod; field in AC3TrackImpl
68 ac3.setBitRateCode(frmsizecod >> 1); in parse()
169 frmsizecod = brb.readBits(6); in readVariables()
171 if (!calcBitrateAndFrameSize(frmsizecod)) { in readVariables()