Home
last modified time | relevance | path

Searched refs:pushResult (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/
H A Dvideoenc_ndk_sample.cpp684 int32_t VEncNdkSample::CheckResult(bool isRandomEosSuccess, int32_t pushResult) in CheckResult() argument
687 if (pushResult == 0) { in CheckResult()
689 cout << "push input after eos should be failed! pushResult:" << pushResult << endl; in CheckResult()
692 } else if (pushResult != 0) { in CheckResult()
694 cout << "push input data failed, error:" << pushResult << endl; in CheckResult()
708 int32_t pushResult = 0; in InputDataNormal() local
709 int32_t ret = PushData(buffer, index, pushResult); in InputDataNormal()
716 if (CheckResult(isRandomEosSuccess, pushResult) == -1) { in InputDataNormal()
H A Dvideoenc_api11_sample.cpp974 int32_t VEncAPI11Sample::CheckResult(bool isRandomEosSuccess, int32_t pushResult) in CheckResult() argument
977 if (pushResult == 0) { in CheckResult()
979 cout << "push input after eos should be failed! pushResult:" << pushResult << endl; in CheckResult()
982 } else if (pushResult != 0) { in CheckResult()
984 cout << "push input data failed, error:" << pushResult << endl; in CheckResult()
1016 int32_t pushResult = 0; in InputFunc() local
1017 int32_t ret = PushData(buffer, index, pushResult); in InputFunc()
1023 if (CheckResult(isRandomEosSuccess, pushResult) == -1) { in InputFunc()
/ohos5.0/foundation/multimedia/av_codec/test/fuzztest/encoderconfigure_fuzzer/
H A Dvideoenc_sample.cpp386 int32_t VEncFuzzSample::CheckResult(bool isRandomEosSuccess, int32_t pushResult) in CheckResult() argument
389 if (pushResult == 0) { in CheckResult()
391 cout << "push input after eos should be failed! pushResult:" << pushResult << endl; in CheckResult()
394 } else if (pushResult != 0) { in CheckResult()
396 cout << "push input data failed, error:" << pushResult << endl; in CheckResult()
H A Dvideoenc_sample.h89 int32_t CheckResult(bool isRandomEosSuccess, int32_t pushResult);
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/src/InnerAPI/
H A Dvideoenc_ndk_inner_sample.cpp502 int32_t VEncNdkInnerSample::CheckResult(bool isRandomEosSuccess, int32_t pushResult) in CheckResult() argument
505 if (pushResult == 0) { in CheckResult()
507 cout << "push input after eos should be failed! pushResult:" << pushResult << endl; in CheckResult()
510 } else if (pushResult != 0) { in CheckResult()
512 cout << "push input data failed, error:" << pushResult << endl; in CheckResult()
947 int32_t pushResult = 0; in InputFunc() local
948 int32_t ret = PushData(buffer, index, pushResult); in InputFunc()
955 if (CheckResult(isRandomEosSuccess, pushResult) == -1) { in InputFunc()
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/vcodec/encoder/include/
H A Dvideoenc_sample.h101 int32_t CheckResult(bool isRandomEosSuccess, int32_t pushResult);
H A Dvideoenc_api11_sample.h122 int32_t CheckResult(bool isRandomEosSuccess, int32_t pushResult);
H A Dvideoenc_inner_sample.h122 int32_t CheckResult(bool isRandomEosSuccess, int32_t pushResult);