Is optional, depending on whether you need accurate decode time stamps The user is responsible for setting the plane pointers and plane strides The encoder assumes two bytes are used to represent each sample The picture bit depth is initialized to be the encoder’s internal bitĭepth but this value should be changed to the actual depth of the pixelsīeing passed into the encoder. Initializes this field to the internal color space and it is best to The param structure used to allocate the encoder. X265 does not perform any color space conversions, so the raw picture’sĬolor space (chroma sampling) must match the color space specified in */ void x265_picture_init ( x265_param * param, x265_picture * pic ) It sets the pixel * depth and color space to the encoder 's internal values and sets the slice * type to auto - so the lookahead will determine slice type. *** * Initialize an x265_picture structure to default values. X265_encoder_reconfig_zone() Used to reconfigure rate-contol settings of zones mid-encode: however, more so than for * other presets, many of the speed shortcuts used in ultrafast cannot be * switched out of using reconfig to switch between ultrafast and other * presets is not recommended without a more fine - grained breakdown of * parameters to take this into account. since not all parameters can be changed, moving * from preset to preset may not always fully copy all relevant parameters, * but should still work usably in practice. * * not all parameters can be changed see the actual function for a * detailed breakdown. * this takes effect immediately, on whichever frame is encoded next * returns negative on parameter validation error, 0 on successful reconfigure * and 1 when a reconfigure is already in progress. * various parameters from x265_param are copied. * x265_encoder_reconfig : * used to modify encoder parameters.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |