Lines Matching refs:dst

402 MPP_RET mpp_m2vd_parser_split(M2VDParserContext *ctx, MppPacket dst, MppPacket src)  in mpp_m2vd_parser_split()  argument
409 RK_U8 *dst_buf = (RK_U8 *)mpp_packet_get_data(dst); in mpp_m2vd_parser_split()
410 RK_U32 dst_len = (RK_U32)mpp_packet_get_length(dst); in mpp_m2vd_parser_split()
457 mpp_packet_set_eos(dst); in mpp_m2vd_parser_split()
461 mpp_packet_set_length(dst, dst_len); in mpp_m2vd_parser_split()
501 RK_U8 *dst = NULL; in m2vd_parser_prepare() local
507 dst = mpp_malloc_size(RK_U8, p->max_stream_size); in m2vd_parser_prepare()
508 mpp_assert(dst); in m2vd_parser_prepare()
511 memcpy(dst, p->bitstream_sw_buf, p->left_length); in m2vd_parser_prepare()
514 p->bitstream_sw_buf = dst; in m2vd_parser_prepare()
1342 M2VDDxvaParam *dst = p->dxva_ctx; in m2vd_convert_to_dxva() local
1351 dst->seq.decode_width = p->seq_head.decode_width; in m2vd_convert_to_dxva()
1352 dst->seq.decode_height = p->seq_head.decode_height; in m2vd_convert_to_dxva()
1353 dst->seq.aspect_ratio_information = p->seq_head.aspect_ratio_information; in m2vd_convert_to_dxva()
1354 dst->seq.frame_rate_code = p->seq_head.frame_rate_code; in m2vd_convert_to_dxva()
1355 dst->seq.bit_rate_value = p->seq_head.bit_rate_value; in m2vd_convert_to_dxva()
1356 dst->seq.vbv_buffer_size = p->seq_head.vbv_buffer_size; in m2vd_convert_to_dxva()
1357 dst->seq.constrained_parameters_flag = p->seq_head.constrained_parameters_flag; in m2vd_convert_to_dxva()
1358 dst->seq.load_intra_quantizer_matrix = p->seq_head.load_intra_quantizer_matrix; in m2vd_convert_to_dxva()
1359 dst->seq.load_non_intra_quantizer_matrix = p->seq_head.load_non_intra_quantizer_matrix; in m2vd_convert_to_dxva()
1361 dst->seq_ext.profile_and_level_indication = p->seq_ext_head.profile_and_level_indication; in m2vd_convert_to_dxva()
1362 dst->seq_ext.progressive_sequence = p->seq_ext_head.progressive_sequence; in m2vd_convert_to_dxva()
1363 dst->seq_ext.chroma_format = p->seq_ext_head.chroma_format; in m2vd_convert_to_dxva()
1364 dst->seq_ext.low_delay = p->seq_ext_head.low_delay; in m2vd_convert_to_dxva()
1365 dst->seq_ext.frame_rate_extension_n = p->seq_ext_head.frame_rate_extension_n; in m2vd_convert_to_dxva()
1366 dst->seq_ext.frame_rate_extension_d = p->seq_ext_head.frame_rate_extension_d; in m2vd_convert_to_dxva()
1369 dst->gop.drop_flag = p->gop_head.drop_flag; in m2vd_convert_to_dxva()
1370 dst->gop.hour = p->gop_head.hour; in m2vd_convert_to_dxva()
1371 dst->gop.minute = p->gop_head.minute; in m2vd_convert_to_dxva()
1372 dst->gop.sec = p->gop_head.sec; in m2vd_convert_to_dxva()
1373 dst->gop.frame = p->gop_head.frame; in m2vd_convert_to_dxva()
1374 dst->gop.closed_gop = p->gop_head.closed_gop; in m2vd_convert_to_dxva()
1375 dst->gop.broken_link = p->gop_head.broken_link; in m2vd_convert_to_dxva()
1378 dst->pic.temporal_reference = p->pic_head.temporal_reference; in m2vd_convert_to_dxva()
1379 dst->pic.picture_coding_type = p->pic_head.picture_coding_type; in m2vd_convert_to_dxva()
1380 dst->pic.pre_picture_coding_type = p->pic_head.pre_picture_coding_type; in m2vd_convert_to_dxva()
1381 dst->pic.vbv_delay = p->pic_head.vbv_delay; in m2vd_convert_to_dxva()
1382 dst->pic.full_pel_forward_vector = p->pic_head.full_pel_forward_vector; in m2vd_convert_to_dxva()
1383 dst->pic.forward_f_code = p->pic_head.forward_f_code; in m2vd_convert_to_dxva()
1384 dst->pic.full_pel_backward_vector = p->pic_head.full_pel_backward_vector; in m2vd_convert_to_dxva()
1385 dst->pic.backward_f_code = p->pic_head.backward_f_code; in m2vd_convert_to_dxva()
1386 dst->pic.pre_temporal_reference = p->pic_head.pre_temporal_reference; in m2vd_convert_to_dxva()
1388 dst->seq_disp_ext.video_format = p->seq_disp_ext_head.video_format; in m2vd_convert_to_dxva()
1389 dst->seq_disp_ext.color_description = p->seq_disp_ext_head.color_description; in m2vd_convert_to_dxva()
1390 dst->seq_disp_ext.color_primaries = p->seq_disp_ext_head.color_primaries; in m2vd_convert_to_dxva()
1391 dst->seq_disp_ext.transfer_characteristics = p->seq_disp_ext_head.transfer_characteristics; in m2vd_convert_to_dxva()
1392 dst->seq_disp_ext.matrix_coefficients = p->seq_disp_ext_head.matrix_coefficients; in m2vd_convert_to_dxva()
1394 memcpy(dst->pic_code_ext.f_code, p->pic_code_ext_head.f_code, 2 * 2 * sizeof(RK_S32)); in m2vd_convert_to_dxva()
1395 dst->pic_code_ext.intra_dc_precision = p->pic_code_ext_head.intra_dc_precision; in m2vd_convert_to_dxva()
1396 dst->pic_code_ext.picture_structure = p->pic_code_ext_head.picture_structure; in m2vd_convert_to_dxva()
1397 dst->pic_code_ext.top_field_first = p->pic_code_ext_head.top_field_first; in m2vd_convert_to_dxva()
1398 dst->pic_code_ext.frame_pred_frame_dct = p->pic_code_ext_head.frame_pred_frame_dct; in m2vd_convert_to_dxva()
1399dst->pic_code_ext.concealment_motion_vectors = p->pic_code_ext_head.concealment_motion_vectors; in m2vd_convert_to_dxva()
1400 dst->pic_code_ext.q_scale_type = p->pic_code_ext_head.q_scale_type; in m2vd_convert_to_dxva()
1401 dst->pic_code_ext.intra_vlc_format = p->pic_code_ext_head.intra_vlc_format; in m2vd_convert_to_dxva()
1402 dst->pic_code_ext.alternate_scan = p->pic_code_ext_head.alternate_scan; in m2vd_convert_to_dxva()
1403 dst->pic_code_ext.repeat_first_field = p->pic_code_ext_head.repeat_first_field; in m2vd_convert_to_dxva()
1404 dst->pic_code_ext.chroma_420_type = p->pic_code_ext_head.chroma_420_type; in m2vd_convert_to_dxva()
1405 dst->pic_code_ext.progressive_frame = p->pic_code_ext_head.progressive_frame; in m2vd_convert_to_dxva()
1406 dst->pic_code_ext.composite_display_flag = p->pic_code_ext_head.composite_display_flag; in m2vd_convert_to_dxva()
1407 dst->pic_code_ext.v_axis = p->pic_code_ext_head.v_axis; in m2vd_convert_to_dxva()
1408 dst->pic_code_ext.field_sequence = p->pic_code_ext_head.field_sequence; in m2vd_convert_to_dxva()
1409 dst->pic_code_ext.sub_carrier = p->pic_code_ext_head.sub_carrier; in m2vd_convert_to_dxva()
1410 dst->pic_code_ext.burst_amplitude = p->pic_code_ext_head.burst_amplitude; in m2vd_convert_to_dxva()
1411 dst->pic_code_ext.sub_carrier_phase = p->pic_code_ext_head.sub_carrier_phase; in m2vd_convert_to_dxva()
1413 …memcpy(dst->pic_disp_ext.frame_center_horizontal_offset, p->pic_disp_ext_head.frame_center_horizon… in m2vd_convert_to_dxva()
1414 …memcpy(dst->pic_disp_ext.frame_center_vertical_offset, p->pic_disp_ext_head.frame_center_vertical_… in m2vd_convert_to_dxva()
1416 dst->bitstream_length = p->frame_size - ((readbits >> 3) & (~7)); in m2vd_convert_to_dxva()
1417 dst->bitstream_offset = ((readbits >> 3) & (~7)); in m2vd_convert_to_dxva()
1418 dst->bitstream_start_bit = readbits & 0x3f; in m2vd_convert_to_dxva()
1419 dst->qp_tab = p->qp_tab_sw_buf; in m2vd_convert_to_dxva()
1420 dst->CurrPic.Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1430 dst->frame_refs[i].bPicEntry = 0xff; in m2vd_convert_to_dxva()
1435 dst->frame_refs[0].Index7Bits = pfw->slot_index; in m2vd_convert_to_dxva()
1436 dst->frame_refs[1].Index7Bits = pfw->slot_index; in m2vd_convert_to_dxva()
1437 dst->frame_refs[2].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1438 dst->frame_refs[3].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1447 dst->frame_refs[0].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1448 dst->frame_refs[1].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1450 dst->frame_refs[0].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1451 dst->frame_refs[1].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1453 dst->frame_refs[0].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1454 dst->frame_refs[1].Index7Bits = pbw->slot_index; in m2vd_convert_to_dxva()
1456 dst->frame_refs[2].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1457 dst->frame_refs[3].Index7Bits = p->frame_cur->slot_index; in m2vd_convert_to_dxva()
1464 dst->seq_ext_head_dec_flag = p->MPEG2_Flag; in m2vd_convert_to_dxva()