Lines Matching refs:code
2 * ISO Media common code
96 /* deprecated by putting the code as 3*5 bits ASCII */
241 int i, code = 0;
260 code <<= 5;
261 code |= c;
263 return code;
266 int ff_mov_lang_to_iso639(unsigned code, char to[4])
270 /* is it the mangled iso code? */
272 if (code >= 0x400 && code != 0x7fff) {
274 to[i] = 0x60 + (code & 0x1f);
275 code >>= 5;
279 /* old fashion apple lang code */
280 if (code >= FF_ARRAY_ELEMS(mov_mdhd_language_map))
282 if (!mov_mdhd_language_map[code][0])
284 memcpy(to, mov_mdhd_language_map[code], 4);