Searched refs:avctx (Results 451 - 475 of 1129) sorted by relevance

<<11121314151617181920>>

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/
H A Dxfaceenc.c126 static av_cold int xface_encode_init(AVCodecContext *avctx) argument
128 avctx->coded_frame = av_frame_alloc();
129 if (!avctx->coded_frame)
131 avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
145 static int xface_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument
148 XFaceContext *xface = avctx->priv_data;
157 if (avctx->width || avctx->height) {
158 if (avctx->width != XFACE_WIDTH || avctx
221 xface_encode_close(AVCodecContext *avctx) argument
[all...]
H A Dadx.h68 * Sets avctx->channels and avctx->sample_rate.
70 * @param avctx codec context
77 int ff_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
81 int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf,
H A Dass.h45 * @param avctx pointer to the AVCodecContext
57 int ff_ass_subtitle_header(AVCodecContext *avctx,
67 * @param avctx pointer to the AVCodecContext
70 int ff_ass_subtitle_header_default(AVCodecContext *avctx);
H A Dasv.c83 av_cold void ff_asv_common_init(AVCodecContext *avctx) { argument
84 ASV1Context * const a = avctx->priv_data;
88 a->mb_width = (avctx->width + 15) / 16;
89 a->mb_height = (avctx->height + 15) / 16;
90 a->mb_width2 = (avctx->width + 0) / 16;
91 a->mb_height2 = (avctx->height + 0) / 16;
93 a->avctx= avctx;
H A Dasv.h43 AVCodecContext *avctx; member in struct:ASV1Context
71 void ff_asv_common_init(AVCodecContext *avctx);
H A Dblockdsp.h41 void ff_blockdsp_init(BlockDSPContext *c, AVCodecContext *avctx);
48 AVCodecContext *avctx);
H A Ddnxhddata.h52 int ff_dnxhd_find_cid(AVCodecContext *avctx, int bit_depth);
53 void ff_dnxhd_print_profiles(AVCodecContext *avctx, int loglevel);
H A Dffv1.c42 av_cold int ffv1_common_init(AVCodecContext *avctx) argument
44 FFV1Context *s = avctx->priv_data;
46 if (!avctx->width || !avctx->height)
49 s->avctx = avctx;
50 s->flags = avctx->flags;
57 s->width = avctx->width;
58 s->height = avctx->height;
123 int sxs = f->avctx
191 ffv1_close(AVCodecContext *avctx) argument
[all...]
H A Dg722dec.c58 static av_cold int g722_decode_init(AVCodecContext * avctx) argument
60 G722Context *c = avctx->priv_data;
62 avctx->channels = 1;
63 avctx->channel_layout = AV_CH_LAYOUT_MONO;
64 avctx->sample_fmt = AV_SAMPLE_FMT_S16;
84 static int g722_decode_frame(AVCodecContext *avctx, void *data, argument
87 G722Context *c = avctx->priv_data;
97 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
H A Drpza.c49 AVCodecContext *avctx; member in struct:RpzaContext
66 av_log(s->avctx, AV_LOG_ERROR, "warning: block counter just went negative (this should not happen)\n"); \
73 int width = s->avctx->width;
90 av_log(s->avctx, AV_LOG_ERROR, "First chunk byte is 0x%02x instead of 0xe1\n",
98 av_log(s->avctx, AV_LOG_WARNING, "MOV chunk size != encoded chunk size\n");
101 total_blocks = ((s->avctx->width + 3) / 4) * ((s->avctx->height + 3) / 4);
216 av_log(s->avctx, AV_LOG_ERROR, "Unknown opcode %d in rpza chunk."
224 static av_cold int rpza_decode_init(AVCodecContext *avctx) argument
226 RpzaContext *s = avctx
238 rpza_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument
261 rpza_decode_end(AVCodecContext *avctx) argument
[all...]
H A Dsunrast.c29 static int sunrast_decode_frame(AVCodecContext *avctx, void *data, argument
44 av_log(avctx, AV_LOG_ERROR, "this is not sunras encoded data\n");
57 avpriv_request_sample(avctx, "TIFF/IFF/EXPERIMENTAL (compression) type");
61 av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n");
65 avpriv_request_sample(avctx, "Unknown colormap type");
69 av_log(avctx, AV_LOG_ERROR, "invalid colormap type\n");
74 av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n");
80 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_MONOWHITE;
83 avctx->pix_fmt = maplength ? AV_PIX_FMT_PAL8 : AV_PIX_FMT_NONE;
86 avctx
[all...]
H A Dtakdec.c48 AVCodecContext *avctx; ///< parent AVCodecContext member in struct:TAKDecContext
140 static int set_bps_params(AVCodecContext *avctx) argument
142 switch (avctx->bits_per_raw_sample) {
144 avctx->sample_fmt = AV_SAMPLE_FMT_U8P;
147 avctx->sample_fmt = AV_SAMPLE_FMT_S16P;
150 avctx->sample_fmt = AV_SAMPLE_FMT_S32P;
153 av_log(avctx, AV_LOG_ERROR, "invalid/unsupported bits per sample: %d\n",
154 avctx->bits_per_raw_sample);
161 static void set_sample_rate_params(AVCodecContext *avctx) argument
163 TAKDecContext *s = avctx
170 tak_decode_init(AVCodecContext *avctx) argument
497 AVCodecContext *avctx = s->avctx; local
671 tak_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *pkt) argument
904 init_thread_copy(AVCodecContext *avctx) argument
923 tak_decode_close(AVCodecContext *avctx) argument
[all...]
H A Dtxd.c31 static int txd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, argument
52 av_log(avctx, AV_LOG_ERROR, "texture data version %i is unsupported\n",
58 avctx->pix_fmt = AV_PIX_FMT_PAL8;
60 avctx->pix_fmt = AV_PIX_FMT_RGB32;
62 av_log(avctx, AV_LOG_ERROR, "depth of %i is unsupported\n", depth);
66 if ((ret = ff_set_dimensions(avctx, w, h)) < 0)
69 if ((ret = ff_get_buffer(avctx, p, 0)) < 0)
130 av_log(avctx, AV_LOG_ERROR, "unsupported d3d format (%08x)\n", d3d_format);
H A Dvaapi_internal.h45 void ff_vaapi_common_end_frame(AVCodecContext *avctx);
66 int ff_vaapi_mpeg_end_frame(AVCodecContext *avctx);
H A Dvda.h195 * @param avctx the corresponding codec context
199 int av_vda_default_init(AVCodecContext *avctx);
205 * @param avctx the corresponding codec context
207 void av_vda_default_free(AVCodecContext *avctx);
H A Dvmdvideo.c50 AVCodecContext *avctx; member in struct:VmdVideoContext
205 if ((frame_width == s->avctx->width && frame_height == s->avctx->height) &&
215 frame_x >= s->avctx->width ||
216 frame_width > s->avctx->width ||
217 frame_x + frame_width > s->avctx->width) {
218 av_log(s->avctx, AV_LOG_ERROR,
224 frame_y >= s->avctx->height ||
225 frame_height > s->avctx->height ||
226 frame_y + frame_height > s->avctx
367 vmdvideo_decode_end(AVCodecContext *avctx) argument
378 vmdvideo_decode_init(AVCodecContext *avctx) argument
426 vmdvideo_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument
[all...]
H A Dadpcm.c91 static av_cold int adpcm_decode_init(AVCodecContext * avctx) argument
93 ADPCMDecodeContext *c = avctx->priv_data;
97 switch(avctx->codec->id) {
111 if (avctx->channels < min_channels || avctx->channels > max_channels) {
112 av_log(avctx, AV_LOG_ERROR, "Invalid number of channels\n");
116 switch(avctx->codec->id) {
121 if (avctx->bits_per_coded_sample < 2 || avctx->bits_per_coded_sample > 5)
125 if (avctx
329 xa_decode(AVCodecContext *avctx, int16_t *out0, int16_t *out1, const uint8_t *in, ADPCMChannelStatus *left, ADPCMChannelStatus *right, int channels, int sample_offset) argument
409 adpcm_swf_decode(AVCodecContext *avctx, const uint8_t *buf, int buf_size, int16_t *samples) argument
477 get_nb_samples(AVCodecContext *avctx, GetByteContext *gb, int buf_size, int *coded_samples, int *approx_nb_samples) argument
657 adpcm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument
[all...]
H A Dmpegvideo_enc.c158 s->qscale = av_clip(s->qscale, s->avctx->qmin, s->avctx->qmax);
188 qscale_table[s->mb_index2xy[i]] = av_clip(qp, s->avctx->qmin,
189 s->avctx->qmax);
242 if (s->avctx->trellis)
249 av_cold int ff_MPV_encode_init(AVCodecContext *avctx) argument
251 MpegEncContext *s = avctx->priv_data;
256 switch (avctx->codec_id) {
258 if (avctx->pix_fmt != AV_PIX_FMT_YUV420P &&
259 avctx
966 ff_MPV_encode_end(AVCodecContext *avctx) argument
1677 ff_MPV_encode_picture(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic_arg, int *got_packet) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/arm/
H A Dfmtconvert_init_arm.c34 void ff_fmt_convert_init_arm(FmtConvertContext *c, AVCodecContext *avctx) argument
43 if (!(avctx->flags & CODEC_FLAG_BITEXACT)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/
H A Dc93.c48 static av_cold int decode_init(AVCodecContext *avctx) argument
50 avctx->pix_fmt = PIX_FMT_PAL8;
54 static av_cold int decode_end(AVCodecContext *avctx) argument
56 C93DecoderContext * const c93 = avctx->priv_data;
59 avctx->release_buffer(avctx, &c93->pictures[0]);
61 avctx->release_buffer(avctx, &c93->pictures[1]);
65 static inline int copy_block(AVCodecContext *avctx, uint8_t *to, argument
80 av_log(avctx, AV_LOG_ERRO
115 decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
[all...]
H A Djvdec.c40 static av_cold int decode_init(AVCodecContext *avctx) argument
42 JvContext *s = avctx->priv_data;
43 avctx->pix_fmt = PIX_FMT_PAL8;
44 dsputil_init(&s->dsp, avctx);
131 static int decode_frame(AVCodecContext *avctx, argument
135 JvContext *s = avctx->priv_data;
146 if (avctx->reget_buffer(avctx, &s->frame) < 0) {
147 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
155 for (j = 0; j < avctx
195 decode_close(AVCodecContext *avctx) argument
[all...]
H A Dmace.c230 static av_cold int mace_decode_init(AVCodecContext * avctx) argument
232 MACEContext *ctx = avctx->priv_data;
234 if (avctx->channels > 2)
236 avctx->sample_fmt = AV_SAMPLE_FMT_S16;
239 avctx->coded_frame = &ctx->frame;
244 static int mace_decode_frame(AVCodecContext *avctx, void *data, argument
250 MACEContext *ctx = avctx->priv_data;
252 int is_mace3 = (avctx->codec_id == CODEC_ID_MACE3);
255 ctx->frame.nb_samples = 3 * (buf_size << (1 - is_mace3)) / avctx->channels;
256 if ((ret = avctx
[all...]
H A Dmmvideo.c49 AVCodecContext *avctx; member in struct:MmContext
55 static av_cold int mm_decode_init(AVCodecContext *avctx) argument
57 MmContext *s = avctx->priv_data;
59 s->avctx = avctx;
61 avctx->pix_fmt = PIX_FMT_PAL8;
93 if (y >= s->avctx->height)
114 if (x >= s->avctx->width) {
147 if (y + half_vert >= s->avctx->height)
175 static int mm_decode_frame(AVCodecContext *avctx, argument
219 mm_decode_end(AVCodecContext *avctx) argument
[all...]
H A Datrac1.c276 static int atrac1_decode_frame(AVCodecContext *avctx, void *data, argument
281 AT1Ctx *q = avctx->priv_data;
288 av_log(avctx, AV_LOG_ERROR, "Not enough data to decode!\n");
294 if ((ret = avctx->get_buffer(avctx, &q->frame)) < 0) {
295 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
329 return avctx->block_align;
333 static av_cold int atrac1_decode_end(AVCodecContext * avctx) argument
335 AT1Ctx *q = avctx->priv_data;
347 static av_cold int atrac1_decode_init(AVCodecContext *avctx) argument
[all...]
H A Dmsvideo1.c40 av_log(s->avctx, AV_LOG_ERROR, " MS Video-1 warning: stream_ptr out of bounds (%d >= %d)\n", \
47 AVCodecContext *avctx; member in struct:Msvideo1Context
58 static av_cold int msvideo1_decode_init(AVCodecContext *avctx) argument
60 Msvideo1Context *s = avctx->priv_data;
62 s->avctx = avctx;
65 if (s->avctx->bits_per_coded_sample == 8) {
67 avctx->pix_fmt = PIX_FMT_PAL8;
70 avctx->pix_fmt = PIX_FMT_RGB555;
99 blocks_wide = s->avctx
287 msvideo1_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument
326 msvideo1_decode_end(AVCodecContext *avctx) argument
[all...]

Completed in 301 milliseconds

<<11121314151617181920>>