Lines Matching refs:jint
47 static jint
51 return (jint) sProfiles->getOutputFileFormats().size();
54 static jint
55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index)
64 return static_cast<jint>(formats[index]);
67 static jint
75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index)
118 static jint
122 return (jint) sProfiles->getAudioEncoders().size();
126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index)
175 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality)
224 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality)
235 static jint
239 return (jint) sProfiles->getVideoDecoders().size();
242 static jint
243 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jint index)
253 return static_cast<jint>(decoders[index]);
256 static jint
260 return (jint) sProfiles->getAudioDecoders().size();
263 static jint
264 android_media_MediaProfiles_native_get_audio_decoder_type(JNIEnv *env, jobject thiz, jint index)
274 return static_cast<jint>(decoders[index]);
277 static jint
278 android_media_MediaProfiles_native_get_num_image_encoding_quality_levels(JNIEnv *env, jobject thiz, jint cameraId)
281 return (jint) sProfiles->getImageEncodingQualityLevels(cameraId).size();
284 static jint
285 android_media_MediaProfiles_native_get_image_encoding_quality_level(JNIEnv *env, jobject thiz, jint cameraId, jint index)
289 if (index < 0 || index >= (jint) levels.size()) {
293 return static_cast<jint>(levels[index]);