Home
last modified time | relevance | path

Searched refs:dquant (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmpeg4videoenc.c450 if ((motion_x | motion_y | s->dquant | mb_type) == 0) in get_b_cbp()
501 av_assert2(s->dquant >= -2 && s->dquant <= 2); in ff_mpeg4_encode_mb()
502 av_assert2((s->dquant & 1) == 0); in ff_mpeg4_encode_mb()
513 s->qscale -= s->dquant; in ff_mpeg4_encode_mb()
523 av_assert2(s->dquant == 0); in ff_mpeg4_encode_mb()
542 if (s->dquant) in ff_mpeg4_encode_mb()
543 put_bits(&s->pb, 2, (s->dquant >> 2) + 3); in ff_mpeg4_encode_mb()
547 s->qscale -= s->dquant; in ff_mpeg4_encode_mb()
633 if ((cbp | motion_x | motion_y | s->dquant) == 0 && in ff_mpeg4_encode_mb()
703 if (s->dquant) in ff_mpeg4_encode_mb()
[all …]
Dituh263enc.c461 if ((cbp | motion_x | motion_y | s->dquant | (s->mv_type - MV_TYPE_16X16)) == 0) { in ff_h263_encode_mb()
478 if(s->dquant) cbpc+= 8; in ff_h263_encode_mb()
485 if(s->dquant) in ff_h263_encode_mb()
486 put_bits(&s->pb, 2, dquant_code[s->dquant+2]); in ff_h263_encode_mb()
511 if(s->dquant) in ff_h263_encode_mb()
512 put_bits(&s->pb, 2, dquant_code[s->dquant+2]); in ff_h263_encode_mb()
599 if(s->dquant) cbpc+=4; in ff_h263_encode_mb()
604 if(s->dquant) cbpc+=8; in ff_h263_encode_mb()
616 if(s->dquant) in ff_h263_encode_mb()
617 put_bits(&s->pb, 2, dquant_code[s->dquant+2]); in ff_h263_encode_mb()
Dmpeg12enc.c778 s->qscale -= s->dquant; in mpeg1_encode_mb_internal()
797 if (s->dquant && cbp) { in mpeg1_encode_mb_internal()
804 s->qscale -= s->dquant; in mpeg1_encode_mb_internal()
809 if (s->dquant && cbp) { in mpeg1_encode_mb_internal()
814 s->qscale -= s->dquant; in mpeg1_encode_mb_internal()
823 if (s->dquant) { in mpeg1_encode_mb_internal()
833 if (s->dquant) { in mpeg1_encode_mb_internal()
863 s->qscale -= s->dquant; in mpeg1_encode_mb_internal()
872 if (s->dquant) { in mpeg1_encode_mb_internal()
881 s->qscale -= s->dquant; in mpeg1_encode_mb_internal()
[all …]
Dh261enc.c260 s->qscale -= s->dquant; in ff_h261_encode_mb()
284 if (s->dquant && cbp) { in ff_h261_encode_mb()
287 s->qscale -= s->dquant; in ff_h261_encode_mb()
296 ff_set_qscale(s, s->qscale + s->dquant); in ff_h261_encode_mb()
Dnvdec_vc1.c88 .dquant = v->dquant, in nvdec_vc1_start_frame()
Dh263.h136 const int offset= (s->mv_type==MV_TYPE_16X16 ? 0 : 16) + (s->dquant ? 8 : 0); in get_p_cbp()
163 if ((motion_x | motion_y | s->dquant) == 0 && s->mv_type==MV_TYPE_16X16){ in get_p_cbp()
Dvdpau_vc1.c75 info->dquant = v->dquant; in vdpau_vc1_start_frame()
Dintrax8.h50 int dquant; member
Dintrax8.c630 level = (level + 1) * w->dquant; in x8_decode_intra_mb()
775 int dquant, int quant_offset, in ff_intrax8_decode_picture() argument
781 w->dquant = dquant; in ff_intrax8_decode_picture()
782 w->quant = dquant >> 1; in ff_intrax8_decode_picture()
Dvc1.c236 if (v->dquant != 2) { in vop_dquant_decoding()
339 v->dquant = get_bits(gb, 2); //common in ff_vc1_decode_sequence_header()
393 v->dquant, v->quantizer_mode, avctx->max_b_frames); in ff_vc1_decode_sequence_header()
524 v->dquant = get_bits(gb, 2); in ff_vc1_decode_entry_point()
563 v->fastuvmc, v->extended_mv, v->dquant, v->vstransform, v->overlap, v->quantizer_mode); in ff_vc1_decode_entry_point()
771 if (v->dquant) { in ff_vc1_parse_frame_header()
810 if (v->dquant) { in ff_vc1_parse_frame_header()
1187 if (v->dquant) { in ff_vc1_parse_frame_header_adv()
1304 if (v->dquant) { in ff_vc1_parse_frame_header_adv()
1336 && v->dquant) { in ff_vc1_parse_frame_header_adv()
Dituh263dec.c700 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; in ff_h263_decode_mb() local
731 dquant = cbpc & 8; in ff_h263_decode_mb()
748 if (dquant) { in ff_h263_decode_mb()
832 dquant = IS_QUANT(mb_type); in ff_h263_decode_mb()
931 dquant = cbpc & 4; in ff_h263_decode_mb()
953 if (dquant) { in ff_h263_decode_mb()
Dmpegvideo_enc.c2223 s->dquant = s->qscale - last_qp; in encode_mb_internal()
2226 s->dquant = av_clip(s->dquant, -2, 2); in encode_mb_internal()
2231 if (s->dquant & 1 || s->mv_dir & MV_DIRECT) in encode_mb_internal()
2232 s->dquant = 0; in encode_mb_internal()
2235 s->dquant = 0; in encode_mb_internal()
2240 ff_set_qscale(s, last_qp + s->dquant); in encode_mb_internal()
2242 ff_set_qscale(s, s->qscale + s->dquant); in encode_mb_internal()
2604 d->dquant= s->dquant; in copy_context_before_encode()
3113 s->dquant=0; //only for QP_RD in encode_thread()
3263 av_assert2(backup_s.dquant == 0); in encode_thread()
[all …]
Dh264_cavlc.c1105 int dquant; in ff_h264_decode_mb_cavlc() local
1111 dquant= get_se_golomb(&sl->gb); in ff_h264_decode_mb_cavlc()
1113 sl->qscale += (unsigned)dquant; in ff_h264_decode_mb_cavlc()
1119 … av_log(h->avctx, AV_LOG_ERROR, "dquant out of range (%d) at %d %d\n", dquant, sl->mb_x, sl->mb_y); in ff_h264_decode_mb_cavlc()
Dvc1.h222 int dquant; ///< How qscale varies with MBs, 2 bits (not in Simple) member
Dvaapi_vc1.c351 .dquant = v->dquant, in vaapi_vc1_start_frame()
Ddxva2_vc1.c109 (v->dquant << 1) | in fill_picture_parameters()
Dmpegvideo.h210 int dquant; ///< qscale difference to prev qscale member
Dmpeg4videodec.c1403 int cbpc, cbpy, i, cbp, pred_x, pred_y, mx, my, dquant; in mpeg4_decode_mb() local
1451 dquant = cbpc & 8; in mpeg4_decode_mb()
1469 if (dquant) in mpeg4_decode_mb()
1710 dquant = cbpc & 4; in mpeg4_decode_mb()
1730 if (dquant) in mpeg4_decode_mb()
Dmss2.c776 v->dquant = 1; in wmv9_init()
/third_party/gstreamer/gstplugins_bad/tests/check/libs/
Dvc1parser.c857 assert_equals_int (structc->dquant, 1); in GST_START_TEST()
908 assert_equals_int (structc->dquant, 1); in GST_START_TEST()
956 assert_equals_int (structc->dquant, 1); in GST_START_TEST()
999 assert_equals_int (structc->dquant, 1); in GST_START_TEST()
1055 assert_equals_int (entrypt->dquant, 1); in GST_START_TEST()
1116 assert_equals_int (entrypt->dquant, 1); in GST_START_TEST()
1185 assert_equals_int (entrypt->dquant, 1); in GST_START_TEST()
1243 assert_equals_int (seq_layer.struct_c.dquant, 2); in GST_START_TEST()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstvc1parser.c622 parse_vopdquant (GstBitReader * br, GstVC1FrameHdr * framehdr, guint8 dquant) in parse_vopdquant() argument
630 if (dquant == 2) { in parse_vopdquant()
915 framehdr->dquant = entrypthdr->dquant; in parse_frame_header_advanced()
1111 if (framehdr->dquant) in parse_frame_header_advanced()
1112 parse_vopdquant (br, framehdr, framehdr->dquant); in parse_frame_header_advanced()
1173 if (framehdr->dquant) { in parse_frame_header_advanced()
1174 parse_vopdquant (br, framehdr, framehdr->dquant); in parse_frame_header_advanced()
1285 if (framehdr->dquant) { in parse_frame_header_advanced()
1286 parse_vopdquant (br, framehdr, framehdr->dquant); in parse_frame_header_advanced()
1331 framehdr->dquant = structc->dquant; in parse_frame_header()
[all …]
Dgstvc1parser.h193 guint8 dquant; member
291 guint8 dquant; member
542 guint8 dquant; member
/third_party/gstreamer/gstplugins_bad/sys/nvdec/
Dcuviddec.h453 int dquant; member
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgstvc1parse.c815 structC |= (vc1parse->seq_hdr.struct_c.dquant << 12); in gst_vc1_parse_make_sequence_layer()
997 seq_hdr |= (vc1parse->seq_layer.struct_c.dquant << 12); in gst_vc1_parse_update_caps()