Lines Matching defs:info
102 VpxVideoInfo info = {0};
123 info.codec_fourcc = encoder->fourcc;
124 info.frame_width = strtol(argv[1], NULL, 0);
125 info.frame_height = strtol(argv[2], NULL, 0);
126 info.time_base.numerator = 1;
127 info.time_base.denominator = fps;
129 if (info.frame_width <= 0 ||
130 info.frame_height <= 0 ||
131 (info.frame_width % 2) != 0 ||
132 (info.frame_height % 2) != 0) {
133 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height);
136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width,
137 info.frame_height, 1)) {
147 cfg.g_w = info.frame_width;
148 cfg.g_h = info.frame_height;
149 cfg.g_timebase.num = info.time_base.numerator;
150 cfg.g_timebase.den = info.time_base.denominator;
153 writer = vpx_video_writer_open(argv[4], kContainerIVF, &info);