Searched refs:codec_ctx (Results 1 - 5 of 5) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dlavfutils.c31 AVCodecContext *codec_ctx; local
52 codec_ctx = format_ctx->streams[0]->codec;
53 codec = avcodec_find_decoder(codec_ctx->codec_id);
60 if ((ret = avcodec_open2(codec_ctx, codec, NULL)) < 0) {
77 ret = avcodec_decode_video2(codec_ctx, frame, &frame_decoded, &pkt);
96 avcodec_close(codec_ctx);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvsrc_movie.c49 AVCodecContext *codec_ctx; member in struct:__anon2102
130 movie->codec_ctx = movie->format_ctx->streams[movie->stream_index]->codec;
136 codec = avcodec_find_decoder(movie->codec_ctx->codec_id);
142 if ((ret = avcodec_open2(movie->codec_ctx, codec, NULL)) < 0) {
152 movie->w = movie->codec_ctx->width;
153 movie->h = movie->codec_ctx->height;
192 if (movie->codec_ctx)
193 avcodec_close(movie->codec_ctx);
203 enum PixelFormat pix_fmts[] = { movie->codec_ctx->pix_fmt, PIX_FMT_NONE };
233 movie->codec_ctx
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavdevice/
H A Dfbdev_enc.c108 AVCodecContext *codec_ctx = h->streams[0]->codec; local
109 enum AVPixelFormat video_pix_fmt = codec_ctx->pix_fmt;
110 int video_width = codec_ctx->width;
111 int video_height = codec_ctx->height;
112 int bytes_per_pixel = ((codec_ctx->bits_per_coded_sample + 7) >> 3);
H A Dpulse_audio_enc.c639 AVCodecContext *codec_ctx = st->codec; local
640 AVRational r = { 1, codec_ctx->sample_rate };
641 int64_t samples = pkt->size / (av_get_bytes_per_sample(codec_ctx->sample_fmt) * codec_ctx->channels);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/doc/examples/
H A Dtranscoding.c67 AVCodecContext *codec_ctx; local
69 codec_ctx = stream->codec;
71 if (codec_ctx->codec_type == AVMEDIA_TYPE_VIDEO
72 || codec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) {
74 ret = avcodec_open2(codec_ctx,
75 avcodec_find_decoder(codec_ctx->codec_id), NULL);

Completed in 91 milliseconds