Home | History | Annotate | Download | only in examples

Lines Matching full:info

66   VpxVideoInfo info;
71 vp9_zero(info);
80 info.codec_fourcc = encoder->fourcc;
81 info.frame_width = (int)strtol(argv[1], NULL, 0);
82 info.frame_height = (int)strtol(argv[2], NULL, 0);
83 info.time_base.numerator = 1;
84 info.time_base.denominator = fps;
86 if (info.frame_width <= 0 || info.frame_height <= 0 ||
87 (info.frame_width % 2) != 0 || (info.frame_height % 2) != 0) {
88 die("Invalid frame size: %dx%d", info.frame_width, info.frame_height);
91 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width,
92 info.frame_height, 1)) {
101 cfg.g_w = info.frame_width;
102 cfg.g_h = info.frame_height;
103 cfg.g_timebase.num = info.time_base.numerator;
104 cfg.g_timebase.den = info.time_base.denominator;
106 writer = vpx_video_writer_open(argv[4], kContainerIVF, &info);