Lines Matching defs:encoder
11 // Simple Encoder
14 // This is an example of a simple encoder loop. It takes an input file in
15 // YV12 format, passes it through the encoder, and writes the compressed
37 // Encoders have the notion of "usage profiles." For example, an encoder
39 // conferencing application and a best quality offline encoder. These
55 // The encoder is initialized by the following code.
61 // EOF) then the frame is passed to the encoder. Otherwise, a NULL
62 // is passed, indicating the End-Of-Stream condition to the encoder. The
75 // encoder.
158 const VpxInterface *encoder = NULL;
184 encoder = get_vpx_encoder_by_name(codec_arg);
185 if (!encoder)
188 info.codec_fourcc = encoder->fourcc;
210 printf("Using %s\n", vpx_codec_iface_name(encoder->interface()));
212 res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0);
230 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0))
231 die_codec(&codec, "Failed to initialize encoder");
239 encode_frame(&codec, NULL, -1, 0, writer); // flush the encoder