Lines Matching defs:code
2 * ISO Media common code
226 /* deprecated by putting the code as 3*5bit ascii */
251 int i, code = 0;
271 code <<= 5;
272 code |= (c - 0x60);
274 return code;
277 int ff_mov_lang_to_iso639(unsigned code, char *to)
280 /* is it the mangled iso code? */
282 if (code > 138) {
284 to[i] = 0x60 + (code & 0x1f);
285 code >>= 5;
289 /* old fashion apple lang code */
290 if (code >= FF_ARRAY_ELEMS(mov_mdhd_language_map))
292 if (!mov_mdhd_language_map[code])
294 strncpy(to, mov_mdhd_language_map[code], 4);