Searched refs:matrix_id (Results 1 – 4 of 4) sorted by relevance
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec_h265.c | 216 unsigned size_id, matrix_id; in scaling_list_data() local 234 for (matrix_id = 0; matrix_id < ((size_id == 3) ? 2 : 6); ++matrix_id) { in scaling_list_data() 239 unsigned matrix_id_with_delta = matrix_id - vl_rbsp_ue(rbsp); in scaling_list_data() 241 if (matrix_id != matrix_id_with_delta) { in scaling_list_data() 242 memcpy((*scaling_list_data[size_id])[matrix_id], in scaling_list_data() 246 (*scaling_list_dc_coeff[size_id - 2])[matrix_id] = in scaling_list_data() 252 memset((*scaling_list_data[0])[matrix_id], 16, 16); in scaling_list_data() 255 d = (matrix_id < 3) ? Default_8x8_Intra : Default_8x8_Inter; in scaling_list_data() 257 d = (matrix_id < 1) ? Default_8x8_Intra : Default_8x8_Inter; in scaling_list_data() 258 memcpy((*scaling_list_data[size_id])[matrix_id], d, in scaling_list_data() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | hevc_ps.c | 787 int size_id, matrix_id, pos; in scaling_list_data() local 791 for (matrix_id = 0; matrix_id < 6; matrix_id += ((size_id == 3) ? 3 : 1)) { in scaling_list_data() 800 if (matrix_id < delta) { in scaling_list_data() 806 memcpy(sl->sl[size_id][matrix_id], in scaling_list_data() 807 sl->sl[size_id][matrix_id - delta], in scaling_list_data() 810 … sl->sl_dc[size_id - 2][matrix_id] = sl->sl_dc[size_id - 2][matrix_id - delta]; in scaling_list_data() 823 scaling_list_dc_coef[size_id - 2][matrix_id] = scaling_list_coeff_minus8 + 8; in scaling_list_data() 824 next_coef = scaling_list_dc_coef[size_id - 2][matrix_id]; in scaling_list_data() 825 sl->sl_dc[size_id - 2][matrix_id] = next_coef; in scaling_list_data() 837 sl->sl[size_id][matrix_id][pos] = next_coef; in scaling_list_data()
|
D | hevc_cabac.c | 1137 int matrix_id = lc->cu.pred_mode != MODE_INTRA; in ff_hevc_hls_residual_coding() local 1139 matrix_id = 3 * matrix_id + c_idx; in ff_hevc_hls_residual_coding() 1141 scale_matrix = sl->sl[log2_trafo_size - 2][matrix_id]; in ff_hevc_hls_residual_coding() 1143 dc_scale = sl->sl_dc[log2_trafo_size - 4][matrix_id]; in ff_hevc_hls_residual_coding()
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-mux.c | 2757 guint matrix_id = 0; in gst_matroska_mux_write_colour() local 2775 matrix_id = gst_video_color_matrix_to_iso (videocontext->colorimetry.matrix); in gst_matroska_mux_write_colour() 2783 matrix_id); in gst_matroska_mux_write_colour()
|