• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/

Lines Matching defs:avccontext

79 static int SetSchroChromaFormat(AVCodecContext *avccontext)
85 FfmpegSchroEncoderParams* p_schro_params = avccontext->priv_data;
89 avccontext->pix_fmt) {
96 av_log (avccontext, AV_LOG_ERROR,
103 static int libschroedinger_encode_init(AVCodecContext *avccontext)
105 FfmpegSchroEncoderParams* p_schro_params = avccontext->priv_data;
115 av_log(avccontext, AV_LOG_ERROR,
121 preset = ff_get_schro_video_format_preset(avccontext);
125 p_schro_params->format->width = avccontext->width;
126 p_schro_params->format->height = avccontext->height;
128 if (SetSchroChromaFormat(avccontext) == -1)
133 av_log (avccontext, AV_LOG_ERROR,
139 p_schro_params->format->frame_rate_numerator = avccontext->time_base.den;
140 p_schro_params->format->frame_rate_denominator = avccontext->time_base.num;
142 p_schro_params->frame_size = avpicture_get_size(avccontext->pix_fmt,
143 avccontext->width,
144 avccontext->height);
146 avccontext->coded_frame = &p_schro_params->picture;
148 if (avccontext->gop_size == 0){
153 if (avccontext->coder_type == FF_CODER_TYPE_VLC) {
162 avccontext->has_b_frames = 1;
166 if (avccontext->flags & CODEC_FLAG_QSCALE) {
167 if (avccontext->global_quality == 0) {
178 noise_threshold = avccontext->global_quality/FF_QP2LAMBDA;
193 avccontext->bit_rate);
197 if (avccontext->flags & CODEC_FLAG_INTERLACED_ME) {
214 schro_debug_set_level (avccontext->debug);
223 static SchroFrame *libschroedinger_frame_from_data (AVCodecContext *avccontext,
226 FfmpegSchroEncoderParams* p_schro_params = avccontext->priv_data;
236 avpicture_layout ((AVPicture *)in_data, avccontext->pix_fmt,
237 avccontext->width, avccontext->height,
252 static int libschroedinger_encode_frame(AVCodecContext *avccontext,
257 FfmpegSchroEncoderParams* p_schro_params = avccontext->priv_data;
274 SchroFrame *in_frame = libschroedinger_frame_from_data (avccontext,
355 av_log(avccontext, AV_LOG_ERROR, "Unknown Schro Encoder state\n");
373 avccontext->coded_frame->key_frame = p_frame_output->key_frame;
377 avccontext->coded_frame->pts = p_frame_output->frame_num;
398 static int libschroedinger_encode_close(AVCodecContext *avccontext)
401 FfmpegSchroEncoderParams* p_schro_params = avccontext->priv_data;