Home
last modified time | relevance | path

Searched refs:intra_matrix (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
Dasvdec.c125 …ck[a->scantable.permutated[4 * i + 0]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 0]) >> … in asv1_decode_block()
127 …ck[a->scantable.permutated[4 * i + 1]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 1]) >> … in asv1_decode_block()
129 …ck[a->scantable.permutated[4 * i + 2]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 2]) >> … in asv1_decode_block()
131 …ck[a->scantable.permutated[4 * i + 3]] = (asv1_get_level(&a->gb) * a->intra_matrix[4 * i + 3]) >> … in asv1_decode_block()
149 block[a->scantable.permutated[1]] = (asv2_get_level(&a->gb) * a->intra_matrix[1]) >> 4; in asv2_decode_block()
151 block[a->scantable.permutated[2]] = (asv2_get_level(&a->gb) * a->intra_matrix[2]) >> 4; in asv2_decode_block()
153 block[a->scantable.permutated[3]] = (asv2_get_level(&a->gb) * a->intra_matrix[3]) >> 4; in asv2_decode_block()
161 …ck[a->scantable.permutated[4 * i + 0]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 0]) >> … in asv2_decode_block()
163 …ck[a->scantable.permutated[4 * i + 1]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 1]) >> … in asv2_decode_block()
165 …ck[a->scantable.permutated[4 * i + 2]] = (asv2_get_level(&a->gb) * a->intra_matrix[4 * i + 2]) >> … in asv2_decode_block()
[all …]
Deatqi.c53 uint16_t intra_matrix[64]; member
82 t->intra_matrix, in tqi_decode_mb()
120 t->intra_matrix[0] = (ff_inv_aanscales[0] * ff_mpeg1_default_intra_matrix[0]) >> 11; in tqi_calculate_qtable()
122 … t->intra_matrix[i] = (ff_inv_aanscales[i] * ff_mpeg1_default_intra_matrix[i] * qscale + 32) >> 14; in tqi_calculate_qtable()
Dlibxvid.c79 unsigned char *intra_matrix; /**< P-Frame Quant Matrix */ member
617 x->intra_matrix = in xvid_encode_init()
629 if ((avctx->intra_matrix || avctx->inter_matrix)) { in xvid_encode_init()
632 if (avctx->intra_matrix) { in xvid_encode_init()
633 intra = avctx->intra_matrix; in xvid_encode_init()
634 x->intra_matrix = av_malloc(sizeof(unsigned char) * 64); in xvid_encode_init()
635 if (!x->intra_matrix) in xvid_encode_init()
649 x->intra_matrix[i] = (unsigned char) intra[i]; in xvid_encode_init()
805 xvid_enc_frame.quant_intra_matrix = x->intra_matrix; in xvid_encode_frame()
900 av_freep(&x->intra_matrix); in xvid_encode_close()
Doptions.c199 av_freep(&avctx->intra_matrix); in avcodec_free_context()
218 av_freep(&avctx->intra_matrix); in copy_context_reset()
270 dest->intra_matrix = NULL; in avcodec_copy_context()
290 alloc_and_copy_or_fail(intra_matrix, 64 * sizeof(int16_t), 0); in avcodec_copy_context()
Dasv.h58 uint16_t intra_matrix[64]; member
Dnvdec_mpeg4.c89 ppc->QuantMatrixIntra[i] = s->intra_matrix[i]; in nvdec_mpeg4_start_frame()
Dnvdec_mpeg12.c83 ppc->QuantMatrixIntra[i] = s->intra_matrix[i]; in nvdec_mpeg12_start_frame()
Dvdpau_mpeg4.c77 info->intra_quantizer_matrix[i] = s->intra_matrix[i]; in vdpau_mpeg4_start_frame()
Dvdpau_mpeg12.c76 info->intra_quantizer_matrix[i] = s->intra_matrix[i]; in vdpau_mpeg_start_frame()
Dvaapi_mpeg2.c96 iq_matrix.intra_quantiser_matrix[i] = s->intra_matrix[n]; in vaapi_mpeg2_start_frame()
Dmpeg12dec.c490 quant_matrix = s->intra_matrix; in mpeg2_decode_block_intra()
575 quant_matrix = s->intra_matrix; in mpeg2_fast_decode_block_intra()
777 s->intra_matrix, in mpeg_decode_mb()
1330 quant_matrix_rebuild(s->intra_matrix, old_permutation, s->idsp.idct_permutation); in mpeg_decode_postinit()
1523 load_matrix(s, s->chroma_intra_matrix, s->intra_matrix, 1); in mpeg_decode_quant_matrix_extension()
2124 load_matrix(s, s->chroma_intra_matrix, s->intra_matrix, 1); in mpeg1_decode_sequence()
2129 s->intra_matrix[j] = v; in mpeg1_decode_sequence()
2201 s->intra_matrix[j] = v; in vcr2_init_sequence()
2550 s2->intra_matrix[0]= 1; in decode_chunks()
3054 m->intra_matrix, in ipu_decode_frame()
[all …]
Dmpegvideo_enc.c1025 s->intra_matrix[j] = ff_mpeg4_default_intra_matrix[i]; in ff_mpv_encode_init()
1028 s->intra_matrix[j] = in ff_mpv_encode_init()
1031 s->intra_matrix[j] = in ff_mpv_encode_init()
1036 s->intra_matrix[j] = ff_mpeg1_default_intra_matrix[i]; in ff_mpv_encode_init()
1039 if (avctx->intra_matrix) in ff_mpv_encode_init()
1040 s->intra_matrix[j] = avctx->intra_matrix[i]; in ff_mpv_encode_init()
1049 s->intra_matrix, s->intra_quant_bias, avctx->qmin, in ff_mpv_encode_init()
3868 if (s->avctx->intra_matrix) { in encode_picture()
3870 luma_matrix = s->avctx->intra_matrix; in encode_picture()
3880 s-> intra_matrix[j] = av_clip_uint8(( luma_matrix[i] * s->qscale) >> 3); in encode_picture()
[all …]
Dvaapi_mpeg4.c120 iq_matrix.intra_quant_mat[i] = s->intra_matrix[n]; in vaapi_mpeg4_start_frame()
Ddxva2_mpeg2.c116 qm->Qmatrix[0][i] = s->intra_matrix[n]; in fill_quantization_matrices()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_mpeg12.c83 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Init()
204 priv->picture.mpeg12.intra_matrix = priv->codec_data.mpeg12.intra_matrix; in vid_dec_mpeg12_Decode()
206 priv->codec_data.mpeg12.intra_matrix[vl_zscan_normal[i]] = vl_vlc_get_uimsbf(vlc, 8); in vid_dec_mpeg12_Decode()
210 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Decode()
275 priv->picture.mpeg12.intra_matrix = priv->codec_data.mpeg12.intra_matrix; in vid_dec_mpeg12_Decode()
277 priv->codec_data.mpeg12.intra_matrix[vl_zscan_normal[i]] = vl_vlc_get_uimsbf(vlc, 8); in vid_dec_mpeg12_Decode()
281 priv->picture.mpeg12.intra_matrix = default_intra_matrix; in vid_dec_mpeg12_Decode()
292 priv->picture.mpeg12.intra_matrix = default_non_intra_matrix; in vid_dec_mpeg12_Decode()
/third_party/mesa3d/src/gallium/frontends/va/
Dpicture_mpeg4.c84 if (!context->desc.mpeg4.intra_matrix) in vlVaHandlePictureParameterBufferMPEG4()
85 context->desc.mpeg4.intra_matrix = default_intra_quant_matrix; in vlVaHandlePictureParameterBufferMPEG4()
103 context->desc.mpeg4.intra_matrix = mpeg4->intra_quant_mat; in vlVaHandleIQMatrixBufferMPEG4()
105 context->desc.mpeg4.intra_matrix = NULL; in vlVaHandleIQMatrixBufferMPEG4()
Dpicture_mpeg12.c95 context->desc.mpeg12.intra_matrix = temp_intra_matrix; in vlVaHandleIQMatrixBufferMPEG12()
97 context->desc.mpeg12.intra_matrix = NULL; in vlVaHandleIQMatrixBufferMPEG12()
/third_party/ffmpeg/libavcodec/x86/
Dmpegvideo.c184 quant_matrix = s->intra_matrix; in dct_unquantize_mpeg1_intra_mmx()
322 quant_matrix = s->intra_matrix; in dct_unquantize_mpeg2_intra_mmx()
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_decoder.c599 uint8_t intra_matrix[64]; in vl_mpeg12_begin_frame() local
610 memcpy(intra_matrix, desc->intra_matrix, sizeof(intra_matrix)); in vl_mpeg12_begin_frame()
612 intra_matrix[0] = 1 << (7 - desc->intra_dc_precision); in vl_mpeg12_begin_frame()
614 memset(intra_matrix, 0x10, sizeof(intra_matrix)); in vl_mpeg12_begin_frame()
620 vl_zscan_upload_quant(zscan, &buf->zscan[i], intra_matrix, true); in vl_mpeg12_begin_frame()
/third_party/ffmpeg/libavcodec/mips/
Dmpegvideo_mmi.c182 quant_matrix = s->intra_matrix; in ff_dct_unquantize_mpeg1_intra_mmi()
367 quant_matrix = s->intra_matrix; in ff_dct_unquantize_mpeg2_intra_mmi()
/third_party/mesa3d/src/gallium/frontends/omx/
Dvid_dec_common.h60 uint8_t intra_matrix[64]; \
/third_party/mesa3d/src/gallium/include/pipe/
Dp_video_state.h169 const uint8_t *intra_matrix; member
234 const uint8_t *intra_matrix; member
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video_vp.c257 memcpy(pic_vp->intra_quantizer_matrix, desc->intra_matrix, 0x40); in nouveau_vp3_fill_picparm_mpeg12_vp()
304 memcpy(pic_vp->intra, desc->intra_matrix, 0x40); in nouveau_vp3_fill_picparm_mpeg4_vp()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Ddecode.c257 picture->intra_matrix = picture_info->intra_quantizer_matrix; in vlVdpDecoderRenderMpeg12()
299 picture->intra_matrix = picture_info->intra_quantizer_matrix; in vlVdpDecoderRenderMpeg4()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv84_video.c194 if (desc->intra_matrix) { in nv84_decoder_begin_frame_mpeg12()
197 dec->mpeg12_intra_matrix[i] = desc->intra_matrix[dec->zscan[i]]; in nv84_decoder_begin_frame_mpeg12()

12