Home | History | Annotate | Download | only in tools

Lines Matching refs:y4m

83 typedef enum { RAW_YUV, Y4M } input_file_type;
89 y4m_input y4m;
96 // Open a file and determine if its y4m or raw. If y4m get the header.
107 if (memcmp(y4m_buf, "YUV4", 4) == 0) input->type = Y4M;
109 case Y4M:
110 y4m_input_open(&input->y4m, input->file, y4m_buf, 4, 0);
111 input->w = input->y4m.pic_w;
112 input->h = input->y4m.pic_h;
113 input->bit_depth = input->y4m.bit_depth;
114 // Y4M alloc's its own buf. Init this to avoid problems if we never
134 if (in->type == Y4M) {
145 case Y4M:
146 r1 = y4m_input_fetch_frame(&in->y4m, in->file, &in->img);
588 "Usage: %s file1.{yuv|y4m} file2.{yuv|y4m}"
609 // If a y4m is the first file and w, h is not set grab from first file.