Home
last modified time | relevance | path

Searched refs:qp_table (Results 1 – 7 of 7) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_spp.c253 const uint8_t *qp_table, int qp_stride, int is_luma, int depth) in filter() argument
293 … qp = qp_table[(FFMIN(x, width - 1) >> qps) + (FFMIN(y, height - 1) >> qps) * qp_stride]; in filter()
379 int8_t *qp_table = NULL; in filter_frame() local
389 ret = ff_qp_table_extract(in, &qp_table, &qp_stride, NULL, &s->qscale_type); in filter_frame()
397 s->non_b_qp_table = qp_table; in filter_frame()
404 qp_table = s->non_b_qp_table; in filter_frame()
408 if (qp_table || s->qp) { in filter_frame()
429 …, in->data[0], out->linesize[0], in->linesize[0], inlink->w, inlink->h, qp_table, qp_stride, 1, de… in filter_frame()
432 …, in->data[1], out->linesize[1], in->linesize[1], cw, ch, qp_table, qp_stride, 0, de… in filter_frame()
433 …, in->data[2], out->linesize[2], in->linesize[2], cw, ch, qp_table, qp_stride, 0, de… in filter_frame()
[all …]
Dvf_pp.c132 int8_t *qp_table = NULL; in pp_filter_frame() local
144 ret = ff_qp_table_extract(inbuf, &qp_table, &qstride, NULL, NULL); in pp_filter_frame()
154 qp_table, in pp_filter_frame()
158 outbuf->pict_type | (qp_table ? PP_PICT_TYPE_QP2 : 0)); in pp_filter_frame()
161 av_freep(&qp_table); in pp_filter_frame()
Dvf_uspp.c394 int8_t *qp_table = NULL; in filter_frame() local
402 ret = ff_qp_table_extract(in, &qp_table, &qp_stride, NULL, &uspp->qscale_type); in filter_frame()
410 uspp->non_b_qp_table = qp_table; in filter_frame()
417 qp_table = uspp->non_b_qp_table; in filter_frame()
421 if (qp_table || uspp->qp) { in filter_frame()
432 if (qp_table != uspp->non_b_qp_table) in filter_frame()
433 av_free(qp_table); in filter_frame()
442 inlink->w, inlink->h, qp_table, qp_stride); in filter_frame()
454 if (qp_table != uspp->non_b_qp_table) in filter_frame()
455 av_freep(&qp_table); in filter_frame()
Dvf_pp7.c327 int8_t *qp_table = NULL; in filter_frame() local
330 int ret = ff_qp_table_extract(in, &qp_table, &qp_stride, NULL, &pp7->qscale_type); in filter_frame()
350 av_freep(&qp_table); in filter_frame()
358 if (qp_table || pp7->qp) { in filter_frame()
361 inlink->w, inlink->h, qp_table, qp_stride, 1); in filter_frame()
363 cw, ch, qp_table, qp_stride, 0); in filter_frame()
365 cw, ch, qp_table, qp_stride, 0); in filter_frame()
377 av_freep(&qp_table); in filter_frame()
Dvf_fspp.c551 int8_t *qp_table = NULL; in filter_frame() local
581 ret = ff_qp_table_extract(in, &qp_table, &qp_stride, NULL, &fspp->qscale_type); in filter_frame()
589 fspp->non_b_qp_table = qp_table; in filter_frame()
596 qp_table = fspp->non_b_qp_table; in filter_frame()
600 if (qp_table || fspp->qp) { in filter_frame()
622 inlink->w, inlink->h, qp_table, qp_stride, 1); in filter_frame()
624 cw, ch, qp_table, qp_stride, 0); in filter_frame()
626 cw, ch, qp_table, qp_stride, 0); in filter_frame()
640 if (qp_table != fspp->non_b_qp_table) in filter_frame()
641 av_freep(&qp_table); in filter_frame()
Dvf_codecview.c224 int8_t *qp_table; in filter_frame() local
226 ret = ff_qp_table_extract(frame, &qp_table, &qstride, NULL, &qp_type); in filter_frame()
232 if (qp_table) { in filter_frame()
243 … const int qp = ff_norm_qscale(qp_table[(y >> 3) * qstride + (x >> 3)], qp_type) * 128/31; in filter_frame()
250 av_freep(&qp_table); in filter_frame()
DMakefile198 OBJS-$(CONFIG_CODECVIEW_FILTER) += vf_codecview.o qp_table.o
283 OBJS-$(CONFIG_FSPP_FILTER) += vf_fspp.o qp_table.o
367 OBJS-$(CONFIG_PP_FILTER) += vf_pp.o qp_table.o
368 OBJS-$(CONFIG_PP7_FILTER) += vf_pp7.o qp_table.o
430 OBJS-$(CONFIG_SPP_FILTER) += vf_spp.o qp_table.o
466 OBJS-$(CONFIG_USPP_FILTER) += vf_uspp.o qp_table.o