Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/VLC/test/modules/packetizer/   (VLC Media Plyer ©)  Datei vom 23.9.2026 mit Größe 12 kB image not shown  

Quelle  h266.c   Sprache: C

 

/*****************************************************************************
 * h266_test: H266 packetizer unit testing
 *****************************************************************************
 * Copyright (C) 2024 VideoLabs, VideoLAN and VLC Authors
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
 *****************************************************************************/

#ifdef HAVE_CONFIG_H
# include "config.h"
#endif

#include <vlc/vlc.h>
#include "../../../lib/libvlc_internal.h"
#include "../../libvlc/test.h"

#include "packetizer.h"

/* 16x16, keyint 25, 50frames, 1 layer/no VPS */
unsigned char test_samples_raw_h266[] = {
    0x00, 0x00, 0x00, 0x01, 0x00, 0x79, 0x00, 0xad, 0x02, 0x10, 0x80, 0x00,
    0x00, 0x82, 0x21, 0x11, 0xa8, 0x01, 0xcd, 0xd3, 0x6e, 0x99, 0x1a, 0x45,
    0x26, 0xf3, 0x84, 0xd9, 0x58, 0xc1, 0x02, 0x09, 0xe0, 0x0d, 0x20, 0xcd,
    0x84, 0x21, 0x93, 0x11, 0x08, 0x19, 0x22, 0x0d, 0x48, 0x7a, 0x3d, 0x5a,
    0x92, 0xf2, 0x49, 0xa9, 0x2c, 0x91, 0x16, 0xa2, 0x2f, 0x11, 0x26, 0xa2,
    0x24, 0x52, 0x44, 0x49, 0x92, 0x22, 0x4d, 0x46, 0x58, 0x88, 0x42, 0xc9,
    0x08, 0x5a, 0x84, 0x2f, 0x08, 0x5e, 0xad, 0x49, 0x79, 0x2f, 0x50, 0xd2,
    0x0c, 0xd8, 0x90, 0x66, 0xc4, 0x04, 0x88, 0x40, 0x80, 0x91, 0x50, 0x81,
    0x01, 0x23, 0x48, 0x40, 0x80, 0x91, 0x62, 0x04, 0x04, 0x88, 0x82, 0x02,
    0x45, 0x90, 0x40, 0x48, 0x90, 0x80, 0x93, 0x20, 0x48, 0x88, 0x40, 0x91,
    0x64, 0x20, 0x48, 0x91, 0x02, 0x4d, 0x04, 0x89, 0x20, 0x93, 0x84, 0x9c,
    0x26, 0xc8, 0x88, 0x84, 0x45, 0x90, 0x88, 0x91, 0x13, 0x48, 0x92, 0x4e,
    0x9f, 0xfd, 0xd9, 0x5f, 0x8f, 0x24, 0x00, 0x00, 0x03, 0x00, 0x04, 0x00,
    0x00, 0x03, 0x00, 0xf0, 0x62, 0x00, 0x00, 0x00, 0x01, 0x00, 0x81, 0x00,
    0x01, 0x10, 0x88, 0x89, 0x00, 0xcf, 0xb8, 0x20, 0x00, 0x00, 0x01, 0x00,
    0x39, 0xc4, 0x60, 0x60, 0x7b, 0x6f, 0xc0, 0xeb, 0x7f, 0x56, 0x4f, 0xd5,
    0x26, 0x62, 0x3a, 0x00, 0xdf, 0x35, 0x2c, 0x3f, 0x16, 0x8f, 0x47, 0x34,
    0x5a, 0xd4, 0x97, 0xa4, 0x2d, 0x6d, 0x34, 0x1d, 0x02, 0x99, 0xfc, 0xcd,
    0xd2, 0x7f, 0xf8, 0xaf, 0xc0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x12, 0x94,
    0x3c, 0xd0, 0x88, 0x49, 0x09, 0x0a, 0xdb, 0xf0, 0xb1, 0xac, 0xbc, 0xd1,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x13, 0x94, 0x1c, 0xd0, 0x8c, 0x40, 0x49,
    0x88, 0x09, 0x1b, 0x6f, 0xc0, 0x4e, 0x55, 0xca, 0xe9, 0xac, 0x00, 0x00,
    0x00, 0x01, 0x00, 0x14, 0x94, 0x0c, 0xd0, 0x8c, 0x81, 0x02, 0x10, 0x20,
    0x24, 0x6d, 0xbf, 0x54, 0x26, 0xe2, 0x5b, 0xcf, 0xac, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x15, 0x94, 0x04, 0xd0, 0x8d, 0x08, 0x2a, 0x10, 0x20, 0x24,
    0x4c, 0xdb, 0xf0, 0xe4, 0xaa, 0x75, 0x40, 0xbe, 0x02, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x16, 0x94, 0x00, 0xd0, 0x8e, 0x43, 0x48, 0x40, 0x80, 0x91,
    0x6d, 0xbf, 0xb8, 0xf8, 0x70, 0xa7, 0x9f, 0x30, 0x8b, 0xdc, 0x03, 0x61,
    0x7a, 0x93, 0x24, 0x9b, 0x08, 0xcc, 0x19, 0x2d, 0xa4, 0x50, 0x4c, 0xe9,
    0xa7, 0xb3, 0x36, 0x3f, 0x6d, 0xb8, 0xe7, 0x4a, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x16, 0x94, 0x08, 0xc0, 0x8f, 0x42, 0xc4, 0x08, 0x09, 0x31, 0x1f,
    0xc0, 0x65, 0x61, 0x45, 0x38, 0x00, 0x00, 0x00, 0x01, 0x00, 0x15, 0x94,
    0x14, 0xc0, 0x8d, 0x48, 0x22, 0x08, 0x09, 0x13, 0x36, 0xfc, 0xe5, 0xd7,
    0x7d, 0x88, 0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x10, 0xc0, 0x8f,
    0x42, 0xc8, 0x20, 0x24, 0x4c, 0xdb, 0xf0, 0x54, 0xdf, 0xc4, 0x80, 0x00,
    0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x18, 0xc0, 0x8f, 0x52, 0x42, 0x02,
    0x4c, 0x57, 0xf0, 0xe3, 0xcb, 0xa3, 0xac, 0x88, 0x35, 0xa0, 0x00, 0x00,
    0x00, 0x01, 0x00, 0x14, 0x94, 0x2c, 0xc0, 0x8c, 0x91, 0x06, 0x40, 0x93,
    0x23, 0x6f, 0xc0, 0xe3, 0x1d, 0x53, 0xa1, 0x08, 0x80, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x15, 0x94, 0x24, 0xc0, 0x8d, 0x48, 0x22, 0x10, 0x24, 0x44,
    0x7f, 0x46, 0x2d, 0xe4, 0xe5, 0xf1, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x16, 0x94, 0x20, 0xc0, 0x8f, 0x42, 0xc8, 0x40, 0x91, 0x15, 0xfc, 0xc6,
    0x24, 0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x28, 0xc0, 0x8f, 0x52,
    0x44, 0x09, 0x31, 0x5f, 0xc0, 0x61, 0x97, 0x66, 0xf4, 0x49, 0x32, 0x80,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x15, 0x94, 0x34, 0xc0, 0x8d, 0x49, 0x68,
    0x24, 0xc4, 0x7f, 0x64, 0x23, 0x3a, 0x40, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x16, 0x94, 0x30, 0xc0, 0x8f, 0x24, 0x92, 0x09, 0x11, 0x5f, 0xc0, 0x50,
    0xc6, 0x42, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x38, 0xc0,
    0x8f, 0x57, 0x09, 0x31, 0x5f, 0xc0, 0x43, 0x06, 0x56, 0x46, 0x61, 0xc9,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x13, 0x94, 0x5c, 0xc0, 0x8c, 0x44, 0x49,
    0xc2, 0x6e, 0xdb, 0xf0, 0x4e, 0x88, 0xae, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x14, 0x94, 0x4c, 0xc0, 0x8c, 0x91, 0x06, 0x44, 0x48, 0xdb, 0xf0, 0x62,
    0xd2, 0x1d, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x15, 0x94, 0x44, 0xc0,
    0x8d, 0x48, 0x22, 0x11, 0x11, 0x1f, 0xc0, 0xe3, 0xb4, 0x03, 0x50, 0xf9,
    0x8b, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x40, 0xc0, 0x8f,
    0x42, 0xc8, 0x44, 0x45, 0x7f, 0xc6, 0x24, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x16, 0x94, 0x48, 0xc0, 0xb5, 0x62, 0xbf, 0x80, 0x4d, 0x89, 0x69, 0x00,
    0x00, 0x00, 0x01, 0x00, 0x15, 0x94, 0x54, 0xc0, 0xb6, 0x62, 0x3f, 0x80,
    0xe3, 0xac, 0x28, 0xf3, 0x6c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94,
    0x50, 0xc0, 0xb7, 0x22, 0xbf, 0x80, 0x52, 0x14, 0x9e, 0x5f, 0x95, 0xa8,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x16, 0x94, 0x58, 0xc0, 0xb8, 0x62, 0xbf,
    0x80, 0x62, 0x9b, 0x4f, 0x7f, 0x67, 0x40, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x79, 0x00, 0xad, 0x02, 0x10, 0x80, 0x00, 0x00, 0x82, 0x21, 0x11, 0xa8,
    0x01, 0xcd, 0xd3, 0x6e, 0x99, 0x1a, 0x45, 0x26, 0xf3, 0x84, 0xd9, 0x58,
    0xc1, 0x02, 0x09, 0xe0, 0x0d, 0x20, 0xcd, 0x84, 0x21, 0x93, 0x11, 0x08,
    0x19, 0x22, 0x0d, 0x48, 0x7a, 0x3d, 0x5a, 0x92, 0xf2, 0x49, 0xa9, 0x2c,
    0x91, 0x16, 0xa2, 0x2f, 0x11, 0x26, 0xa2, 0x24, 0x52, 0x44, 0x49, 0x92,
    0x22, 0x4d, 0x46, 0x58, 0x88, 0x42, 0xc9, 0x08, 0x5a, 0x84, 0x2f, 0x08,
    0x5e, 0xad, 0x49, 0x79, 0x2f, 0x50, 0xd2, 0x0c, 0xd8, 0x90, 0x66, 0xc4,
    0x04, 0x88, 0x40, 0x80, 0x91, 0x50, 0x81, 0x01, 0x23, 0x48, 0x40, 0x80,
    0x91, 0x62, 0x04, 0x04, 0x88, 0x82, 0x02, 0x45, 0x90, 0x40, 0x48, 0x90,
    0x80, 0x93, 0x20, 0x48, 0x88, 0x40, 0x91, 0x64, 0x20, 0x48, 0x91, 0x02,
    0x4d, 0x04, 0x89, 0x20, 0x93, 0x84, 0x9c, 0x26, 0xc8, 0x88, 0x84, 0x45,
    0x90, 0x88, 0x91, 0x13, 0x48, 0x92, 0x4e, 0x9f, 0xfd, 0xd9, 0x5f, 0x8f,
    0x24, 0x00, 0x00, 0x03, 0x00, 0x04, 0x00, 0x00, 0x03, 0x00, 0xf0, 0x62,
    0x00, 0x00, 0x00, 0x01, 0x00, 0x81, 0x00, 0x01, 0x10, 0x88, 0x89, 0x00,
    0xcf, 0xb8, 0x20, 0x00, 0x00, 0x01, 0x00, 0x49, 0xc4, 0xc4, 0x71, 0x82,
    0xf3, 0x18, 0xde, 0xf5, 0xa5, 0x8e, 0x11, 0x7e, 0x07, 0x7f, 0xdb, 0xb5,
    0xc9, 0xa4, 0xba, 0xda, 0xef, 0xaf, 0xfe, 0x5e, 0x5f, 0xff, 0xfa, 0x70,
    0xa8, 0x89, 0xf0, 0xe0, 0xd8, 0xa1, 0xd7, 0xcd, 0x21, 0x7f, 0xff, 0xb6,
    0x91, 0x22, 0x07, 0x62, 0xb9, 0x17, 0x43, 0x27, 0xd4, 0x5a, 0xbd, 0x63,
    0xe1, 0x6b, 0xdc, 0xa0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1a, 0x94, 0xa0,
    0xd0, 0x88, 0x49, 0x09, 0x06, 0x91, 0xfc, 0xbe, 0x55, 0xbc, 0x57, 0xe9,
    0x62, 0x31, 0xaa, 0x2c, 0x16, 0xa6, 0x45, 0xc4, 0x45, 0x44, 0x7d, 0x37,
    0x32, 0x7b, 0x34, 0x04, 0xd1, 0x28, 0x49, 0xcb, 0xa3, 0x2a, 0xe6, 0xc2,
    0xec, 0x42, 0xd2, 0x0e, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1b, 0x94, 0x80,
    0xd0, 0x8c, 0x40, 0x49, 0x88, 0x09, 0x12, 0xb6, 0xfc, 0xae, 0xcf, 0xf7,
    0x5f, 0xce, 0x33, 0x99, 0x9c, 0xd3, 0x69, 0x72, 0x32, 0x87, 0xf5, 0xdc,
    0x4a, 0x52, 0xd5, 0x9f, 0x30, 0xd9, 0x43, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x1c, 0x94, 0x70, 0xd0, 0x8c, 0x81, 0x02, 0x10, 0x20, 0x24, 0x48, 0xdb,
    0xf0, 0xde, 0x91, 0x00, 0x3d, 0xe5, 0x69, 0xf8, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x1d, 0x94, 0x68, 0xd0, 0x8d, 0x08, 0x2a, 0x10, 0x20, 0x24, 0x44,
    0x7f, 0xf9, 0x81, 0x49, 0x89, 0xba, 0x8e, 0x1b, 0x38, 0x78, 0x00, 0x00,
    0x00, 0x01, 0x00, 0x1e, 0x94, 0x64, 0xd0, 0x8e, 0x43, 0x48, 0x40, 0x80,
    0x91, 0x15, 0xfc, 0x51, 0xa8, 0xa4, 0xf1, 0xee, 0x7c, 0xa6, 0x22, 0x00,
    0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0x6c, 0xc0, 0x8f, 0x42, 0xc4, 0x08,
    0x09, 0x31, 0x5f, 0xc0, 0xeb, 0x08, 0x20, 0xa2, 0xb8, 0xc0, 0x00, 0x00,
    0x00, 0x01, 0x00, 0x1d, 0x94, 0x78, 0xc0, 0x8d, 0x48, 0x22, 0x08, 0x09,
    0x33, 0x36, 0xfc, 0xf8, 0x50, 0x87, 0xe5, 0xa9, 0x4e, 0xe9, 0xf1, 0x92,
    0xe0, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0x74, 0xc0, 0x8f, 0x42,
    0xc8, 0x20, 0x24, 0x45, 0x7f, 0x50, 0x9a, 0xea, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x1e, 0x94, 0x7c, 0xc0, 0x8f, 0x52, 0x42, 0x02, 0x4c, 0x47, 0xf0,
    0xeb, 0x3a, 0x68, 0x62, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1c, 0x94,
    0x90, 0xc0, 0x8c, 0x91, 0x06, 0x40, 0x93, 0x64, 0x7f, 0xc3, 0x01, 0x21,
    0xfc, 0x96, 0x2b, 0x79, 0x88, 0x3b, 0x8c, 0x44, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x1d, 0x94, 0x88, 0xc0, 0x8d, 0x48, 0x22, 0x10, 0x24, 0x55, 0xbf,
    0xf2, 0xcf, 0xbb, 0xef, 0x17, 0x2e, 0x93, 0x3c, 0x41, 0x45, 0x87, 0xf7,
    0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0x84, 0xc0, 0x8f, 0x42,
    0xc8, 0x40, 0x91, 0x23, 0x6f, 0xc0, 0xfa, 0xa2, 0x41, 0xd6, 0xa5, 0x4f,
    0xcf, 0x5c, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0x8c, 0xc0,
    0x8f, 0x52, 0x44, 0x09, 0x32, 0x11, 0xfc, 0xed, 0xee, 0xaf, 0xdb, 0xe3,
    0xb1, 0x3b, 0xa2, 0x3e, 0xc9, 0x8d, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x1d, 0x94, 0x98, 0xc0, 0x8d, 0x49, 0x68, 0x24, 0xd1, 0x1f, 0xc0, 0xd8,
    0xa6, 0x8b, 0xfe, 0x9b, 0x75, 0x73, 0x17, 0x47, 0xf8, 0xfe, 0x3f, 0xad,
    0x81, 0xfa, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0x94, 0xc0, 0x8f,
    0x24, 0x92, 0x09, 0x12, 0x11, 0xfc, 0xf4, 0x83, 0x7e, 0xfc, 0x28, 0x74,
    0xe7, 0xd7, 0xd3, 0xcb, 0x3c, 0xfd, 0xc0, 0x00, 0x00, 0x00, 0x01, 0x00,
    0x1e, 0x94, 0x9c, 0xc0, 0x8f, 0x57, 0x09, 0x34, 0x47, 0xf0, 0xf1, 0x7a,
    0x3c, 0xaa, 0xef, 0x71, 0x0a, 0x5f, 0xb2, 0xac, 0xc1, 0xf7, 0xad, 0x99,
    0xf9, 0x0f, 0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1b, 0x94, 0xc0, 0xc1,
    0x8c, 0x44, 0x49, 0xc2, 0x6c, 0x10, 0x98, 0xc6, 0xf0, 0x81, 0x14, 0xf6,
    0x9f, 0xe9, 0x5c, 0xd5, 0x40, 0x2b, 0x08, 0xcc, 0x3f, 0xff, 0xa6, 0x14,
    0x4c, 0x0e, 0xf1, 0x67, 0x46, 0xb3, 0x66, 0x43, 0xc3, 0xf3, 0x44, 0x82,
    0xbb, 0x5d, 0x4b, 0xfd, 0x7f, 0xb9, 0x3b, 0xb2, 0x2c, 0x7e, 0x8b, 0x18,
    0xfb, 0x5a, 0x70, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1c, 0x94, 0xb0, 0xc0,
    0x8c, 0x91, 0x06, 0x44, 0xc3, 0xb3, 0x2f, 0x8f, 0x7f, 0xac, 0x5c, 0x2a,
    0x72, 0xf0, 0xda, 0xb0, 0xac, 0x09, 0x53, 0xad, 0x21, 0x04, 0x41, 0xe7,
    0x80, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1d, 0x94, 0xa8, 0xc0, 0x8d, 0x48,
    0x22, 0x11, 0x33, 0x91, 0xfc, 0xd3, 0xf0, 0x93, 0xac, 0x5f, 0x52, 0x13,
    0x8b, 0x26, 0x13, 0x75, 0x85, 0xe7, 0x78, 0x7e, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x1e, 0x94, 0xa4, 0xc0, 0x8f, 0x42, 0xc8, 0x44, 0x64, 0x7f, 0xe8,
    0xf6, 0xec, 0x0f, 0xb5, 0x94, 0x06, 0x52, 0xea, 0x46, 0x29, 0x80, 0x00,
    0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0xac, 0xc0, 0xb5, 0x62, 0xc8, 0xfe,
    0xae, 0x82, 0x1e, 0xdf, 0xef, 0x6a, 0x29, 0x43, 0x8d, 0x31, 0x8f, 0xa5,
    0x5b, 0x96, 0xd7, 0x1a, 0x30, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1d, 0x94,
    0xb8, 0xc1, 0xb6, 0x61, 0x92, 0x10, 0x9e, 0x9d, 0x61, 0xda, 0x8a, 0xfe,
    0x33, 0xcb, 0xf2, 0x79, 0xf6, 0x93, 0x37, 0xf1, 0x9c, 0x96, 0x76, 0x8f,
    0x34, 0xce, 0x39, 0x80, 0x54, 0xd5, 0x16, 0xf5, 0xab, 0x98, 0xe2, 0x7d,
    0xb3, 0xbf, 0x5b, 0x26, 0x00, 0x00, 0x00, 0x01, 0x00, 0x1e, 0x94, 0xb4,
    0xc1, 0xb7, 0x21, 0x72, 0x10, 0x9e, 0xa4, 0x26, 0xe3, 0x1f, 0xd4, 0xa3,
    0xa1, 0x1a, 0x34, 0xae, 0xd2, 0xd2, 0xfd, 0x02, 0xfb, 0xc6, 0x44, 0x94,
    0xb6, 0x0c, 0xf8, 0x9b, 0x3b, 0x29, 0x6c, 0xb8, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x1e, 0x94, 0xbc, 0xc1, 0xb8, 0x61, 0x72, 0x10, 0x9e, 0xa6, 0x1e,
    0xf1, 0xd4, 0x72, 0xd3, 0xf0, 0xb5, 0xfa, 0x6a, 0xce, 0x13, 0x19, 0xfa,
    0xd1, 0x23, 0x6d, 0x32, 0x4a, 0x60, 0xde, 0xb0, 0x23, 0x8c
};
unsigned int test_samples_raw_h266_len = 1738;

int main(void)
{
    test_init();

    libvlc_instance_t *vlc = libvlc_new(0, NULL);
    if(!vlc)
        return 1;

    struct params_s params;
    params.vlc = vlc;
    params.obj = VLC_OBJECT(vlc->p_libvlc_int);
    params.codec = VLC_CODEC_VVC;
    params.i_rate_num = 0;
    params.i_rate_den = 0;
    params.i_frame_count = 2*25;
    params.b_extra = true;

    params.i_read_size = 500;
    RUN("block 500", test_packetize,
        test_samples_raw_h266, test_samples_raw_h266_len, 0);

    params.i_rate_num = 60000;
    params.i_rate_den = 1001;
    params.i_read_size = 8;
    RUN("block 8", test_packetize,
        test_samples_raw_h266, test_samples_raw_h266_len, 0);

    params.i_frame_count = 25;
    params.i_read_size = 500;
    RUN("skip 1st Iframe", test_packetize,
        test_samples_raw_h266 + 200, test_samples_raw_h266_len - 200, 0);

    libvlc_release(vlc);
    return 0;
}

Messung
CHZG
829710093

¤ Dauer der Verarbeitung: 0.8 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.