Home
Sort by
last modified time
|
relevance
|
path
Repository(s)
applications
arkcompiler
base
build
commonlibrary
developtools
device
docs
domains
drivers
foundation
ide
interface
kernel
napi_generator
productdefine
test
third_party
vendor
select all
invert selection
clear
Full Search
Search through all text tokens(words,strings,identifiers,numbers) in index.
Definition
Only finds symbol definitions(where e.g a variable(function,...) is defined).
Symbol
Only finds symbol(e.g. methods classes,function,variables).
File Path
Path of the source file(use "/").If you want just exact path,enclose it in "".Source files end with: .jar/.bz2/.a/.h/.java...
History
History log comments.
Type
Any
Bzip(2)
C
Clojure
C#
C++
ELF
Erlang
Image file
Fortran
Golang
GZIP
Haskell
Jar
Java
Java class
JavaScript
Lisp
Lua
Pascal
Perl
PHP
Plain Text
PL/SQL
Python
Rust
Scala
Shell script
SQL
Tar
Tcl
Troff
UUEncoded
Visual Basic
XML
Zip
Type of analyzer used to filter file types include with selected(e.g. just C sources).
Help
Searched
refs:imageFile
(Results
1 - 2
of
2
) sorted by relevance
/drivers/peripheral/codec/test/demo/heif/src/
H
A
D
buffer_helper.cpp
108
uint32_t BufferHelper::GetPixelFmtFromFileSuffix(const string&
imageFile
)
in GetPixelFmtFromFileSuffix()
argument
110
if (
imageFile
.rfind(".rgba") != string::npos) {
in GetPixelFmtFromFileSuffix()
113
if (
imageFile
.rfind(".nv21") != string::npos) {
in GetPixelFmtFromFileSuffix()
119
sptr<NativeBuffer> BufferHelper::CreateImgBuffer(const string&
imageFile
)
in CreateImgBuffer()
argument
121
IF_TRUE_RETURN_VAL(
imageFile
.length() <= 0, nullptr);
in CreateImgBuffer()
122
ifstream ifs(
imageFile
, ios::binary);
in CreateImgBuffer()
123
IF_TRUE_RETURN_VAL_WITH_MSG(!ifs.is_open(), nullptr, "cannot open %{public}s",
imageFile
.c_str());
in CreateImgBuffer()
125
IF_TRUE_RETURN_VAL_WITH_MSG(!ExtractPixelInfoFromFilePath(
imageFile
, pixelInfo), nullptr,
in CreateImgBuffer()
126
"invalid file path format: %{public}s",
imageFile
.c_str());
in CreateImgBuffer()
130
pixelInfo.pixFmt = GetPixelFmtFromFileSuffix(
imageFile
);
in CreateImgBuffer()
[all...]
/drivers/peripheral/codec/test/demo/heif/include/
H
A
D
buffer_helper.h
35
OHOS::sptr<OHOS::HDI::Base::NativeBuffer> CreateImgBuffer(const std::string&
imageFile
);
50
static uint32_t GetPixelFmtFromFileSuffix(const std::string&
imageFile
);
Completed in 2 milliseconds