Home
last modified time | relevance | path

Searched refs:WPDNode (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
Dwpd_node.cc23 WPDNode::WPDNode(size_t length, in WPDNode() function in webrtc::WPDNode
37 WPDNode::~WPDNode() {} in ~WPDNode()
39 int WPDNode::Update(const float* parent_data, size_t parent_data_length) { in Update()
63 int WPDNode::set_data(const float* new_data, size_t length) { in set_data()
Dwpd_tree.cc35 nodes_.reset(new rtc::scoped_ptr<WPDNode>[num_nodes_ + 1]); in WPDTree()
39 nodes_[1].reset(new WPDNode(data_length, &kRootCoefficient, 1)); in WPDTree()
56 nodes_[index_left_child].reset(new WPDNode(nodes_[index]->length() / 2, in WPDTree()
59 nodes_[index_right_child].reset(new WPDNode(nodes_[index]->length() / 2, in WPDTree()
68 WPDNode* WPDTree::NodeAt(int level, int index) { in NodeAt()
Dwpd_node_unittest.cc32 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
41 WPDNode node(kDataLength, &kIndentyCoefficient, 1); in TEST()
49 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
59 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST()
Dwpd_node.h22 class WPDNode {
26 WPDNode(size_t length, const float* coefficients, size_t coefficients_length);
27 ~WPDNode();
Dwpd_tree.h65 WPDNode* NodeAt(int level, int index);
86 rtc::scoped_ptr<rtc::scoped_ptr<WPDNode>[]> nodes_;
Dtransient_detector.cc84 WPDNode* leaf = wpd_tree_->NodeAt(kLevels, i); in Detect()