Searched refs:_y4m (Results 1 – 2 of 2) sorted by relevance
/external/libvpx/libvpx/ |
D | y4minput.c | 52 static int y4m_parse_tags(y4m_input *_y4m, char *_tags) { in y4m_parse_tags() argument 72 if (sscanf(p + 1, "%d", &_y4m->pic_w) != 1)return -1; in y4m_parse_tags() 77 if (sscanf(p + 1, "%d", &_y4m->pic_h) != 1)return -1; in y4m_parse_tags() 82 if (sscanf(p + 1, "%d:%d", &_y4m->fps_n, &_y4m->fps_d) != 2) { in y4m_parse_tags() 89 _y4m->interlace = p[1]; in y4m_parse_tags() 94 if (sscanf(p + 1, "%d:%d", &_y4m->par_n, &_y4m->par_d) != 2) { in y4m_parse_tags() 102 memcpy(_y4m->chroma_type, p + 1, q - p - 1); in y4m_parse_tags() 103 _y4m->chroma_type[q - p - 1] = '\0'; in y4m_parse_tags() 111 if (!got_interlace)_y4m->interlace = '?'; in y4m_parse_tags() 112 if (!got_par)_y4m->par_n = _y4m->par_d = 0; in y4m_parse_tags() [all …]
|
D | y4minput.h | 31 typedef void (*y4m_convert_func)(y4m_input *_y4m, 65 int y4m_input_open(y4m_input *_y4m, FILE *_fin, char *_skip, int _nskip, 67 void y4m_input_close(y4m_input *_y4m); 68 int y4m_input_fetch_frame(y4m_input *_y4m, FILE *_fin, vpx_image_t *img);
|