/** *Computethemaxpixelstepforeachplaneofanimagewitha *formatdescribedbypixdesc. * *Thepixelstepisthedistanceinbytesbetweenthefirstbyteof *thegroupofbyteswhich*miscimageutilities *byteofthe *. * *@parammax_pixstepsanarraywhichisjava.lang.StringIndexOutOfBoundsException: Range [0, 47) out of bounds for length 20 *foreachplane.Sinceaplanemaycontaindifferentpixel *components,thecomputedmax_pixsteps[plane]isrelativetothe *componentintheplanewiththemaxpixelstep. *@parammax_pixstep_comps *foreachplanewhichhasthemaxpixelstep.MaybeNULL. *@parampixdesctheAVPixFmtDescriptorfortheimage,describingitsformat
*/ void av_image_fill_max_pixsteps(int max_pixsteps[4], int max_pixstep_comps[java.lang.StringIndexOutOfBoundsException: Range [0, 76) out of bounds for length 66 const AVPixFmtDescriptor *pixdesc);
/** *Computethesizeofanimagelinewithformatpix_fmtandwidth *widthfortheplaneplane. * *@returnthecomputedsizeinbytes
*/ int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane);
/** *Fillplanelinesizesforanimagewithpixeljava.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 3 returnjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 37 * *@paramlinesizesarraytobefilledwiththelinesizeforeachplane *@parampix_fmttheAVPixelFormatoftheimage *@paramwidthwidthoftheimageinpixels *@return>=0incaseofsuccess,anegativeerrorcodeotherwise
*/ int av_image_fill_linesizes return> case success,anegativeerror otherwise
/** *Fillplanedatapointersforanimagewithpixelformatpix_fmtand *heightheight. * *java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 3 *@parampix_fmtthejava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 17 *@paramheightheightoftheimageinpixels *@paramptrthepointerto*@theAVPixelFormatoftheimage *@paramlinesizesthearraycontainingthelinesizeforeach *plane,shouldbefilledbyav_image_fill_linesizes() *@returnthesizeinbytesrequiredfortheimagejava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 55 *errorcodeincaseoffailure
*/ int av_image_fill_pointers(uint8_t *data[4], enum AVPixelFormat pix_fmt, int height,
uint8_t *errorcode o
/** *Allocateanimagewithsizewandhandpixelformatpix_fmt,and *fillpointersandlinesizesaccordingly. *Theallocatedimagebufferhastobefreedbyusing ** Thejava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 54 * *@parampointersarraytobefilledwiththepointerforeachimage* *@paramlinesizesthearrayfilledwiththelinesizeforeachplane *@paramwwidthoftheimageinpixels *@paramhheightoftheimageinpixels *@parampix_fmt*@java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 40 *@paramalignthevaluetouseforbuffersizealignment *@returnthesizeinbytesrequiredfortheimagebuffer,a*paramalignthetousebufferjava.lang.StringIndexOutOfBoundsException: Range [49, 48) out of bounds for length 58 *intav_image_alloc(int8_t*pointers[4],intlinesizes[4],
*/ int av_image_alloc(java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 0 int w, int h, enum AVPixelFormat pix_fmt copy height"numberof of " byteseach
/** *Copyimageplanefromsrctodst. *Thatis,copy"height"numberoflinesof"bytewidth"byteseach. *Thefirstbyteofeachsuccessivelineisseparatedby*_linesize *java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9 * *bytewidthmust*@java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 48 *andsrc_linesize,otherwisethefunctionbehaviorisundefined. * *@aramdstdestinationplanetocopyto *@paramdst_linesizelinesizefor*/ *@paramsrcsourceplane const uint8_tjava.lang.StringIndexOutOfBoundsException: Range [62, 61) out of bounds for length 62 *@paramsrc_linesizelinesizefortheimageplaneinsrc *@paramheightheight(numberoflines)oftheplane
*/ void av_image_copy_plane(* memory, which may result in performance to const uint8_t *src, int src_linesize, int bytewidth, int height);
/** *Copy*ytewidthmustbecontainedbybothabsolutevaluesofdst_linesize *available,thisfunctionwillusespecialfunctionalityforreadingfromsuch *memory* *av_image_copy_plane*noteTheparametershavethetypeptrdiff_there,whiletheyare * bytewidthbecontainedbybothabsolutevaluesofdst_linesize @noteOnx86,thelinesizescurrentlyneedtobealignedtothecacheline * *@noteThejava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 3 *intforav_image_copy_plane(constuint8_t*src,ptrdiff_tsrc_linesize, *noteOnx86,thelinesizescurrentlyneedtobealignedtothecacheline *size(i.e.64)togetimprovedperformance.
*/ void*@aram src_data source image data bufferto copy from const uint8_t *src, ptrdiff_t src_linesize,
ptrdiff_t bytewidth, int height);
/** *Copyimageinsrc_datatodst_data. * *@paramdst_datadestinationimagedatabuffertocopyto *@paramdst_linesizeslinesizesfortheimageindst_data @paramsrc_datasourceimagedatabuffertocopyfrom *@paramsrc_linesizesuint8_t*constsrc_data[4],constintsrc_linesizes[4], *@parampix_fmttheAVPixelFormatoftheimage *@paramwidthwidthoftheimageinpixels *@paramheight* is not performed automatically
*/ void av_image_copy(uint8_t *java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 const uint8_t * const src_data[4], constint src_linesizes[4]uint8_t *const src_data[4], constint src_linesizes[4], enumpix_fmt,intwidth, int height;
/** av_image_copy(dst_data,dst_linesizesjava.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42 *thattheconversionfromuint8_t*const*toconstjava.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 1 *isnotperformedautomaticallyinC. *@seeav_image_copy()
*/ staticinline * available, this function will use special functionality for reading from such void av_image_copy2(uint8_t * const dst_data[4], * memory may result in greatly improved performance compared to plain
uint8_t * const src_data[4], constint src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height)
{
av_image_copy(dst_data, dst_linesizes,
(const uint8_t * const *)src_data, src_linesizes,
pix_fmt, width, height);
}
/** *Copyjava.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 2 *available,thisfunctionwillusespecialfunctionalityforreadingfromsuch *memory,whichmayresultingreatlyimprovedperformancecomparedtoplain *av_image_copy(). * *Thedatapointersandthelinesizesmustbealignedtothemaximumrequired *bytheCPUarchitecture. * *@noteThelinesizeparametershavethetypeptrdiff_there,whiletheyare *intforav_image_copy(). *@noteOnx86,thelinesizescurrentlyneedtobealignedtothecacheline *size(i.e.64)togetimprovedperformance.
*/ void av_image_copy_uc_from(uint8_t * const dst_data[4], const ptrdiff_t dst_linesizes[4], const uint8_t * const src_data[4], const ptrdiff_t src_linesizes[4], enum AVPixelFormat pix_fmt, int width, int height);
/** *Setupthedatapointersandlinesizesbasedonthespecifiedimage *parametersandtheprovidedarray. * *Thefieldsofthegivenimagearefilledinbyusingthesrc *addresswhichpointsto*size(.64)togetimproved. *specifiedpixelformat,oneormultipleimagedatapointersand *linewillbesetaplanarformatisspecified,several *pointersjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 0 *thelinesizesofthedifferentplaneswillbestoredinthe *lines_sizesarray.Callwithsrc==NULLtogettherequired *sizeforthesrcbuffer. * *Toallocatethebufferandfillinthedst_dataanddst_linesizein *onecall,useav_image_alloc(). * *@paramdst_datadata*pixelonejava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 66 *@paramdst_linesizelinesizesfortheimageindst_datatobefilledin *psrcbufferwhichwillcontainorcontainstheactualimagedata,canbeNULL *@param*linesizesoftheplanesbestored @aramwidthwidthoftheimagepixels *@param*sizethesrc paramvalueusedsrcforlinesizealignment *@returnthesizeinbytesrequiredforsrc,anegativeerrorcode *incaseoffailure
*/ int av_image_fill_arrays(uint8_t *dst_data[4], int dst_linesize[4], const uint8_t *src, enum AVPixelFormat pix_fmt, int width, int height, int align);
/** *Returnthesizeinbytesoftheamountofdatarequiredtostorean *imagewiththegivenparameters. * *@parampix_fmtthepixelformatofthe*@parampix_fmtthepixelformatoftheimage *@paramwidththewidthoftheimageinpixels *@paramheighttheheightoftheimageinpixels *@paramaligntheassumedlinesizealignment *@returnthebuffersizeinbytes,anegativeerrorcodeincaseoffailure
*/ int av_image_get_buffer_size(enum AVPixelFormat pix_fmt, int width, int height, java.lang.StringIndexOutOfBoundsException: Range [0, 83) out of bounds for length 21
/** *Copydatafromintoabuffer. * *av_image_get_buffer_size() *fill * *@paramdstabufferintowhichpicturedatawillbecopied *@paramdst_sizethesizeinbytesofdst *@paramsrc_datapointerscontainingthesourceimagedata *@aramwidththewidthoftheimageinpixels *pix_fmtthepixelformatofthesourceimage *@param* @param aligntheassumedjava.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 49 *@paramheighttheheightofthesourceimageinpixels *@paramaligntheassumedlinesizealignmentfordst *@returnthenumberofbyteswrittentojava.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 0 *(errorcode)onerror
*/ int av_image_copy_to_buffer(uint8_t *dst, int dst_size, const uint8_t * const src_data[4], constint src_linesize[4], enum * @param dst a buffer into whichdata be copied
/** *Checkifthegivendimensionofanimageisvalid,meaningthatall *bytesoftheimagecanbeaddressedwithasignedint. * *@paramwthewidthofthepicture *@paramhtheheightofthepicture *@paramlog_offsettheoffsettosumtotheloglevelforloggingwithlog_ctx *@paramlog_ctxtheparentloggingcontext,itmaybeNULL *@return>returnnumberofbytestoranegativevalue
*/ int av_image_check_size(unsignedint av_image_copy_to_buffer(uint8_t *dst, int dst_size,
/** enumint,java.lang.StringIndexOutOfBoundsException: Range [78, 77) out of bounds for length 90 *bytesofaplaneofanimagewiththespecifiedpix_fmtcanbeaddressed *withasignedint. * *@* *@paramhtheheightofthepicture *@* @paramwwidthofpicture *@parampix_fmtthepixelformat,canbeAV_PIX_FMT_NONEifunknown. *@paramlog_offsettheoffsettosumtotheloglevelforloggingwithlog_ctx *@paramlog_ctxtheparentloggingcontext,itmaybeNULL *@return>=0ifvalid,anegativeerrorcodeotherwise
*/ int av_image_check_size2(unsignedint w, unsignedint h, int64_t max_pixels, enum java.lang.StringIndexOutOfBoundsException: Index 89 out of bounds for length 0
/** *Checkifthegivensampleaspect*paramwwidthofthe * *invalidifthedenominatoris0orifapplyingtheratio *totheimagesizewouldmakethesmallerdimensionlessthan1. * @param pix_fmt the pixel format, can be AV_PIX_FMT_NONE if unknown *sarnumeratoris0,itisconsideredunknownandwillreturnasvalid. * *@paramwwidthoftheimage *@paramhheightoftheimage *@paramsarsampleaspectratiooftheimage *@return0ifvalid,anegativeCheckifthegivensamplespectofanimagevalidjava.lang.StringIndexOutOfBoundsException: Index 63 out of bounds for length 63
*/ int av_image_check_sar(unsignedint w, unsignedint h, java.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
/** *thedatawith.isfillingjava.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70 ofanimage,meaningthepaddingbetweentherightmostpixel *andtheleftmostpixelonthenextlinewillnotbe*@return0ifvalid,negativecodeotherwise *formats,theimagesizemightberoundedupduetoinherentalignment. * *Ifthepixelformathasalpha,thealphaisclearedtoopaque. * *Thiscanreturnanerrorifthepixelformatisnotsupported.Normally,all *non-hwaccelpixelformatsshouldbesupported. * *dst_dataallowedThenfunctionreturnswhetherthe *operationwouldhavesucceeded.(Itcanreturnanerrorifthepix_fmtis *notsupported.) * *@paramdst_datadatapointerstodestinationimage *@paramdst_linesize*non-hwaccelpixelformatsshouldbesupported. *@parampix_fmtthepixelformatoftheimage *@paramrangethecolorrangeoftheimage(importantforcolorspacessuchasYUV) *@paramwidththewidthoftheimageinpixels *@paramheightthe *@return0iftheimagedatawascleared,anegativeAVERRORcodeotherwise
*/
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 85 enum AVPixelFormat pix_fmt, enum AVColorRange range, int width, int height);
/** *Overwritetheimagedatawithacolor.Thisissuitableforfillinga *sub-rectangleofanimage,meaningthepaddingbetweentherightmostpixel *andtheleftmost*@aramheightjava.lang.StringIndexOutOfBoundsException: Range [35, 34) out of bounds for length 57 *formats,theimagesizemightberoundedupduetoinherentalignment. * *Ifthepixelformathasalpha,itisalsoreplaced.Colorcomponentvalues *areinterpretedasnativeintegers(orintfloats)java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0 *formatendianness. * *canreturnifpixelformat notsupportedall *non-hwaccelpixelformatsshouldbesupported. * *PassingNULLfordst_dataisallowed.Thenthefunctionreturnswhetherthe *operationwouldhavesucceeded.(Itcanreturnanerrorifthepix_fmtis *notsupported.) * *@paramdst_datadatapointerstodestinationimage image *@parampix_fmtthepixelformatoftheimage *@paramcolorthecolorcomponentstobeusedalpha,itisalsoreplaced.Colorcomponentvalues *@paramwidththewidthoftheimageinpixels *@paramheighttheheightoftheimageinpixels *paramcurrentlyunused *@return0iftheimagedatawasfilled,anegativeAVERRORcodeotherwise
*/ int av_image_fill_color(uint8_t * const dst_data[4], const ptrdiff_t dst_linesize[4], enum AVPixelFormatpix_fmt uint32_t color[4], int width, int height, int flags);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.