Go to the source code of this file.
Defines | |
| #define | DR_TEXT N_("Direct rendering") |
| #define | DR_LONGTEXT N_("Direct rendering") |
| #define | ERROR_TEXT N_("Error resilience") |
| #define | ERROR_LONGTEXT |
| #define | BUGS_TEXT N_("Workaround bugs") |
| #define | BUGS_LONGTEXT |
| #define | HURRYUP_TEXT N_("Hurry up") |
| #define | HURRYUP_LONGTEXT |
| #define | FAST_TEXT N_("Allow speed tricks") |
| #define | FAST_LONGTEXT |
| #define | SKIP_FRAME_TEXT N_("Skip frame (default=0)") |
| #define | SKIP_FRAME_LONGTEXT |
| #define | SKIP_IDCT_TEXT N_("Skip idct (default=0)") |
| #define | SKIP_IDCT_LONGTEXT |
| #define | DEBUG_TEXT N_( "Debug mask" ) |
| #define | DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" ) |
| #define | VISMV_TEXT N_( "Visualize motion vectors" ) |
| #define | VISMV_LONGTEXT |
| #define | LOWRES_TEXT N_( "Low resolution decoding" ) |
| #define | LOWRES_LONGTEXT |
| #define | SKIPLOOPF_TEXT N_( "Skip the loop filter for H.264 decoding" ) |
| #define | SKIPLOOPF_LONGTEXT |
| #define | HW_TEXT N_("Hardware decoding") |
| #define | HW_LONGTEXT N_("This allows hardware decoding when available.") |
| #define | THREADS_TEXT N_( "Threads" ) |
| #define | THREADS_LONGTEXT N_( "Number of threads used for decoding, 0 meaning auto" ) |
| #define | ENC_CFG_PREFIX "sout-ffmpeg-" |
| #define | ENC_KEYINT_TEXT N_( "Ratio of key frames" ) |
| #define | ENC_KEYINT_LONGTEXT |
| #define | ENC_BFRAMES_TEXT N_( "Ratio of B frames" ) |
| #define | ENC_BFRAMES_LONGTEXT |
| #define | ENC_VT_TEXT N_( "Video bitrate tolerance" ) |
| #define | ENC_VT_LONGTEXT N_( "Video bitrate tolerance in kbit/s." ) |
| #define | ENC_INTERLACE_TEXT N_( "Interlaced encoding" ) |
| #define | ENC_INTERLACE_LONGTEXT |
| #define | ENC_INTERLACE_ME_TEXT N_( "Interlaced motion estimation" ) |
| #define | ENC_INTERLACE_ME_LONGTEXT |
| #define | ENC_PRE_ME_TEXT N_( "Pre-motion estimation" ) |
| #define | ENC_PRE_ME_LONGTEXT |
| #define | ENC_RC_BUF_TEXT N_( "Rate control buffer size" ) |
| #define | ENC_RC_BUF_LONGTEXT |
| #define | ENC_RC_BUF_AGGR_TEXT N_( "Rate control buffer aggressiveness" ) |
| #define | ENC_RC_BUF_AGGR_LONGTEXT |
| #define | ENC_IQUANT_FACTOR_TEXT N_( "I quantization factor" ) |
| #define | ENC_IQUANT_FACTOR_LONGTEXT |
| #define | ENC_NOISE_RED_TEXT N_( "Noise reduction" ) |
| #define | ENC_NOISE_RED_LONGTEXT |
| #define | ENC_MPEG4_MATRIX_TEXT N_( "MPEG4 quantization matrix" ) |
| #define | ENC_MPEG4_MATRIX_LONGTEXT |
| #define | ENC_HQ_TEXT N_( "Quality level" ) |
| #define | ENC_HQ_LONGTEXT |
| #define | ENC_HURRYUP_TEXT N_( "Hurry up" ) |
| #define | ENC_HURRYUP_LONGTEXT |
| #define | ENC_QMIN_TEXT N_( "Minimum video quantizer scale" ) |
| #define | ENC_QMIN_LONGTEXT |
| #define | ENC_QMAX_TEXT N_( "Maximum video quantizer scale" ) |
| #define | ENC_QMAX_LONGTEXT |
| #define | ENC_TRELLIS_TEXT N_( "Trellis quantization" ) |
| #define | ENC_TRELLIS_LONGTEXT |
| #define | ENC_QSCALE_TEXT N_( "Fixed quantizer scale" ) |
| #define | ENC_QSCALE_LONGTEXT |
| #define | ENC_STRICT_TEXT N_( "Strict standard compliance" ) |
| #define | ENC_STRICT_LONGTEXT |
| #define | ENC_LUMI_MASKING_TEXT N_( "Luminance masking" ) |
| #define | ENC_LUMI_MASKING_LONGTEXT |
| #define | ENC_DARK_MASKING_TEXT N_( "Darkness masking" ) |
| #define | ENC_DARK_MASKING_LONGTEXT |
| #define | ENC_P_MASKING_TEXT N_( "Motion masking" ) |
| #define | ENC_P_MASKING_LONGTEXT |
| #define | ENC_BORDER_MASKING_TEXT N_( "Border masking" ) |
| #define | ENC_BORDER_MASKING_LONGTEXT |
| #define | ENC_LUMA_ELIM_TEXT N_( "Luminance elimination" ) |
| #define | ENC_LUMA_ELIM_LONGTEXT |
| #define | ENC_CHROMA_ELIM_TEXT N_( "Chrominance elimination" ) |
| #define | ENC_CHROMA_ELIM_LONGTEXT |
| #define | ENC_PROFILE_TEXT N_( "Specify AAC audio profile to use" ) |
| #define | ENC_PROFILE_LONGTEXT |
| #define | FFMPEG_COMMON_MEMBERS |
| #define | AV_VERSION_INT(a, b, c) ((a)<<16 | (b)<<8 | (c)) |
Functions | |
| int | GetFfmpegCodec (vlc_fourcc_t i_fourcc, int *pi_cat, int *pi_ffmpeg_codec, const char **ppsz_name) |
| int | GetVlcFourcc (int i_ffmpeg_codec, int *pi_cat, vlc_fourcc_t *pi_fourcc, const char **ppsz_name) |
| int | TestFfmpegChroma (const int i_ffmpeg_id, const vlc_fourcc_t i_vlc_fourcc) |
| int | GetFfmpegChroma (int *i_ffmpeg_chroma, const video_format_t fmt) |
| int | GetVlcChroma (video_format_t *fmt, const int i_ffmpeg_chroma) |
| void | GetVlcAudioFormat (vlc_fourcc_t *, unsigned *pi_bits, int i_sample_fmt) |
| picture_t * | DecodeVideo (decoder_t *, block_t **) |
| aout_buffer_t * | DecodeAudio (decoder_t *, block_t **) |
| subpicture_t * | DecodeSubtitle (decoder_t *p_dec, block_t **) |
| int | OpenEncoder (vlc_object_t *) |
| void | CloseEncoder (vlc_object_t *) |
| int | OpenAudioEncoder (vlc_object_t *) |
| void | CloseAudioEncoder (vlc_object_t *) |
| int | OpenDeinterlace (vlc_object_t *) |
| void | CloseDeinterlace (vlc_object_t *) |
| void | InitLibavcodec (vlc_object_t *p_object) |
| int | InitVideoDec (decoder_t *p_dec, AVCodecContext *p_context, AVCodec *p_codec, int i_codec_id, const char *psz_namecodec) |
| void | EndVideoDec (decoder_t *p_dec) |
| int | InitAudioDec (decoder_t *p_dec, AVCodecContext *p_context, AVCodec *p_codec, int i_codec_id, const char *psz_namecodec) |
| void | EndAudioDec (decoder_t *p_dec) |
| int | InitSubtitleDec (decoder_t *p_dec, AVCodecContext *p_context, AVCodec *p_codec, int i_codec_id, const char *psz_namecodec) |
| void | EndSubtitleDec (decoder_t *p_dec) |
| #define BUGS_LONGTEXT |
Value:
N_( \ "Try to fix some bugs:\n" \ "1 autodetect\n" \ "2 old msmpeg4\n" \ "4 xvid interlaced\n" \ "8 ump4 \n" \ "16 no padding\n" \ "32 ac vlc\n" \ "64 Qpel chroma.\n" \ "This must be the sum of the values. For example, to fix \"ac vlc\" and " \ "\"ump4\", enter 40.")
| #define BUGS_TEXT N_("Workaround bugs") |
| #define DEBUG_LONGTEXT N_( "Set FFmpeg debug mask" ) |
| #define DEBUG_TEXT N_( "Debug mask" ) |
| #define DR_LONGTEXT N_("Direct rendering") |
| #define DR_TEXT N_("Direct rendering") |
| #define ENC_BFRAMES_LONGTEXT |
Value:
N_( "Number of " \ "B frames that will be coded between two reference frames." )
| #define ENC_BFRAMES_TEXT N_( "Ratio of B frames" ) |
| #define ENC_BORDER_MASKING_LONGTEXT |
Value:
N_( "Raise the quantizer " \ "for macroblocks at the border of the frame (default: 0.0)." )
| #define ENC_BORDER_MASKING_TEXT N_( "Border masking" ) |
| #define ENC_CFG_PREFIX "sout-ffmpeg-" |
| #define ENC_CHROMA_ELIM_LONGTEXT |
Value:
N_( "Eliminates chrominance blocks when " \ "the PSNR isn't much changed (default: 0.0). The H264 specification " \ "recommends 7." )
| #define ENC_CHROMA_ELIM_TEXT N_( "Chrominance elimination" ) |
| #define ENC_DARK_MASKING_LONGTEXT |
Value:
N_( "Raise the quantizer for " \ "very dark macroblocks (default: 0.0)." )
| #define ENC_DARK_MASKING_TEXT N_( "Darkness masking" ) |
| #define ENC_HQ_LONGTEXT |
Value:
N_( "Quality level " \ "for the encoding of motions vectors (this can slow down the encoding " \ "very much)." )
| #define ENC_HQ_TEXT N_( "Quality level" ) |
| #define ENC_HURRYUP_LONGTEXT |
Value:
N_( "The encoder " \ "can make on-the-fly quality tradeoffs if your CPU can't keep up with " \ "the encoding rate. It will disable trellis quantization, then the rate " \ "distortion of motion vectors (hq), and raise the noise reduction " \ "threshold to ease the encoder's task." )
| #define ENC_HURRYUP_TEXT N_( "Hurry up" ) |
| #define ENC_INTERLACE_LONGTEXT |
Value:
N_( "Enable dedicated " \ "algorithms for interlaced frames." )
| #define ENC_INTERLACE_ME_LONGTEXT |
Value:
N_( "Enable interlaced " \ "motion estimation algorithms. This requires more CPU." )
| #define ENC_INTERLACE_ME_TEXT N_( "Interlaced motion estimation" ) |
| #define ENC_INTERLACE_TEXT N_( "Interlaced encoding" ) |
| #define ENC_IQUANT_FACTOR_LONGTEXT |
Value:
N_( \ "Quantization factor of I frames, compared with P frames (for instance " \ "1.0 => same qscale for I and P frames)." )
| #define ENC_IQUANT_FACTOR_TEXT N_( "I quantization factor" ) |
| #define ENC_KEYINT_LONGTEXT |
Value:
N_( "Number of frames " \ "that will be coded for one key frame." )
| #define ENC_KEYINT_TEXT N_( "Ratio of key frames" ) |
| #define ENC_LUMA_ELIM_LONGTEXT |
Value:
N_( "Eliminates luminance blocks when " \ "the PSNR isn't much changed (default: 0.0). The H264 specification " \ "recommends -4." )
| #define ENC_LUMA_ELIM_TEXT N_( "Luminance elimination" ) |
| #define ENC_LUMI_MASKING_LONGTEXT |
Value:
N_( "Raise the quantizer for " \ "very bright macroblocks (default: 0.0)." )
| #define ENC_LUMI_MASKING_TEXT N_( "Luminance masking" ) |
| #define ENC_MPEG4_MATRIX_LONGTEXT |
Value:
N_( "Use the MPEG4 " \ "quantization matrix for MPEG2 encoding. This generally yields a " \ "better looking picture, while still retaining the compatibility with " \ "standard MPEG2 decoders.")
| #define ENC_MPEG4_MATRIX_TEXT N_( "MPEG4 quantization matrix" ) |
| #define ENC_NOISE_RED_LONGTEXT |
Value:
N_( "Enable a simple noise " \ "reduction algorithm to lower the encoding length and bitrate, at the " \ "expense of lower quality frames." )
| #define ENC_NOISE_RED_TEXT N_( "Noise reduction" ) |
| #define ENC_P_MASKING_LONGTEXT |
Value:
N_( "Raise the quantizer for " \ "macroblocks with a high temporal complexity (default: 0.0)." )
| #define ENC_P_MASKING_TEXT N_( "Motion masking" ) |
| #define ENC_PRE_ME_LONGTEXT |
Value:
N_( "Enable the pre-motion " \ "estimation algorithm.")
| #define ENC_PRE_ME_TEXT N_( "Pre-motion estimation" ) |
| #define ENC_PROFILE_LONGTEXT |
Value:
N_( "Specify the AAC audio profile to use " \ "for encoding the audio bitstream. It takes the following options: " \ "main, low, ssr (not supported) and ltp (default: main)" )
| #define ENC_PROFILE_TEXT N_( "Specify AAC audio profile to use" ) |
| #define ENC_QMAX_LONGTEXT |
Value:
N_( "Maximum video " \ "quantizer scale." )
| #define ENC_QMAX_TEXT N_( "Maximum video quantizer scale" ) |
| #define ENC_QMIN_LONGTEXT |
Value:
N_( "Minimum video " \ "quantizer scale." )
| #define ENC_QMIN_TEXT N_( "Minimum video quantizer scale" ) |
| #define ENC_QSCALE_LONGTEXT |
Value:
N_( "A fixed video " \ "quantizer scale for VBR encoding (accepted values: 0.01 to 255.0)." )
| #define ENC_QSCALE_TEXT N_( "Fixed quantizer scale" ) |
| #define ENC_RC_BUF_AGGR_LONGTEXT |
Value:
N_( "Rate control "\ "buffer aggressiveness." )
| #define ENC_RC_BUF_AGGR_TEXT N_( "Rate control buffer aggressiveness" ) |
| #define ENC_RC_BUF_LONGTEXT |
Value:
N_( "Rate control " \ "buffer size (in kbytes). A bigger buffer will allow for better rate " \ "control, but will cause a delay in the stream." )
| #define ENC_RC_BUF_TEXT N_( "Rate control buffer size" ) |
| #define ENC_STRICT_LONGTEXT |
Value:
N_( "Force a strict standard " \ "compliance when encoding (accepted values: -1, 0, 1)." )
| #define ENC_STRICT_TEXT N_( "Strict standard compliance" ) |
| #define ENC_TRELLIS_LONGTEXT |
Value:
N_( "Enable trellis " \ "quantization (rate distortion for block coefficients)." )
| #define ENC_TRELLIS_TEXT N_( "Trellis quantization" ) |
| #define ENC_VT_LONGTEXT N_( "Video bitrate tolerance in kbit/s." ) |
| #define ENC_VT_TEXT N_( "Video bitrate tolerance" ) |
| #define ERROR_LONGTEXT |
Value:
N_( \ "FFmpeg can do error resilience.\n" \ "However, with a buggy encoder (such as the ISO MPEG-4 encoder from M$) " \ "this can produce a lot of errors.\n" \ "Valid values range from 0 to 4 (0 disables all errors resilience).")
| #define ERROR_TEXT N_("Error resilience") |
| #define FAST_LONGTEXT |
Value:
N_( \ "Allow non specification compliant speedup tricks. Faster but error-prone.")
| #define FAST_TEXT N_("Allow speed tricks") |
| #define FFMPEG_COMMON_MEMBERS |
Value:
int i_cat; \ int i_codec_id; \ const char *psz_namecodec; \ AVCodecContext *p_context; \ AVCodec *p_codec; \ bool b_delayed_open;
| #define HURRYUP_LONGTEXT |
Value:
N_( \ "The decoder can partially decode or skip frame(s) " \ "when there is not enough time. It's useful with low CPU power " \ "but it can produce distorted pictures.")
| #define HURRYUP_TEXT N_("Hurry up") |
| #define HW_LONGTEXT N_("This allows hardware decoding when available.") |
| #define HW_TEXT N_("Hardware decoding") |
| #define LOWRES_LONGTEXT |
Value:
N_( "Only decode a low resolution version of " \ "the video. This requires less processing power" )
| #define LOWRES_TEXT N_( "Low resolution decoding" ) |
| #define SKIP_FRAME_LONGTEXT |
Value:
N_( \ "Force skipping of frames to speed up decoding " \ "(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )
| #define SKIP_FRAME_TEXT N_("Skip frame (default=0)") |
| #define SKIP_IDCT_LONGTEXT |
Value:
N_( \ "Force skipping of idct to speed up decoding for frame types" \ "(-1=None, 0=Default, 1=B-frames, 2=P-frames, 3=B+P frames, 4=all frames)." )
| #define SKIP_IDCT_TEXT N_("Skip idct (default=0)") |
| #define SKIPLOOPF_LONGTEXT |
Value:
N_( "Skipping the loop filter (aka deblocking) " \ "usually has a detrimental effect on quality. However it provides a big " \ "speedup for high definition streams." )
| #define SKIPLOOPF_TEXT N_( "Skip the loop filter for H.264 decoding" ) |
| #define THREADS_LONGTEXT N_( "Number of threads used for decoding, 0 meaning auto" ) |
| #define THREADS_TEXT N_( "Threads" ) |
| #define VISMV_LONGTEXT |
Value:
N_( \ "You can overlay the motion vectors (arrows showing how the images move) "\ "on the image. This value is a mask, based on these values:\n"\ "1 - visualize forward predicted MVs of P frames\n" \ "2 - visualize forward predicted MVs of B frames\n" \ "4 - visualize backward predicted MVs of B frames\n" \ "To visualize all vectors, the value should be 7." )
| #define VISMV_TEXT N_( "Visualize motion vectors" ) |
| void CloseAudioEncoder | ( | vlc_object_t * | ) |
| void CloseDeinterlace | ( | vlc_object_t * | ) |
References filter_t::p_sys, and p_sys.
| static void CloseEncoder | ( | vlc_object_t * | p_this | ) |
| aout_buffer_t* DecodeAudio | ( | decoder_t * | , | |
| block_t ** | ||||
| ) |
| subpicture_t* DecodeSubtitle | ( | decoder_t * | p_dec, | |
| block_t ** | ||||
| ) |
Referenced by OpenDecoder().
References OmxPort::b_direct, decoder_sys_t::b_error, OmxPort::b_flushed, OmxPort::b_reconfigure, BLOCK_FLAG_CORRUPTED, BLOCK_FLAG_DISCONTINUITY, block_Release(), CopyOmxPicture(), picture_t::date, decoder_NewPicture(), OmxPort::definition, OmxPort::fifo, i, block_t::i_buffer, block_t::i_dts, block_t::i_flags, decoder_sys_t::in, msg_Dbg, OMX_BUFFERHEADERTYPE::nAllocLen, OMX_BUFFERHEADERTYPE::nFilledLen, OMX_BUFFERHEADERTYPE::nFlags, OMX_BUFFERHEADERTYPE::nOffset, OMX_PARAM_PORTDEFINITIONTYPE::nPortIndex, OMX_BUFFERHEADERTYPE::nTimeStamp, OMX_BUFFERFLAG_ENDOFFRAME, OMX_CommandFlush, OMX_EmptyThisBuffer, OMX_FIFO_GET, OMX_FIFO_PEEK, OMX_FillThisBuffer, decoder_sys_t::omx_handle, OMX_SendCommand, decoder_sys_t::out, block_t::p_buffer, decoder_sys_t::p_ports, decoder_t::p_sys, p_sys, OMX_BUFFERHEADERTYPE::pAppPrivate, OMX_BUFFERHEADERTYPE::pBuffer, OMX_BUFFERHEADERTYPE::pInputPortPrivate, PortReconfigure(), decoder_sys_t::ports, and OMX_BUFFERHEADERTYPE::pOutputPortPrivate.
Referenced by InitVideo(), OpenDecoder(), and OpenVideo().
| void EndAudioDec | ( | decoder_t * | p_dec | ) |
| void EndSubtitleDec | ( | decoder_t * | p_dec | ) |
Referenced by CloseDecoder().
| void EndVideoDec | ( | decoder_t * | p_dec | ) |
References decoder_sys_t::p_context, decoder_sys_t::p_ff_pic, decoder_t::p_sys, p_sys, decoder_sys_t::p_va, post_mt, decoder_sys_t::sem_mt, vlc_sem_destroy(), vlc_va_Delete(), and wait_mt.
Referenced by CloseDecoder().
| int GetFfmpegChroma | ( | int * | i_ffmpeg_chroma, | |
| const video_format_t | fmt | |||
| ) |
References chroma_table, i, video_format_t::i_bmask, i_bmask, video_format_t::i_chroma, i_chroma, video_format_t::i_gmask, i_gmask, video_format_t::i_rmask, i_rmask, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by OpenDeinterlace().
| int GetFfmpegCodec | ( | vlc_fourcc_t | i_fourcc, | |
| int * | pi_cat, | |||
| int * | pi_ffmpeg_codec, | |||
| const char ** | ppsz_name | |||
| ) |
References codecs_table, i, UNKNOWN_ES, vlc_fourcc_GetCodec(), and vlc_fourcc_GetDescription().
Referenced by AddStream(), and OpenDecoder().
| void GetVlcAudioFormat | ( | vlc_fourcc_t * | , | |
| unsigned * | pi_bits, | |||
| int | i_sample_fmt | |||
| ) |
References VLC_CODEC_FL32, VLC_CODEC_FL64, VLC_CODEC_S16N, VLC_CODEC_S32N, and VLC_CODEC_U8.
Referenced by GetPortDefinition(), PrintOmx(), SetPortDefinition(), and SetupOutputFormat().
| int GetVlcChroma | ( | video_format_t * | fmt, | |
| const int | i_ffmpeg_chroma | |||
| ) |
References chroma_table, i, video_format_t::i_bmask, video_format_t::i_chroma, i_chroma_id, video_format_t::i_gmask, video_format_t::i_rmask, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by ffmpeg_GetFrameBuf(), ffmpeg_NewPictBuf(), and InitVideoDec().
| int GetVlcFourcc | ( | int | i_ffmpeg_codec, | |
| int * | pi_cat, | |||
| vlc_fourcc_t * | pi_fourcc, | |||
| const char ** | ppsz_name | |||
| ) |
References codecs_table, i, i_cat, i_codec, i_fourcc, and vlc_fourcc_GetDescription().
| int InitAudioDec | ( | decoder_t * | p_dec, | |
| AVCodecContext * | p_context, | |||
| AVCodec * | p_codec, | |||
| int | i_codec_id, | |||
| const char * | psz_namecodec | |||
| ) |
References __MIN, es_format_t::audio, AUDIO_ES, decoder_sys_t::b_delayed_open, decoder_sys_t::b_extract, date_Init(), date_Set(), decoder_sys_t::end_date, decoder_t::fmt_in, decoder_t::fmt_out, es_format_t::i_bitrate, audio_format_t::i_bitspersample, audio_format_t::i_blockalign, es_format_t::i_cat, audio_format_t::i_channels, es_format_t::i_codec, decoder_sys_t::i_codec_id, es_format_t::i_extra, decoder_sys_t::i_output_max, decoder_sys_t::i_previous_channels, decoder_sys_t::i_previous_layout, audio_format_t::i_rate, decoder_sys_t::i_reject_count, decoder_sys_t::i_samples, msg_Dbg, msg_Err, decoder_sys_t::p_codec, decoder_sys_t::p_context, p_dst, es_format_t::p_extra, decoder_sys_t::p_output, decoder_sys_t::p_samples, decoder_t::p_sys, p_sys, decoder_sys_t::psz_namecodec, SetupOutputFormat(), vlc_avcodec_lock(), vlc_avcodec_unlock(), VLC_CODEC_ALAC, VLC_CODEC_FLAC, VLC_EGENERIC, VLC_ENOMEM, and VLC_SUCCESS.
Referenced by OpenDecoder().
| void InitLibavcodec | ( | vlc_object_t * | p_object | ) |
References LibavutilCallback(), msg_Dbg, vlc_avcodec_lock(), and vlc_avcodec_unlock().
Referenced by OpenDecoder(), and OpenDeinterlace().
| int InitSubtitleDec | ( | decoder_t * | p_dec, | |
| AVCodecContext * | p_context, | |||
| AVCodec * | p_codec, | |||
| int | i_codec_id, | |||
| const char * | psz_namecodec | |||
| ) |
Referenced by OpenDecoder().
| int InitVideoDec | ( | decoder_t * | p_dec, | |
| AVCodecContext * | p_context, | |||
| AVCodec * | p_codec, | |||
| int | i_codec_id, | |||
| const char * | psz_namecodec | |||
| ) |
References __MIN, a, decoder_sys_t::b_delayed_open, decoder_sys_t::b_direct_rendering, decoder_sys_t::b_first_frame, decoder_sys_t::b_flush, decoder_sys_t::b_has_b_frames, decoder_sys_t::b_hurry_up, c, ffmpeg_CodecTag(), ffmpeg_GetFrameBuf(), ffmpeg_InitCodec(), ffmpeg_OpenCodec(), ffmpeg_ReGetFrameBuf(), ffmpeg_ReleaseFrameBuf(), decoder_t::fmt_in, decoder_t::fmt_out, GetVlcChroma(), i, es_format_t::i_cat, video_format_t::i_chroma, es_format_t::i_codec, decoder_sys_t::i_codec_id, decoder_sys_t::i_direct_rendering_used, video_palette_t::i_entries, decoder_sys_t::i_late_frames, es_format_t::i_original_fourcc, decoder_sys_t::i_pts, decoder_sys_t::i_skip_frame, decoder_sys_t::i_skip_idct, msg_Dbg, msg_Err, decoder_sys_t::p_codec, decoder_sys_t::p_context, decoder_sys_t::p_ff_pic, video_format_t::p_palette, decoder_t::p_sys, p_sys, decoder_sys_t::p_va, video_palette_t::palette, decoder_sys_t::palette, decoder_sys_t::psz_namecodec, decoder_sys_t::sem_mt, var_CreateGetBool, var_CreateGetInteger, var_InheritInteger, es_format_t::video, VIDEO_ES, VLC_CODEC_I420, VLC_EGENERIC, VLC_ENOMEM, vlc_GetCPUCount(), vlc_sem_destroy(), vlc_sem_init(), VLC_SUCCESS, and VLC_TS_INVALID.
Referenced by OpenDecoder().
| int OpenAudioEncoder | ( | vlc_object_t * | ) |
| int OpenDeinterlace | ( | vlc_object_t * | ) |
| static int OpenEncoder | ( | vlc_object_t * | p_this | ) |
References encoder_t::fmt_out, es_format_t::i_codec, p_sys, TestFfmpegChroma(), VIDEO_ES, VLC_EGENERIC, and VLC_SUCCESS.
| int TestFfmpegChroma | ( | const int | i_ffmpeg_id, | |
| const vlc_fourcc_t | i_vlc_fourcc | |||
| ) |
References chroma_table, i, i_chroma, i_chroma_id, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by ffmpeg_CopyPicture(), OpenDeinterlace(), and OpenEncoder().
1.5.6