/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/sh4/ |
H A D | dsputil_sh4.h | 26 void dsputil_init_align(DSPContext* c, AVCodecContext *avctx);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | tmv.c | 37 static int tmv_decode_frame(AVCodecContext *avctx, void *data, argument 40 TMVContext *tmv = avctx->priv_data; 43 unsigned char_cols = avctx->width >> 3; 44 unsigned char_rows = avctx->height >> 3; 48 avctx->release_buffer(avctx, &tmv->pic); 50 if (avctx->get_buffer(avctx, &tmv->pic) < 0) { 51 av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); 56 av_log(avctx, AV_LOG_ERRO 85 tmv_decode_init(AVCodecContext *avctx) argument 91 tmv_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | msrle.c | 40 AVCodecContext *avctx; member in struct:MsrleContext 50 static av_cold int msrle_decode_init(AVCodecContext *avctx) argument 52 MsrleContext *s = avctx->priv_data; 54 s->avctx = avctx; 56 switch (avctx->bits_per_coded_sample) { 59 avctx->pix_fmt = PIX_FMT_PAL8; 62 avctx->pix_fmt = PIX_FMT_BGR24; 65 av_log(avctx, AV_LOG_ERROR, "unsupported bits per sample\n"); 74 static int msrle_decode_frame(AVCodecContext *avctx, argument 138 msrle_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | msgsmdec.c | 28 int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples, argument 34 res = gsm_decode_block(avctx, samples, &gb); 37 return gsm_decode_block(avctx, samples + GSM_FRAME_SIZE, &gb);
|
H A D | pnm.h | 36 int ff_pnm_decode_header(AVCodecContext *avctx, PNMContext * const s); 37 av_cold int ff_pnm_end(AVCodecContext *avctx); 38 av_cold int ff_pnm_init(AVCodecContext *avctx);
|
H A D | libopencore-amr.c | 26 static void amr_decode_fix_avctx(AVCodecContext *avctx) argument 28 const int is_amr_wb = 1 + (avctx->codec_id == CODEC_ID_AMR_WB); 30 if (!avctx->sample_rate) 31 avctx->sample_rate = 8000 * is_amr_wb; 33 if (!avctx->channels) 34 avctx->channels = 1; 36 avctx->frame_size = 160 * is_amr_wb; 37 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 99 static av_cold int amr_nb_decode_init(AVCodecContext *avctx) argument 101 AMRContext *s = avctx 122 amr_nb_decode_close(AVCodecContext *avctx) argument 131 amr_nb_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 183 amr_nb_encode_init(AVCodecContext *avctx) argument 212 amr_nb_encode_close(AVCodecContext *avctx) argument 221 amr_nb_encode_frame(AVCodecContext *avctx, unsigned char *frame , int buf_size, void *data ) argument 267 amr_wb_decode_init(AVCodecContext *avctx) argument 286 amr_wb_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 320 amr_wb_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | dxtory.c | 26 static av_cold int decode_init(AVCodecContext *avctx) argument 28 avctx->pix_fmt = PIX_FMT_YUV420P; 29 avctx->coded_frame = avcodec_alloc_frame(); 30 if (!avctx->coded_frame) 36 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, argument 40 AVFrame *pic = avctx->coded_frame; 46 avctx->release_buffer(avctx, pic); 48 if (avpkt->size < avctx->width * avctx 90 decode_close(AVCodecContext *avctx) argument [all...] |
H A D | libvpxdec.c | 37 static av_cold int vp8_init(AVCodecContext *avctx) argument 39 VP8Context *ctx = avctx->priv_data; 43 .threads = FFMIN(avctx->thread_count, 16) 46 av_log(avctx, AV_LOG_INFO, "%s\n", vpx_codec_version_str()); 47 av_log(avctx, AV_LOG_VERBOSE, "%s\n", vpx_codec_build_config()); 51 av_log(avctx, AV_LOG_ERROR, "Failed to initialize decoder: %s\n", 56 avctx->pix_fmt = PIX_FMT_YUV420P; 60 static int vp8_decode(AVCodecContext *avctx, argument 63 VP8Context *ctx = avctx->priv_data; 73 av_log(avctx, AV_LOG_ERRO 107 vp8_free(AVCodecContext *avctx) argument [all...] |
H A D | roqaudioenc.c | 40 static av_cold int roq_dpcm_encode_init(AVCodecContext *avctx) argument 42 ROQDPCMContext *context = avctx->priv_data; 44 if (avctx->channels > 2) { 45 av_log(avctx, AV_LOG_ERROR, "Audio must be mono or stereo\n"); 48 if (avctx->sample_rate != 22050) { 49 av_log(avctx, AV_LOG_ERROR, "Audio must be 22050 Hz\n"); 52 if (avctx->sample_fmt != AV_SAMPLE_FMT_S16) { 53 av_log(avctx, AV_LOG_ERROR, "Audio must be signed 16-bit\n"); 57 avctx->frame_size = ROQ_FIRST_FRAME_SIZE; 61 avctx 107 roq_dpcm_encode_frame(AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data) argument 149 roq_dpcm_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | libspeexdec.c | 37 static av_cold int libspeex_decode_init(AVCodecContext *avctx) argument 39 LibSpeexContext *s = avctx->priv_data; 43 if (avctx->sample_rate <= 8000) 45 else if (avctx->sample_rate <= 16000) 50 if (avctx->extradata_size >= 80) 51 s->header = speex_packet_to_header(avctx->extradata, avctx->extradata_size); 53 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 55 avctx->sample_rate = s->header->rate; 56 avctx 100 libspeex_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 146 libspeex_decode_close(AVCodecContext *avctx) argument 157 libspeex_decode_flush(AVCodecContext *avctx) argument [all...] |
H A D | sunrast.c | 37 static av_cold int sunrast_init(AVCodecContext *avctx) { argument 38 SUNRASTContext *s = avctx->priv_data; 41 avctx->coded_frame= &s->picture; 46 static int sunrast_decode_frame(AVCodecContext *avctx, void *data, argument 50 SUNRASTContext * const s = avctx->priv_data; 61 av_log(avctx, AV_LOG_ERROR, "this is not sunras encoded data\n"); 74 av_log(avctx, AV_LOG_ERROR, "unsupported (compression) type\n"); 78 av_log(avctx, AV_LOG_ERROR, "invalid (compression) type\n"); 81 if (av_image_check_size(w, h, 0, avctx)) { 82 av_log(avctx, AV_LOG_ERRO 192 sunrast_end(AVCodecContext *avctx) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavformat/ |
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);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
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,
|
H A D | v410enc.c | 28 static av_cold int v410_encode_init(AVCodecContext *avctx) argument 30 if (avctx->width & 1) { 31 av_log(avctx, AV_LOG_ERROR, "v410 requires width to be even.\n"); 35 avctx->coded_frame = av_frame_alloc(); 37 if (!avctx->coded_frame) { 38 av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n"); 45 static int v410_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 53 if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx 82 v410_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | aasc.c | 36 AVCodecContext *avctx; member in struct:AascContext 44 static av_cold int aasc_decode_init(AVCodecContext *avctx) argument 46 AascContext *s = avctx->priv_data; 50 s->avctx = avctx; 51 switch (avctx->bits_per_coded_sample) { 53 avctx->pix_fmt = AV_PIX_FMT_PAL8; 55 ptr = avctx->extradata; 56 s->palette_size = FFMIN(avctx->extradata_size, AVPALETTE_SIZE); 63 avctx 80 aasc_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) argument 143 aasc_decode_end(AVCodecContext *avctx) argument [all...] |
H A D | y41pdec.c | 26 static av_cold int y41p_decode_init(AVCodecContext *avctx) argument 28 avctx->pix_fmt = AV_PIX_FMT_YUV411P; 29 avctx->bits_per_raw_sample = 12; 31 if (avctx->width & 7) { 32 av_log(avctx, AV_LOG_WARNING, "y41p requires width to be divisible by 8.\n"); 38 static int y41p_decode_frame(AVCodecContext *avctx, void *data, argument 46 if (avpkt->size < 1.5 * avctx->height * avctx->width) { 47 av_log(avctx, AV_LOG_ERROR, "Insufficient input data.\n"); 51 if ((ret = ff_get_buffer(avctx, pi [all...] |
H A D | cljrdec.c | 31 static int decode_frame(AVCodecContext *avctx, argument 41 if (avctx->height <= 0 || avctx->width <= 0) { 42 av_log(avctx, AV_LOG_ERROR, "Invalid width or height\n"); 46 if (buf_size / avctx->height < avctx->width) { 47 av_log(avctx, AV_LOG_ERROR, 52 if ((ret = ff_get_buffer(avctx, p, 0)) < 0) 59 for (y = 0; y < avctx->height; y++) { 63 for (x = 0; x < avctx 79 decode_init(AVCodecContext *avctx) argument [all...] |
H A D | fdctdsp.h | 31 void ff_fdctdsp_init(FDCTDSPContext *c, AVCodecContext *avctx); 32 void ff_fdctdsp_init_ppc(FDCTDSPContext *c, AVCodecContext *avctx, 34 void ff_fdctdsp_init_x86(FDCTDSPContext *c, AVCodecContext *avctx,
|
H A D | msgsmdec.c | 28 int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples, argument 34 res = gsm_decode_block(avctx, samples, &gb, mode); 37 return gsm_decode_block(avctx, samples + GSM_FRAME_SIZE, &gb, mode);
|
H A D | libopencore-amr.c | 30 static int amr_decode_fix_avctx(AVCodecContext *avctx) argument 32 const int is_amr_wb = 1 + (avctx->codec_id == AV_CODEC_ID_AMR_WB); 34 if (!avctx->sample_rate) 35 avctx->sample_rate = 8000 * is_amr_wb; 37 if (avctx->channels > 1) { 38 avpriv_report_missing_feature(avctx, "multi-channel AMR"); 42 avctx->channels = 1; 43 avctx->channel_layout = AV_CH_LAYOUT_MONO; 44 avctx->sample_fmt = AV_SAMPLE_FMT_S16; 65 static av_cold int amr_nb_decode_init(AVCodecContext *avctx) argument 82 amr_nb_decode_close(AVCodecContext *avctx) argument 91 amr_nb_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 187 amr_nb_encode_init(AVCodecContext *avctx) argument 217 amr_nb_encode_close(AVCodecContext *avctx) argument 226 amr_nb_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument 309 amr_wb_decode_init(AVCodecContext *avctx) argument 322 amr_wb_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 358 amr_wb_decode_close(AVCodecContext *avctx) argument [all...] |
H A D | libfaac.c | 44 static av_cold int Faac_encode_close(AVCodecContext *avctx) argument 46 FaacAudioContext *s = avctx->priv_data; 48 av_freep(&avctx->extradata); 64 static av_cold int Faac_encode_init(AVCodecContext *avctx) argument 66 FaacAudioContext *s = avctx->priv_data; 72 if (avctx->channels < 1 || avctx->channels > 6) { 73 av_log(avctx, AV_LOG_ERROR, "encoding %d channel(s) is not allowed\n", avctx->channels); 78 s->faac_handle = faacEncOpen(avctx 179 Faac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr) argument [all...] |
H A D | targaenc.c | 77 static int targa_encode_frame(AVCodecContext *avctx, AVPacket *pkt, argument 83 if(avctx->width > 0xffff || avctx->height > 0xffff) { 84 av_log(avctx, AV_LOG_ERROR, "image dimensions too large\n"); 87 picsize = avpicture_get_size(avctx->pix_fmt, avctx->width, avctx->height); 88 if ((ret = ff_alloc_packet2(avctx, pkt, picsize + 45)) < 0) 93 AV_WL16(pkt->data+12, avctx->width); 94 AV_WL16(pkt->data+14, avctx 173 targa_encode_init(AVCodecContext *avctx) argument 185 targa_encode_close(AVCodecContext *avctx) argument [all...] |
H A D | libfdk-aacdec.c | 56 static int get_stream_info(AVCodecContext *avctx) argument 58 FDKAACDecContext *s = avctx->priv_data; 65 av_log(avctx, AV_LOG_ERROR, "Unable to get stream info\n"); 70 av_log(avctx, AV_LOG_ERROR, "Stream info not initialized\n"); 73 avctx->sample_rate = info->sampleRate; 74 avctx->frame_size = info->frameSize; 79 av_log(avctx, AV_LOG_WARNING, "unknown channel type\n"); 84 av_log(avctx, AV_LOG_DEBUG, 107 av_log(avctx, AV_LOG_WARNING, 117 av_log(avctx, AV_LOG_WARNIN 167 fdk_aac_decode_close(AVCodecContext *avctx) argument 177 fdk_aac_decode_init(AVCodecContext *avctx) argument 207 fdk_aac_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt) argument 274 fdk_aac_decode_flush(AVCodecContext *avctx) argument [all...] |
H A D | aura.c | 30 static av_cold int aura_decode_init(AVCodecContext *avctx) argument 33 if (avctx->width & 0x3) 35 avctx->pix_fmt = AV_PIX_FMT_YUV422P; 40 static int aura_decode_frame(AVCodecContext *avctx, argument 53 if (pkt->size != 48 + avctx->height * avctx->width) { 54 av_log(avctx, AV_LOG_ERROR, "got a buffer with %d bytes when %d were expected\n", 55 pkt->size, 48 + avctx->height * avctx->width); 62 if ((ret = ff_get_buffer(avctx, fram [all...] |