Searched refs:lang_code (Results 1 – 2 of 2) sorted by relevance
52 def lang_to_script(lang_code): argument53 lang = lang_code.lower()58 % lang_code)190 lang_code = hyb_file[hyb_file.index('-')+1:hyb_file.index('.')]191 scripts.add(lang_to_script(lang_code))
1501 char lang_code[4]; in parseChunk() local1502 lang_code[0] = ((lang[0] >> 2) & 0x1f) + 0x60; in parseChunk()1503 lang_code[1] = ((lang[0] & 0x3) << 3 | (lang[1] >> 5)) + 0x60; in parseChunk()1504 lang_code[2] = (lang[1] & 0x1f) + 0x60; in parseChunk()1505 lang_code[3] = '\0'; in parseChunk()1507 AMediaFormat_setString(mLastTrack->meta, AMEDIAFORMAT_KEY_LANGUAGE, lang_code); in parseChunk()