Home
last modified time | relevance | path

Searched refs:mEncodeHandle (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/module/codecs/m4v_h263/enc/test/
DMpeg4H263EncoderTest.cpp49 mEncodeHandle(nullptr), in Mpeg4H263EncoderTest()
61 if(mEncodeHandle) free(mEncodeHandle); in ~Mpeg4H263EncoderTest()
86 mEncodeHandle = new VideoEncOptions; in SetUp()
87 ASSERT_NE(mEncodeHandle, nullptr) << "Failed to get Video Encoding options object"; in SetUp()
88 memset(mEncodeHandle, 0, sizeof(VideoEncOptions)); in SetUp()
105 VideoEncOptions *mEncodeHandle; member in Mpeg4H263EncoderTest
110 bool status = PVGetDefaultEncOption(mEncodeHandle, 0); in initEncoderParams()
113 mEncodeHandle->rcType = VBR_1; in initEncoderParams()
114 mEncodeHandle->vbvDelay = 5.0f; in initEncoderParams()
115 mEncodeHandle->profile_level = CORE_PROFILE_LEVEL2; in initEncoderParams()
[all …]
/frameworks/av/media/module/codecs/m4v_h263/fuzzer/
Dmpeg4_h263_enc_fuzzer.cpp74 VideoEncOptions *mEncodeHandle = nullptr; member in Codec
79 mEncodeHandle = new VideoEncOptions; in initEncoder()
80 if (!mEncodeHandle) { in initEncoder()
83 memset(mEncodeHandle, 0, sizeof(VideoEncOptions)); in initEncoder()
89 PVGetDefaultEncOption(mEncodeHandle, 0); in initEncoder()
99 mEncodeHandle->rcType = krcType[data[IDX_RC_TYPE] % krcTypeNum]; in initEncoder()
100 mEncodeHandle->profile_level = CORE_PROFILE_LEVEL2; in initEncoder()
101 mEncodeHandle->packetSize = data[IDX_PACKET_SIZE]; in initEncoder()
102 mEncodeHandle->iQuant[0] = (data[IDX_I_FRAME_QP] % kMaxQP) + 1; in initEncoder()
103 mEncodeHandle->pQuant[0] = (data[IDX_P_FRAME_QP] % kMaxQP) + 1; in initEncoder()
[all …]