/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | libxvid.c | 84 static int xvid_encode_close(AVCodecContext *avctx); 260 * @param avctx AVCodecContext pointer to context 266 static int xvid_strip_vol_header(AVCodecContext *avctx, argument 284 if( avctx->extradata == NULL ) { 285 avctx->extradata = av_malloc(vo_len); 286 memcpy(avctx->extradata, pkt->data, vo_len); 287 avctx->extradata_size = vo_len; 304 * @param avctx Context that contains the framerate to correct. 306 static void xvid_correct_framerate(AVCodecContext *avctx) argument 313 frate = avctx 356 xvid_encode_init(AVCodecContext *avctx) argument 674 xvid_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *picture, int *got_packet) argument 792 xvid_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | mpegvideoencdsp.h | 48 AVCodecContext *avctx); 50 AVCodecContext *avctx); 52 AVCodecContext *avctx); 54 AVCodecContext *avctx);
|
H A D | pnm.h | 35 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s);
|
H A D | sunrastenc.c | 37 static void sunrast_image_write_header(AVCodecContext *avctx) argument 39 SUNRASTContext *s = avctx->priv_data; 42 bytestream2_put_be32u(&s->p, avctx->width); 43 bytestream2_put_be32u(&s->p, avctx->height); 51 static void sunrast_image_write_image(AVCodecContext *avctx, argument 56 SUNRASTContext *s = avctx->priv_data; 78 len = (s->depth * avctx->width + 7) >> 3; 88 #define GET_VALUE y >= avctx->height ? 0 : x >= len ? ptr[len-1] : ptr[x] 92 while (y < avctx->height) { 102 while (value2 == value && run < 256 && y < avctx 135 sunrast_encode_init(AVCodecContext *avctx) argument 177 sunrast_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 201 sunrast_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | alacenc.c | 76 AVCodecContext *avctx; member in struct:AlacEncodeContext 84 int shift = av_get_bytes_per_sample(s->avctx->sample_fmt) * 8 - 85 s->avctx->bits_per_raw_sample; 96 if (s->avctx->sample_fmt == AV_SAMPLE_FMT_S32P) 374 if (s->avctx->sample_fmt == AV_SAMPLE_FMT_S32P) { 375 int shift = 32 - s->avctx->bits_per_raw_sample; 380 put_sbits(pb, s->avctx->bits_per_raw_sample, 387 put_sbits(pb, s->avctx->bits_per_raw_sample, 391 s->write_sample_size = s->avctx->bits_per_raw_sample - s->extra_bits + 447 const enum AlacRawDataBlockType *ch_elements = ff_alac_channel_elements[s->avctx 480 alac_encode_close(AVCodecContext *avctx) argument 489 alac_encode_init(AVCodecContext *avctx) argument 595 alac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | hnm4video.c | 65 static void unpack_intraframe(AVCodecContext *avctx, uint8_t *src, argument 68 Hnm4VideoContext *hnm = avctx->priv_data; 80 av_log(avctx, AV_LOG_ERROR, 102 av_log(avctx, AV_LOG_ERROR, "Attempting to read out of bounds\n"); 105 av_log(avctx, AV_LOG_ERROR, 116 static void postprocess_current_frame(AVCodecContext *avctx) argument 118 Hnm4VideoContext *hnm = avctx->priv_data; 131 static void copy_processed_frame(AVCodecContext *avctx, AVFrame *frame) argument 133 Hnm4VideoContext *hnm = avctx->priv_data; 145 static void decode_interframe_v4(AVCodecContext *avctx, uint8_ argument 272 decode_interframe_v4a(AVCodecContext *avctx, uint8_t *src, uint32_t size) argument 351 hnm_update_palette(AVCodecContext *avctx, uint8_t *src, uint32_t size) argument 392 hnm_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 453 hnm_decode_init(AVCodecContext *avctx) argument 487 hnm_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | audio_frame_queue.h | 33 AVCodecContext *avctx; member in struct:AudioFrameQueue 44 * @param avctx context to use for time_base and av_log 47 void ff_af_queue_init(AVCodecContext *avctx, AudioFrameQueue *afq);
|
H A D | mjpegenc_common.h | 31 void ff_mjpeg_encode_picture_header(AVCodecContext *avctx, PutBitContext *pb, 38 void ff_mjpeg_init_hvsample(AVCodecContext *avctx, int hsample[3], int vsample[3]);
|
H A D | vorbis_parser.h | 34 AVCodecContext *avctx; ///< codec context member in struct:VorbisParseContext 48 * @param avctx codec context 51 int avpriv_vorbis_parse_extradata(AVCodecContext *avctx, VorbisParseContext *s);
|
H A D | vp3_parser.c | 24 AVCodecContext *avctx, 28 if (avctx->codec_id == AV_CODEC_ID_THEORA) 23 parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
|
H A D | xxan.c | 32 AVCodecContext *avctx; member in struct:XanContext 41 static av_cold int xan_decode_end(AVCodecContext *avctx) argument 43 XanContext *s = avctx->priv_data; 53 static av_cold int xan_decode_init(AVCodecContext *avctx) argument 55 XanContext *s = avctx->priv_data; 57 s->avctx = avctx; 59 avctx->pix_fmt = AV_PIX_FMT_YUV420P; 61 if (avctx->height < 8) { 62 av_log(avctx, AV_LOG_ERRO 184 xan_decode_chroma(AVCodecContext *avctx, unsigned chroma_off) argument 282 xan_decode_frame_type0(AVCodecContext *avctx) argument 361 xan_decode_frame_type1(AVCodecContext *avctx) argument 406 xan_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument [all...] |
H A D | indeo2.c | 36 AVCodecContext *avctx; member in struct:Ir2Context 141 static int ir2_decode_frame(AVCodecContext *avctx, argument 145 Ir2Context * const s = avctx->priv_data; 152 if ((ret = ff_reget_buffer(avctx, p)) < 0) 158 av_log(s->avctx, AV_LOG_ERROR, "input buffer size too small (%d)\n", buf_size); 173 if ((ret = ir2_decode_plane(s, avctx->width, avctx->height, 179 if ((ret = ir2_decode_plane(s, avctx->width >> 2, avctx->height >> 2, 183 if ((ret = ir2_decode_plane(s, avctx 211 ir2_decode_init(AVCodecContext *avctx) argument 239 ir2_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | sgienc.c | 31 static av_cold int encode_init(AVCodecContext *avctx) argument 33 if (avctx->width > 65535 || avctx->height > 65535) { 34 av_log(avctx, AV_LOG_ERROR, 35 "Unsupported resolution %dx%d.\n", avctx->width, avctx->height); 36 av_log(avctx, AV_LOG_ERROR, "SGI does not support resolutions above 65535x65535\n"); 40 avctx->coded_frame = av_frame_alloc(); 41 if (!avctx->coded_frame) 47 static int encode_frame(AVCodecContext *avctx, AVPacke argument 209 encode_close(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | pcxenc.c | 38 static av_cold int pcx_encode_init(AVCodecContext *avctx) argument 40 PCXContext *s = avctx->priv_data; 43 avctx->coded_frame = &s->picture; 98 static int pcx_encode_frame(AVCodecContext *avctx, argument 101 PCXContext *s = avctx->priv_data; 114 if (avctx->width > 65535 || avctx->height > 65535) { 115 av_log(avctx, AV_LOG_ERROR, "image dimensions do not fit in 16 bits\n"); 119 switch (avctx->pix_fmt) { 140 av_log(avctx, AV_LOG_ERRO [all...] |
H A D | xvmc_internal.h | 29 int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx);
|
H A D | mxpegdec.c | 44 static av_cold int mxpeg_decode_init(AVCodecContext *avctx) argument 46 MXpegDecodeContext *s = avctx->priv_data; 50 return ff_mjpeg_decode_init(avctx); 77 av_log(s->jpg.avctx, AV_LOG_ERROR, 86 av_log(s->jpg.avctx, AV_LOG_ERROR, 94 av_log(s->jpg.avctx, AV_LOG_ERROR, 137 av_log(jpg->avctx, AV_LOG_ERROR, 147 av_log(jpg->avctx, AV_LOG_ERROR, 157 static int mxpeg_decode_frame(AVCodecContext *avctx, argument 163 MXpegDecodeContext *s = avctx 311 mxpeg_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | vp3_parser.c | 24 AVCodecContext *avctx, 28 if(avctx->codec_id == CODEC_ID_THEORA) 23 parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument
|
H A D | g726.c | 306 static av_cold int g726_encode_init(AVCodecContext *avctx) argument 308 G726Context* c = avctx->priv_data; 310 if (avctx->strict_std_compliance > FF_COMPLIANCE_UNOFFICIAL && 311 avctx->sample_rate != 8000) { 312 av_log(avctx, AV_LOG_ERROR, "Sample rates other than 8kHz are not " 317 av_assert0(avctx->sample_rate > 0); 319 if(avctx->channels != 1){ 320 av_log(avctx, AV_LOG_ERROR, "Only mono is supported\n"); 324 if (avctx->bit_rate) 325 c->code_size = (avctx 345 g726_encode_close(AVCodecContext *avctx) argument 351 g726_encode_frame(AVCodecContext *avctx, uint8_t *dst, int buf_size, void *data) argument 405 g726_decode_init(AVCodecContext *avctx) argument 437 g726_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 471 g726_decode_flush(AVCodecContext *avctx) argument [all...] |
H A D | libmp3lame.c | 44 static av_cold int MP3lame_encode_init(AVCodecContext *avctx) argument 46 Mp3AudioContext *s = avctx->priv_data; 48 if (avctx->channels > 2) 51 s->stereo = avctx->channels > 1 ? 1 : 0; 55 lame_set_in_samplerate(s->gfp, avctx->sample_rate); 56 lame_set_out_samplerate(s->gfp, avctx->sample_rate); 57 lame_set_num_channels(s->gfp, avctx->channels); 58 if (avctx->compression_level == FF_COMPRESSION_DEFAULT) { 61 lame_set_quality(s->gfp, avctx->compression_level); 64 lame_set_brate(s->gfp, avctx 149 MP3lame_encode_frame(AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) argument 207 MP3lame_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | sgidec.c | 152 static int decode_frame(AVCodecContext *avctx, argument 156 SgiState *s = avctx->priv_data; 165 av_log(avctx, AV_LOG_ERROR, "buf_size too small (%d)\n", avpkt->size); 171 av_log(avctx, AV_LOG_ERROR, "bad magic number\n"); 183 av_log(avctx, AV_LOG_ERROR, "wrong channel number\n"); 189 av_log(avctx, AV_LOG_ERROR, "wrong dimension number\n"); 194 avctx->pix_fmt = s->bytes_per_channel == 2 ? PIX_FMT_GRAY16BE : PIX_FMT_GRAY8; 196 avctx->pix_fmt = s->bytes_per_channel == 2 ? PIX_FMT_RGB48BE : PIX_FMT_RGB24; 198 avctx->pix_fmt = PIX_FMT_RGBA; 200 av_log(avctx, AV_LOG_ERRO 242 sgi_init(AVCodecContext *avctx) argument 251 sgi_end(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ppc/ |
H A D | dsputil_altivec.h | 43 void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx); 45 void dsputil_init_altivec(DSPContext* c, AVCodecContext *avctx); 46 void float_init_altivec(DSPContext* c, AVCodecContext *avctx); 47 void int_init_altivec(DSPContext* c, AVCodecContext *avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | assenc.c | 33 AVCodecContext *avctx= s->streams[0]->codec; local 36 if (s->nb_streams != 1 || (avctx->codec_id != AV_CODEC_ID_SSA && 37 avctx->codec_id != AV_CODEC_ID_ASS)) { 41 ass->write_ts = avctx->codec_id == AV_CODEC_ID_ASS; 44 while(ass->extra_index < avctx->extradata_size){ 45 uint8_t *p = avctx->extradata + ass->extra_index; 47 if(!end) end= avctx->extradata + avctx->extradata_size; 97 AVCodecContext *avctx= s->streams[0]->codec; local 99 avio_write(s->pb, avctx [all...] |
H A D | sauce.c | 32 int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height) argument 34 AVIOContext *pb = avctx->pb; 48 av_dict_set(&avctx->metadata, name, buf, 0); \ 68 avctx->streams[0]->codec->width = t1<<3; 72 avctx->streams[0]->codec->height = t2<<4; 75 avctx->streams[0]->codec->width = (filetype == 1 ? t1 : filetype) << 4; 79 avctx->streams[0]->codec->height = t2<<4; 99 av_dict_set(&avctx->metadata, "comment", str, AV_DICT_DONT_STRDUP_VAL);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/arm/ |
H A D | idctdsp_init_arm.c | 67 av_cold void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx, argument 75 if (!avctx->lowres && !high_bit_depth) { 76 if (avctx->idct_algo == FF_IDCT_AUTO || 77 avctx->idct_algo == FF_IDCT_ARM) { 82 } else if (avctx->idct_algo == FF_IDCT_SIMPLEARM) { 93 ff_idctdsp_init_armv5te(c, avctx, high_bit_depth); 95 ff_idctdsp_init_armv6(c, avctx, high_bit_depth); 97 ff_idctdsp_init_neon(c, avctx, high_bit_depth);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
H A D | sauce.c | 32 int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height) argument 34 AVIOContext *pb = avctx->pb; 48 av_dict_set(&avctx->metadata, name, buf, 0); \ 68 avctx->streams[0]->codec->width = t1<<3; 72 avctx->streams[0]->codec->height = t2<<4; 75 avctx->streams[0]->codec->width = (filetype == 1 ? t1 : filetype) << 4; 79 avctx->streams[0]->codec->height = t2<<4; 99 av_dict_set(&avctx->metadata, "comment", str, AV_DICT_DONT_STRDUP_VAL);
|