Search is not available for this dataset
repo stringlengths 2 152 ⌀ | file stringlengths 15 239 | code stringlengths 0 58.4M | file_length int64 0 58.4M | avg_line_length float64 0 1.81M | max_line_length int64 0 12.7M | extension_type stringclasses 364
values |
|---|---|---|---|---|---|---|
fancyimpute | fancyimpute-master/fancyimpute/scaler.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 14,126 | 34.3175 | 91 | py |
fancyimpute | fancyimpute-master/fancyimpute/similarity_weighted_averaging.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 6,541 | 38.409639 | 115 | py |
fancyimpute | fancyimpute-master/fancyimpute/simple_fill.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 1,292 | 33.945946 | 78 | py |
fancyimpute | fancyimpute-master/fancyimpute/soft_impute.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 6,595 | 33.176166 | 79 | py |
fancyimpute | fancyimpute-master/fancyimpute/solver.py | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under th... | 7,938 | 34.128319 | 80 | py |
fancyimpute | fancyimpute-master/test/common.py | import numpy as np
def reconstruction_error(XY, XY_completed, missing_mask, name=None):
"""
Returns mean squared error and mean absolute error for
completed matrices.
"""
value_pairs = [
(i, j, XY[i, j], XY_completed[i, j])
for i in range(XY.shape[0])
for j in range(XY.shap... | 863 | 32.230769 | 77 | py |
fancyimpute | fancyimpute-master/test/low_rank_data.py | import numpy as np
def create_rank_k_dataset(
n_rows=5,
n_cols=5,
k=3,
fraction_missing=0.1,
symmetric=False,
random_seed=0):
np.random.seed(random_seed)
x = np.random.randn(n_rows, k)
y = np.random.randn(k, n_cols)
XY = np.dot(x, y)
if symmetric:
... | 843 | 21.810811 | 66 | py |
fancyimpute | fancyimpute-master/test/test_dictionary_helpers.py | import numpy as np
from fancyimpute.dictionary_helpers import (
dense_matrix_from_pair_dictionary,
dense_matrix_from_nested_dictionary,
reverse_lookup_from_nested_dict,
transpose_nested_dictionary,
)
from nose.tools import eq_
def test_dense_matrix_from_nested_dictionary():
d = {
"a": {"b... | 2,618 | 25.454545 | 81 | py |
fancyimpute | fancyimpute-master/test/test_iterative_svd.py | from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
from fancyimpute import IterativeSVD
def test_iterative_svd_with_low_rank_random_matrix():
solver = IterativeSVD(rank=3)
XY_completed = solver.fit_transform(XY_incomplete)
_, missing_mae = reconstruction_erro... | 537 | 28.888889 | 57 | py |
fancyimpute | fancyimpute-master/test/test_knn.py | import numpy as np
from nose.tools import eq_
from fancyimpute.knn import KNN
from low_rank_data import XY, XY_incomplete, missing_mask
def test_knn():
# get a baseline error from just zero-filling the missing entries
sad_zero_fill = np.sum(np.abs(XY[missing_mask]))
mad_zero_fill = sad_zero_fill / missi... | 1,035 | 34.724138 | 86 | py |
fancyimpute | fancyimpute-master/test/test_matrix_factorization.py | from fancyimpute import MatrixFactorization
from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
def test_matrix_factorization_with_low_rank_random_matrix():
solver = MatrixFactorization(learning_rate=0.02, rank=5)
XY_completed = solver.fit_transform(XY_incomplete... | 561 | 34.125 | 101 | py |
fancyimpute | fancyimpute-master/test/test_nuclear_norm_minimization.py | from fancyimpute import NuclearNormMinimization
import numpy as np
from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
def create_rank1_data(symmetric=False):
"""
Returns 5x5 rank1 matrix with missing element at index (1, 2)
"""
x = np.array([1, 2, 3, 4, ... | 1,997 | 32.3 | 71 | py |
fancyimpute | fancyimpute-master/test/test_similarity_weighted_averaging.py | import numpy as np
from nose.tools import eq_
from fancyimpute import SimilarityWeightedAveraging
def test_similarity_weighted_column_averaging():
X = np.array([
[0.1, 0.9, 0.2],
[0.8, 0.1, 0.01],
[0.95, 0.2, 0.3],
[0.14, 0.85, 0.3],
])
X_incomplete = X.copy()
X_incomp... | 821 | 26.4 | 74 | py |
fancyimpute | fancyimpute-master/test/test_soft_impute.py | from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
from fancyimpute import SoftImpute
def test_soft_impute_with_low_rank_random_matrix():
solver = SoftImpute()
XY_completed = solver.fit_transform(XY_incomplete)
_, missing_mae = reconstruction_error(
X... | 521 | 28 | 57 | py |
fancyimpute | fancyimpute-master/test/test_solver.py | from fancyimpute import Solver, SimpleFill
from low_rank_data import XY, XY_incomplete, missing_mask
from common import reconstruction_error
import numpy as np
import warnings
def test_prepare_input_data():
_solver = Solver()
print(_solver) # for improved coverage
# test that a complete matrix returns a... | 1,479 | 36 | 126 | py |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/README.md | # TMC13
## Building
### OSX
- mkdir build
- cd build
- cmake .. -G Xcode
- open the generated xcode project and build it
### Linux
- mkdir build
- cd build
- cmake ..
- make
### Windows
- md build
- cd build
- cmake .. -G "Visual Studio 15 2017 Win64"
- open the generated visual studio solution and build it
## ... | 2,399 | 31.432432 | 103 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/README.tools.md | ply-merge: A tool to merge/split ply frames
===========================================
The ply-merge tool combines point clouds from multiple ply files into a
single output with an extra per-attribute frameindex property that
identifies which input frame each point belongs to. The tool is also
able to reverse the pr... | 3,704 | 28.64 | 74 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/README.md |
# How to generate the per-data point config files
Run the `../scripts/gen-cfg.sh` from within the cfg directory:
```
$ ../scripts/gen-cfg.sh [--octree|--trisoup] [--raht|--pred-lift]
```
| 191 | 20.333333 | 66 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/cfg-predgeom.yaml | ---
# the following flags are common to all predgeom configurations
# NB: these are applied after the category config
encflags:
# Some sequences input order is not characteristic of a real
# system. This will make it so.
- sortInputByAzimuth: '$eval{ ${needs_azimuth_presort} || 0 }'
# use predictive geometry, def... | 2,742 | 32.048193 | 79 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-liftt-ctc-lossless-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C1 using TMC13 octree
# octree lossless-geom -- lossy-attrs liftt
---
categories:
lossless-geom-lossy-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- outputUnitLength... | 5,647 | 26.686275 | 78 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-liftt-ctc-lossy-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C2 using TMC13 octree
# octree lossy-geom -- lossy-attrs liftt
---
categories:
lossy-geom-lossy-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- outputUnitLength: '${s... | 7,122 | 34.437811 | 282 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-predt-ctc-lossless-geom-lossless-attrs.yaml | # Test conditions for N17995 CTC CW using TMC13 octree
# octree lossless-geom -- lossless-attrs predt
---
categories:
lossless-geom-lossless-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- outputUnit... | 4,934 | 27.039773 | 75 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-predt-ctc-lossless-geom-nearlossless-attrs.yaml | # Test conditions for N17995 CTC CY using TMC13 octree
# octree lossless-geom -- nearlossless-attrs predt
---
categories:
lossless-geom-nearlossless-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- ou... | 4,995 | 25.860215 | 71 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-raht-ctc-lossless-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C1 using TMC13 octree
# octree lossless-geom -- lossy-attrs raht
---
categories:
lossless-geom-lossy-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- outputUnitLength:... | 4,384 | 24.794118 | 69 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/octree-raht-ctc-lossy-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C1 using TMC13 octree
# octree lossy-geom -- lossy-attrs raht
---
categories:
lossy-geom-lossy-attrs:
encflags:
- mode: 0
-
- !conditional '${src-unit-metres}'
- srcUnit: metre
- srcUnitLength: '${src-unit-metres}'
- outputUnitLength: '${sr... | 5,747 | 33.626506 | 282 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/sequences-cat1.yaml | # Common configuration parameters according to N17995 CTC.
---
sequences:
arco_valentino_dense_vox12:
src: Arco_Valentino_Dense_vox12.ply
group: cat1-B
src-geometry-precision: 12
has_colour: 1
bitdepth_colour: 8
pcerrorflags:
- resolution: 4095
arco_valentino_dense_vox20:
src: Arco... | 9,815 | 20.716814 | 58 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/sequences-cat2.yaml | # Common configuration parameters according to N17523 CTC.
---
sequences:
8ivfbv2_longdress_vox10:
src-dir: 8iVFBv2/longdress/Ply
src: longdress_vox10_{1051..1350}.ply
norm-dir: longdress_n
norm: longdress_vox10_{1051..1350}_n.ply
#src: longdress_vox10_%04d.ply
#norm: longdress_vox10_%04d_n.pl... | 2,774 | 23.557522 | 58 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/sequences-cat3.yaml | # Common configuration parameters according to N17523 CTC.
---
sequences:
# fused scene (with RGB + Reflectance)
citytunnel_q1mm:
src: citytunnel_q1mm.ply
group: cat3-fused
# precision is actually (21, 20, 16)
src-geometry-precision: 21
src-unit-metres: 0.001
seq_lod: 10
seq_lod_bias: '1... | 13,758 | 38.088068 | 77 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/trisoup-liftt-ctc-lossy-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C2 using TMC13 trisoup
# trisoup lossy-geom -- lossy-attrs liftt
# -- cat 1 only, since trisoup doesn't apply to very sparce clouds
---
categories:
lossy-geom-lossy-attrs:
encflags:
- mode: 0
##
# geometry parameters (trisoup)
- neighbourAvailBoundaryLog2: ... | 4,283 | 39.037383 | 101 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/cfg/trisoup-raht-ctc-lossy-geom-lossy-attrs.yaml | # Test conditions for N17995 CTC C2 using TMC13 trisoup
# trisoup lossy-geom -- lossy-attrs raht
# -- cat 1 only, since trisoup doesn't apply to very sparce clouds
---
categories:
lossy-geom-lossy-attrs:
encflags:
- mode: 0
##
# geometry parameters (trisoup)
- neighbourAvailBoundaryLog2: 8... | 4,023 | 39.24 | 101 | yaml |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/nanoflann/KDTreeVectorOfVectorsAdaptor.h | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2011-16 Jose Luis Blanco (joseluisblancoc@gmail.com).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted pro... | 6,011 | 45.604651 | 100 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/nanoflann/nanoflann.hpp | /***********************************************************************
* Software License Agreement (BSD License)
*
* Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved.
* Copyright 2008-2009 David G. Lowe (lowe@cs.ubc.ca). All rights reserved.
* Copyright 2011-2016 Jose Luis Blanco (jos... | 76,763 | 38.366154 | 226 | hpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/program-options-lite/program_options_lite.cpp | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2017, ITU/ISO/IEC
* All rights reserve... | 20,109 | 29.059791 | 111 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/program-options-lite/program_options_lite.h | /* The copyright in this software is being made available under the BSD
* License, included below. This software may be subject to other third party
* and contributor rights, including patent rights, and no such rights are
* granted under this license.
*
* Copyright (c) 2010-2017, ITU/ISO/IEC
* All rights reserve... | 13,408 | 28.797778 | 142 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/schroedinger/schroarith.c |
#include <string.h>
#define SCHRO_ARITH_DEFINE_INLINE
#define TRUE 1
#define FALSE 0
#include "schroarith.h"
static const uint16_t lut[256] = {
//LUT corresponds to window = 16 @ p0=0.5 & 256 @ p=1.0
0, 2, 5, 8, 11, 15, 20, 24,
29, 35, 41, 47, 53, 60, 67, 74,
82, 89, ... | 8,374 | 34.944206 | 86 | c |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/dependencies/schroedinger/schroarith.h |
#ifndef _SCHRO_ARITH_H_
#define _SCHRO_ARITH_H_
#define SCHRO_INTERNAL
#include <stdint.h>
#if __cplusplus
extern "C" {
#endif
typedef uint8_t (*SchroRdFn)(void *);
typedef void (*SchroWrFn)(uint8_t byte, void *);
typedef struct _SchroArith SchroArith;
struct _SchroArith {
SchroRdFn read;
SchroWrFn write;
... | 4,857 | 23.169154 | 83 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/doc/README.about.md | General Information
===================
Reference software is being made available to provide a reference
implementation of the G-PCC standard being developed by MPEG (ISO/IEC SC29
WG11). One of the main goals of the reference software is to provide a
basis upon which to conduct experiments in order to determine whic... | 1,117 | 43.72 | 74 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/doc/README.build.md | Obtaining the software
======================
The authoritative location of the software is the following git
repository:
<http://mpegx.int-evry.fr/software/MPEG/PCC/TM/mpeg-pcc-tmc13>
Each released version may be identified by a version control system tag in
the form `release-v${version}`.
An example:
```consol... | 1,349 | 21.131148 | 77 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/doc/README.options.md | General options
---------------
### `--help`
Print a list of available command line (and configuration file) options
along with their default values and exit.
### `--config=FILE`, `-c`
This specifies a configuration file to be immediately loaded.
### `--mode=VALUE`
This option selects the codec's mode of operation. ... | 35,671 | 38.243124 | 79 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/doc/README.usage.md | Using the codec
===============
```
./tmc3 [--help] [-c config.cfg] [--parameter=value]
```
The encoder takes as input one or more PLY files describing a point
cloud sequence with integer positions and, optionally, per-point integer
colour and reflectance attributes.
The output of the encoder is a binary bitstream e... | 1,153 | 37.466667 | 74 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/collect-tmc13.pl | #!/usr/bin/env perl
#
# This is an example to illustrate how to use the log parser. This
# tool is compatible with the experiment structure in Makefile.tmc13-step.
#
# Usage:
# collect-tmc13.pl <condition> <sequence> <variant> <base_path> <src_ply>
#
# Where:
# <condition> is a CTC test condition name
# <sequenc... | 1,337 | 22.473684 | 75 | pl |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/gen-cfg.md |
Format and processing of cfg/*.yaml by `gen-cfg.pl`
===================================================
All YAML config spec files are merged together (see merging rules) prior to
processing. This has an important side-effect that two configuration
categories with the same name will be merged together rather than be... | 5,123 | 32.058065 | 75 | md |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/gen-cfg.pl | #!/usr/bin/env perl
use 5.022;
use Digest::MD5;
use File::Path qw(make_path);
use File::Basename qw(basename);
use Getopt::Long;
use List::Util qw{pairmap};
use List::MoreUtils qw{firstres};
use Module::Load::Conditional qw(can_load);
use Pod::Usage;
use YAML '0.50';
use strict;
=head1 NAME
gen-cfg.pl - Generate exp... | 13,526 | 23.416968 | 93 | pl |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/gen-cfg.sh | #!/bin/bash
#
# Generate a configuration tree in $PWD from YAML files in the same
# directory.
set -e
shopt -s nullglob
script_dir="$(dirname $0)"
geom="octree"
attr="predlift"
src_cfg_dir=""
while (( $# )); do
case $1 in
--octree) geom="octree" ;;
--predgeom) geom="predgeom" ;;
--trisoup) geom="trisoup" ;;
--r... | 2,311 | 20.811321 | 75 | sh |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/CSV.pm | package MPEG::PCC::CSV;
use strict;
use Text::CSV;
use Exporter qw(import);
our @EXPORT = qw(
LoadFile
);
sub LoadFile {
my ($name) = @_;
my $fh;
if (ref $name eq 'GLOB') {
$fh = $name;
} else {
open $fh, "<:encoding(utf8)", $name or die "$name: $!";
}
# drop any comment lines at the start
my $comment... | 1,091 | 18.854545 | 65 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Collate.pm | package MPEG::PCC::Collate;
use utf8;
use strict;
use warnings;
use MPEG::PCC::Util qw{uniq};
use List::Util qw{min max pairmap pairgrep};
use Scalar::Util qw{looks_like_number};
use Exporter qw(import);
our @EXPORT = qw(
accumulateResult summariseResult
);
our @out_order_cols = qw{
config sequence variant framenum... | 3,962 | 24.242038 | 71 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Util.pm | package MPEG::PCC::Util;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT_OK = qw(uniq);
##
# From List::MoreUtils::uniq, licensed as follows:
# > This library is free software; you can redistribute it and/or modify
# > it under the same terms as Perl itself, either Perl version 5.8.4
# > or, at your op... | 512 | 21.304348 | 72 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/PcError.pm | package MPEG::PCC::Parse::PcError;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT = qw(readDistortion);
##
# mapping table for readDistortion
our %readDistortion_key2key = (
'h. (p2point)' => 'd1-hmse', # hausdorff error
'h.,PSNR (p2point)' => 'd1-hpsnr', # hausdorff error
'h. (p2p... | 1,822 | 24.676056 | 60 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/Ply.pm | package MPEG::PCC::Parse::Ply;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT = qw(readPly);
##
# cache of ply data to reduce number of lookups
our %ply_cache;
##
# parse ply file for interesting parameters
sub readPly {
my ($file) = @_;
our %ply_cache;
return $ply_cache{$file} if exists $ply_cac... | 644 | 15.538462 | 58 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/Time.pm | package MPEG::PCC::Parse::Time;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT = qw(readTime);
##
# parse output of /bin/time.
# returns (user_time, maxrss)
sub readTime {
my ($file) = @_;
open my $fh, '<', $file
or return ('?');
chomp (my $line = <$fh>);
my $utime;
my $maxrssk;
foreach (spl... | 479 | 15.551724 | 52 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/Tmc3.pm | package MPEG::PCC::Parse::Tmc3;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT = qw(readEncLog readDecLog);
##
# parse output of encoder log
sub readEncLog {
my ($file) = @_;
open my $fh, '<', $file
or return {};
my %result;
while (<$fh>) {
chomp;
if (m{^(positions|colors|reflectances|\w+)... | 1,309 | 15.794872 | 104 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/Utils.pm | package MPEG::PCC::Parse::Utils;
use strict;
use warnings;
use Exporter qw(import);
our @EXPORT = qw(readFileFirstLine);
##
# cat the first line of a file.
sub readFileFirstLine {
my ($file) = @_;
open my $fh, '<', $file
or return ();
chomp (my $line = <$fh>);
return $line;
}
1;
| 290 | 13.55 | 36 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/scripts/MPEG/PCC/Parse/Experiment/Df.pm | package MPEG::PCC::Parse::Experiment::Df;
use strict;
use warnings;
use MPEG::PCC::Parse::Tmc3;
use MPEG::PCC::Parse::Time;
use MPEG::PCC::Parse::Utils;
use MPEG::PCC::Parse::Ply;
use MPEG::PCC::Parse::PcError;
use Exporter qw(import);
our @EXPORT = qw(
readTmc3Results readTmc3ResultsOneFrame readTmc3ResultsOneBin
)... | 2,460 | 23.366337 | 73 | pm |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/Attribute.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2019, ISO/IEC
* All rights reserved.
... | 3,945 | 33.313043 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeCommon.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2019, ISO/IEC
* All rights reserved.
... | 6,511 | 31.39801 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeCommon.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2019, ISO/IEC
* All rights reserved.
... | 3,993 | 32.847458 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeDecoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 24,671 | 29.801498 | 79 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeDecoder.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 4,638 | 31.900709 | 79 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeEncoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 49,585 | 30.806286 | 79 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/AttributeEncoder.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 6,011 | 31.852459 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/BitReader.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 5,145 | 22.934884 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/BitWriter.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 5,981 | 25.469027 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/DualLutCoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 11,385 | 27.253102 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/DualLutCoder.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 7,234 | 31.59009 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/FixedPoint.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2019, ISO/IEC
* All rights reserved.
*
*... | 2,559 | 38.384615 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/FixedPoint.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2019, ISO/IEC
* All rights reserved.
*
*... | 4,047 | 30.874016 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/OctreeNeighMap.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 8,738 | 33.270588 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/OctreeNeighMap.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 7,339 | 30.502146 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCMath.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 22,361 | 25.653159 | 79 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCMisc.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 10,262 | 26.368 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCPointSet.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 16,227 | 25.956811 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCTMC3Common.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 46,748 | 31.737395 | 79 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCTMC3Decoder.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 6,013 | 32.977401 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PCCTMC3Encoder.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 7,766 | 30.445344 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/PayloadBuffer.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,267 | 37.440678 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/RAHT.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 33,545 | 30.43955 | 98 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/RAHT.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,558 | 35.557143 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/TMC3.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 66,350 | 31.382138 | 80 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/TMC3.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,224 | 39.454545 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/attribute_raw.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2021, ISO/IEC
* All rights reserved.
*
*... | 2,685 | 35.794521 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/attribute_raw_decoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2021, ISO/IEC
* All rights reserved.
*
*... | 3,454 | 36.150538 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/attribute_raw_encoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2021, ISO/IEC
* All rights reserved.
*
*... | 3,132 | 36.297619 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/colourspace.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 4,166 | 31.302326 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/constants.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,257 | 42.423077 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/coordinate_conversion.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2020, ISO/IEC
* All rights reserved.
*
*... | 3,917 | 30.853659 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/coordinate_conversion.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2020, ISO/IEC
* All rights reserved.
*
*... | 2,754 | 40.119403 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/decoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 20,173 | 32.018003 | 79 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/encoder.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 37,287 | 35.6647 | 79 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/entropy.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,072 | 45.066667 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/entropychunk.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 14,508 | 29.164241 | 79 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/entropydirac.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 3,026 | 34.611765 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/entropydirac.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 10,757 | 29.304225 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/entropyutils.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 7,386 | 29.651452 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/frame.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2021, ISO/IEC
* All rights reserved.
... | 3,842 | 37.049505 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/frame.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2021, ISO/IEC
* All rights reserved.
... | 3,800 | 37.01 | 79 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/framectr.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2021, ISO/IEC
* All rights reserved.
*
*... | 3,146 | 38.835443 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/geometry.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 4,122 | 33.940678 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/geometry_intra_pred.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 4,219 | 34.166667 | 78 | cpp |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/geometry_intra_pred.h | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 2,280 | 39.017544 | 78 | h |
mpeg-pcc-tmc13 | mpeg-pcc-tmc13-master/tmc3/geometry_octree.cpp | /* The copyright in this software is being made available under the BSD
* Licence, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such
* rights are granted under this licence.
*
* Copyright (c) 2017-2018, ISO/IEC
* All rights reserved.
... | 23,050 | 29.612218 | 78 | cpp |