Home
last modified time | relevance | path

Searched refs:qoffsets (Results 1 - 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dlibx265.c456 float *qoffsets; /* will be freed after encode is called. */ in libx265_encode_set_roi() local
466 qoffsets = av_calloc(mbx * mby, sizeof(*qoffsets)); in libx265_encode_set_roi()
467 if (!qoffsets) in libx265_encode_set_roi()
484 av_free(qoffsets); in libx265_encode_set_roi()
493 qoffsets[x + y*mbx] = qoffset; in libx265_encode_set_roi()
496 pic->quantOffsets = qoffsets; in libx265_encode_set_roi()
H A Dlibx264.c412 float *qoffsets; in X264_frame() local
423 qoffsets = av_calloc(mbx * mby, sizeof(*qoffsets)); in X264_frame()
424 if (!qoffsets) { in X264_frame()
442 av_free(qoffsets); in X264_frame()
452 qoffsets[x + y*mbx] = qoffset; in X264_frame()
457 x4->pic.prop.quant_offsets = qoffsets; in X264_frame()

Completed in 4 milliseconds