![]() More.Īvcodec_decode_audio4 ( AVCodecContext *avctx, AVFrame * frame, int *got_frame_ptr, const AVPacket *avpkt)ĭecode the audio frame of size avpkt->size from avpkt->data into frame. More.Īvcodec_chroma_pos_to_enum ( int xpos, int ypos)Ĭonverts swscale x/y chroma position to AVChromaLocation. More.Īvcodec_enum_to_chroma_pos ( int *xpos, int *ypos, enum AVChromaLocation pos)Ĭonverts AVChromaLocation to swscale x/y chroma position. Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you also ensure that all line sizes are a multiple of the respective linesize_align. More.Īvcodec_align_dimensions2 ( AVCodecContext * s, int * width, int * height, int linesize_align) Modify width and height values so that they will result in a memory buffer that is acceptable for the codec if you do not use any horizontal padding. More.Īvcodec_align_dimensions ( AVCodecContext * s, int * width, int * height) ![]() Return the amount of padding in pixels which the get_buffer callback must provide around the edge of the image for codecs which do not have the CODEC_FLAG_EMU_EDGE flag. The default callback for AVCodecContext.get_buffer2(). More.Īvcodec_default_get_buffer2 ( AVCodecContext * s, AVFrame * frame, int flags) More.Īvcodec_find_decoder_by_name (const char * name)įind a registered decoder with the specified name. More.įind a registered decoder with a matching codec ID. Required number of additionally allocated bytes at the end of the input bitstream for decoding.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |