/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | tscc.c | 52 AVCodecContext *avctx; member in struct:TsccContext 73 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) argument 77 CamtasiaContext * const c = avctx->priv_data; 83 avctx->release_buffer(avctx, &c->pic); 87 if(avctx->get_buffer(avctx, &c->pic) < 0){ 88 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 94 av_log(avctx, AV_LOG_ERROR, "Inflate reset error: %d\n", zret); 104 av_log(avctx, AV_LOG_ERRO 140 decode_init(AVCodecContext *avctx) argument 192 decode_end(AVCodecContext *avctx) argument [all...] |
H A D | aac_ac3_parser.c | 27 AVCodecContext *avctx, 75 avctx->codec_id = s->codec_id; 81 if (avctx->codec_id != CODEC_ID_AAC) { 82 avctx->sample_rate = s->sample_rate; 85 if(avctx->request_channels > 0 && 86 avctx->request_channels < s->channels && 87 (avctx->request_channels <= 2 || 88 (avctx->request_channels == 1 && 89 (avctx->codec_id == CODEC_ID_AC3 || 90 avctx 26 ff_aac_ac3_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size) argument [all...] |
H A D | v410enc.c | 26 static av_cold int v410_encode_init(AVCodecContext *avctx) argument 28 if (avctx->width & 1) { 29 av_log(avctx, AV_LOG_ERROR, "v410 requires even width.\n"); 33 avctx->coded_frame = avcodec_alloc_frame(); 35 if (!avctx->coded_frame) { 36 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 43 static int v410_encode_frame(AVCodecContext *avctx, uint8_t *buf, argument 53 if (buf_size < avctx->width * avctx->height * 4) { 54 av_log(avctx, AV_LOG_ERRO 83 v410_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | adx.c | 37 int avpriv_adx_decode_header(AVCodecContext *avctx, const uint8_t *buf, argument 55 av_log_ask_for_sample(avctx, "unsupported ADX format\n"); 60 avctx->channels = buf[7]; 61 if (avctx->channels <= 0 || avctx->channels > 2) 65 avctx->sample_rate = AV_RB32(buf + 8); 66 if (avctx->sample_rate < 1 || 67 avctx->sample_rate > INT_MAX / (avctx->channels * BLOCK_SIZE * 8)) 71 avctx [all...] |
H A D | r210dec.c | 26 static av_cold int decode_init(AVCodecContext *avctx) argument 28 avctx->pix_fmt = PIX_FMT_RGB48; 29 avctx->bits_per_raw_sample = 10; 31 avctx->coded_frame = avcodec_alloc_frame(); 36 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, argument 40 AVFrame *pic = avctx->coded_frame; 42 int aligned_width = FFALIGN(avctx->width, 64); 46 avctx->release_buffer(avctx, pic); 48 if (avpkt->size < 4 * aligned_width * avctx 89 decode_close(AVCodecContext *avctx) argument [all...] |
H A D | pcm-mpeg.c | 49 * @param avctx the codec context 52 static int pcm_bluray_parse_header(AVCodecContext *avctx, argument 66 if (avctx->debug & FF_DEBUG_PICT_INFO) 67 av_dlog(avctx, "pcm_bluray_parse_header: header = %02x%02x%02x%02x\n", 71 avctx->bits_per_coded_sample = bits_per_samples[header[3] >> 6]; 72 if (!avctx->bits_per_coded_sample) { 73 av_log(avctx, AV_LOG_ERROR, "unsupported sample depth (0)\n"); 76 avctx->sample_fmt = avctx->bits_per_coded_sample == 16 ? AV_SAMPLE_FMT_S16 : 82 avctx 126 pcm_bluray_decode_init(AVCodecContext * avctx) argument 136 pcm_bluray_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | lclenc.c | 54 AVCodecContext *avctx; member in struct:LclEncContext 71 static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data){ argument 72 LclEncContext *c = avctx->priv_data; 82 if(avctx->pix_fmt != PIX_FMT_BGR24){ 83 av_log(avctx, AV_LOG_ERROR, "Format not supported!\n"); 89 av_log(avctx, AV_LOG_ERROR, "Deflate reset error: %d\n", zret); 95 for(i = avctx->height - 1; i >= 0; i--) { 97 c->zstream.avail_in = avctx->width*3; 100 av_log(avctx, AV_LOG_ERROR, "Deflate error: %d\n", zret); 106 av_log(avctx, AV_LOG_ERRO 118 encode_init(AVCodecContext *avctx) argument 163 encode_end(AVCodecContext *avctx) argument [all...] |
H A D | ptx.c | 30 static av_cold int ptx_init(AVCodecContext *avctx) { argument 31 PTXContext *s = avctx->priv_data; 34 avctx->coded_frame= &s->picture; 39 static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size, argument 43 PTXContext * const s = avctx->priv_data; 57 av_log_ask_for_sample(avctx, "Image format is not RGB15.\n"); 61 avctx->pix_fmt = PIX_FMT_RGB555; 66 av_log_ask_for_sample(avctx, "offset != 0x2c\n"); 71 avctx->release_buffer(avctx, 110 ptx_end(AVCodecContext *avctx) argument [all...] |
H A D | msgsmdec.h | 27 int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples,
|
H A D | msrledec.h | 31 * @param avctx codec context 36 int ff_msrle_decode(AVCodecContext *avctx, AVPicture *pic,
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | y41penc.c | 26 static av_cold int y41p_encode_init(AVCodecContext *avctx) argument 28 if (avctx->width & 7) { 29 av_log(avctx, AV_LOG_ERROR, "y41p requires width to be divisible by 8.\n"); 33 avctx->coded_frame = av_frame_alloc(); 34 avctx->bits_per_coded_sample = 12; 36 if (!avctx->coded_frame) { 37 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 44 static int y41p_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 51 if ((ret = ff_alloc_packet2(avctx, pkt, avctx 85 y41p_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | assdec.c | 30 static av_cold int ass_decode_init(AVCodecContext *avctx) argument 32 avctx->subtitle_header = av_malloc(avctx->extradata_size + 1); 33 if (!avctx->subtitle_header) 35 memcpy(avctx->subtitle_header, avctx->extradata, avctx->extradata_size); 36 avctx->subtitle_header[avctx->extradata_size] = 0; 37 avctx 44 ass_decode_close(AVCodecContext *avctx) argument 52 ssa_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) argument 87 ass_decode_frame(AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt) argument [all...] |
H A D | libwavpackenc.c | 43 static int wavpack_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 46 LibWavpackContext *s = avctx->priv_data; 60 av_log(avctx, AV_LOG_ERROR, "Error encoding a frame: %s\n", 67 (!frame || frame->nb_samples < avctx->frame_size)) { 70 av_log(avctx, AV_LOG_ERROR, "Error flushing the encoder: %s\n", 77 ff_af_queue_remove(&s->afq, avctx->frame_size, &pkt->pts, &pkt->duration); 86 AVCodecContext *avctx = id; local 87 LibWavpackContext *s = avctx->priv_data; 92 av_log(avctx, AV_LOG_ERROR, "Provided packet too small.\n"); 99 av_log(avctx, AV_LOG_ERRO 111 wavpack_encode_init(AVCodecContext *avctx) argument 172 wavpack_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | s302menc.c | 34 static av_cold int s302m_encode_init(AVCodecContext *avctx) argument 36 S302MEncContext *s = avctx->priv_data; 38 if (avctx->channels & 1 || avctx->channels > 8) { 39 av_log(avctx, AV_LOG_ERROR, 41 avctx->channels); 45 switch (avctx->sample_fmt) { 47 avctx->bits_per_raw_sample = 16; 50 if (avctx->bits_per_raw_sample > 20) { 51 if (avctx 69 s302m_encode2_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | pcm-dvd.c | 41 static av_cold int pcm_dvd_decode_init(AVCodecContext *avctx) argument 43 PCMDVDContext *s = avctx->priv_data; 54 static av_cold int pcm_dvd_decode_uninit(AVCodecContext *avctx) argument 56 PCMDVDContext *s = avctx->priv_data; 63 static int pcm_dvd_parse_header(AVCodecContext *avctx, const uint8_t *header) argument 67 PCMDVDContext *s = avctx->priv_data; 75 if (avctx->debug & FF_DEBUG_PICT_INFO) 76 av_dlog(avctx, "pcm_dvd_parse_header: header = %02x%02x%02x\n", 88 avctx->bits_per_coded_sample = 16 + (header[1] >> 6 & 3) * 4; 89 if (avctx 152 pcm_dvd_decode_samples(AVCodecContext *avctx, const uint8_t *src, void *dst, int blocks) argument 234 pcm_dvd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | vda_h264_dec.c | 70 static enum AVPixelFormat get_format(struct AVCodecContext *avctx, argument 88 static int get_buffer2(AVCodecContext *avctx, AVFrame *pic, int flag) argument 102 static inline void set_context(AVCodecContext *avctx) argument 104 VDADecoderContext *ctx = avctx->priv_data; 105 ctx->hwaccel_context = avctx->hwaccel_context; 106 avctx->hwaccel_context = &ctx->vda_ctx; 107 ctx->get_format = avctx->get_format; 108 avctx->get_format = get_format; 109 ctx->get_buffer2 = avctx->get_buffer2; 110 avctx 117 restore_context(AVCodecContext *avctx) argument 128 vdadec_decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 164 vdadec_close(AVCodecContext *avctx) argument 178 vdadec_init(AVCodecContext *avctx) argument 255 vdadec_flush(AVCodecContext *avctx) argument [all...] |
H A D | msrle.c | 41 AVCodecContext *avctx; member in struct:MsrleContext 51 static av_cold int msrle_decode_init(AVCodecContext *avctx) argument 53 MsrleContext *s = avctx->priv_data; 56 s->avctx = avctx; 58 switch (avctx->bits_per_coded_sample) { 60 avctx->pix_fmt = AV_PIX_FMT_MONOWHITE; 64 avctx->pix_fmt = AV_PIX_FMT_PAL8; 67 avctx->pix_fmt = AV_PIX_FMT_BGR24; 70 av_log(avctx, AV_LOG_ERRO 85 msrle_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 150 msrle_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | pcm-bluray.c | 50 * @param avctx the codec context 53 static int pcm_bluray_parse_header(AVCodecContext *avctx, argument 68 if (avctx->debug & FF_DEBUG_PICT_INFO) 69 av_dlog(avctx, "pcm_bluray_parse_header: header = %02x%02x%02x%02x\n", 73 avctx->bits_per_coded_sample = bits_per_samples[header[3] >> 6]; 74 if (!(avctx->bits_per_coded_sample == 16 || avctx->bits_per_coded_sample == 24)) { 75 av_log(avctx, AV_LOG_ERROR, "unsupported sample depth (%d)\n", avctx->bits_per_coded_sample); 78 avctx 126 pcm_bluray_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument [all...] |
H A D | rl2.c | 43 AVCodecContext *avctx; member in struct:Rl2Context 63 int base_x = video_base % s->avctx->width; 64 int base_y = video_base / s->avctx->width; 65 int stride_adj = stride - s->avctx->width; 69 const uint8_t *out_end = out + stride * s->avctx->height; 75 memcpy(out, back_frame, s->avctx->width); 77 back_frame += s->avctx->width; 79 back_frame += base_x - s->avctx->width; 129 * @param avctx decoder context 132 static av_cold int rl2_decode_init(AVCodecContext *avctx) argument 175 rl2_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 206 rl2_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | vda_internal.h | 30 int ff_vda_default_init(AVCodecContext *avctx); 31 void ff_vda_default_free(AVCodecContext *avctx);
|
H A D | libutvideoenc.cpp | 37 static av_cold int utvideo_encode_init(AVCodecContext *avctx) argument 39 UtVideoContext *utv = (UtVideoContext *)avctx->priv_data; 43 switch (avctx->pix_fmt) { 46 avctx->bits_per_coded_sample = 12; 47 if (avctx->colorspace == AVCOL_SPC_BT709) 48 avctx->codec_tag = MKTAG('U', 'L', 'H', '0'); 50 avctx->codec_tag = MKTAG('U', 'L', 'Y', '0'); 54 avctx->bits_per_coded_sample = 16; 55 if (avctx->colorspace == AVCOL_SPC_BT709) 56 avctx 129 utvideo_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) argument 203 utvideo_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | libx265.c | 62 static av_cold int libx265_encode_close(AVCodecContext *avctx) argument 64 libx265Context *ctx = avctx->priv_data; 66 av_frame_free(&avctx->coded_frame); 76 static av_cold int libx265_encode_init(AVCodecContext *avctx) argument 78 libx265Context *ctx = avctx->priv_data; 84 if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL && 85 !av_pix_fmt_desc_get(avctx->pix_fmt)->log2_chroma_w) { 86 av_log(avctx, AV_LOG_ERROR, 92 avctx->coded_frame = av_frame_alloc(); 93 if (!avctx 203 libx265_encode_frame(AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic, int *got_packet) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/arm/ |
H A D | dsputil_init_arm.c | 31 av_cold void ff_dsputil_init_arm(DSPContext *c, AVCodecContext *avctx) argument 36 ff_dsputil_init_armv6(c, avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | jacosubenc.c | 24 const AVCodecContext *avctx = s->streams[0]->codec; local 26 if (avctx->extradata_size) { 27 avio_write(s->pb, avctx->extradata, avctx->extradata_size - 1);
|
H A D | sauce.h | 33 * @param avctx AVFormatContext 38 int ff_sauce_read(AVFormatContext *avctx, uint64_t *fsize, int *got_width, int get_height);
|