Mercurial > libdvdnav.hg
comparison dvdnav.h @ 123:da88fc974592 src
update some comments
author | mroi |
---|---|
date | Wed, 12 Mar 2003 11:40:10 +0000 |
parents | 4d711d0518e9 |
children | f22458f928b8 |
comparison
equal
deleted
inserted
replaced
122:29b046894eac | 123:da88fc974592 |
---|---|
374 * \param self Pointer to dvdnav_t associated with this operation. | 374 * \param self Pointer to dvdnav_t associated with this operation. |
375 */ | 375 */ |
376 dvdnav_status_t dvdnav_go_up(dvdnav_t *self); | 376 dvdnav_status_t dvdnav_go_up(dvdnav_t *self); |
377 | 377 |
378 /** | 378 /** |
379 * Stop playing the current title and jump to the specified menu. | 379 * Stop playing the current position and jump to the specified menu. |
380 * | 380 * |
381 * \param self Pointer to dvdnav_t associated with this operation. | 381 * \param self Pointer to dvdnav_t associated with this operation. |
382 * \param menu Which menu to call (see DVDMenuID_t). | 382 * \param menu Which menu to call (see DVDMenuID_t). |
383 * | 383 * |
384 * \sa DVDMenuID_t (from <tt>libdvdread</tt>) | 384 * \sa DVDMenuID_t (from <tt>libdvdread</tt>) |
405 * | 405 * |
406 * @{ | 406 * @{ |
407 */ | 407 */ |
408 | 408 |
409 /** | 409 /** |
410 * Stop playing the current title and start playback of the title | 410 * Stop playing the current position and start playback of the title |
411 * from the specified timecode. | 411 * from the specified timecode. |
412 * | 412 * |
413 * \par Note: | 413 * \par Note: |
414 * Currently unimplemented! | 414 * Currently unimplemented! |
415 * | 415 * |
418 */ | 418 */ |
419 dvdnav_status_t dvdnav_time_search(dvdnav_t *self, | 419 dvdnav_status_t dvdnav_time_search(dvdnav_t *self, |
420 unsigned long int time); | 420 unsigned long int time); |
421 | 421 |
422 /** | 422 /** |
423 * Stop playing the current title and start playback of the title | 423 * Stop playing the current position and start playback from the last |
424 * VOBU boundary before the given sector. The sector number is not | |
425 * meant to be an absolute physical DVD sector, but a relative sector | |
426 * in the current program. This function cannot leave the current | |
427 * program and will fail, if asked to do so. | |
428 * | |
424 * from the specified sector offset. | 429 * from the specified sector offset. |
425 * | 430 * |
426 * \param self Pointer to dvdnav_t associated with this operation. | 431 * \param self Pointer to dvdnav_t associated with this operation. |
427 * \param offset Sector offset to start from. | 432 * \param offset Sector offset to start from. |
428 * \param origin Start from here, start or end. | 433 * \param origin Start from here, start or end. |
429 */ | 434 */ |
430 dvdnav_status_t dvdnav_sector_search(dvdnav_t *self, | 435 dvdnav_status_t dvdnav_sector_search(dvdnav_t *self, |
431 unsigned long int offset, int origin); | 436 unsigned long int offset, int origin); |
432 | 437 |
433 /** | 438 /** |
434 * Stop playing the current title and start playback of the title | 439 * Stop playing the current position and start playback of the current title |
435 * from the specified part (chapter). | 440 * from the specified part (chapter). |
436 * | 441 * |
437 * \param self Pointer to dvdnav_t associated with this operation. | 442 * \param self Pointer to dvdnav_t associated with this operation. |
438 * \param part 1..999 -- Part to start from. | 443 * \param part 1..999 -- Part to start from. |
439 */ | 444 */ |
440 dvdnav_status_t dvdnav_part_search(dvdnav_t *self, int part); | 445 dvdnav_status_t dvdnav_part_search(dvdnav_t *self, int part); |
441 | 446 |
442 /** | 447 /** |
443 * Stop playing the current title and start playback of the title | 448 * Stop playing the current position and start playback at the |
444 * from the previous program (if it exists). | 449 * previous program (if it exists). |
445 * | 450 * |
446 * \param self Pointer to dvdnav_t associated with this operation. | 451 * \param self Pointer to dvdnav_t associated with this operation. |
447 */ | 452 */ |
448 dvdnav_status_t dvdnav_prev_pg_search(dvdnav_t *self); | 453 dvdnav_status_t dvdnav_prev_pg_search(dvdnav_t *self); |
449 | 454 |
450 /** | 455 /** |
451 * Stop playing the current title and start playback of the title | 456 * Stop playing the current position and start playback at the |
452 * from the first program. | 457 * first program. |
453 * | 458 * |
454 * \param self Pointer to dvdnav_t associated with this operation. | 459 * \param self Pointer to dvdnav_t associated with this operation. |
455 */ | 460 */ |
456 dvdnav_status_t dvdnav_top_pg_search(dvdnav_t *self); | 461 dvdnav_status_t dvdnav_top_pg_search(dvdnav_t *self); |
457 | 462 |
458 /** | 463 /** |
459 * Stop playing the current title and start playback of the title | 464 * Stop playing the current position and start playback at the |
460 * from the next program (if it exists). | 465 * next program (if it exists). |
461 * | 466 * |
462 * \param self Pointer to dvdnav_t associated with this operation. | 467 * \param self Pointer to dvdnav_t associated with this operation. |
463 */ | 468 */ |
464 dvdnav_status_t dvdnav_next_pg_search(dvdnav_t *self); | 469 dvdnav_status_t dvdnav_next_pg_search(dvdnav_t *self); |
465 | 470 |
466 /** | 471 /** |
467 * Return the current position (in blocks) within the current | 472 * Return the current position (in blocks) within the current |
468 * part and the length (in blocks) of said part. | 473 * program and the length (in blocks) of current program. |
469 * | 474 * |
470 * \param self Pointer to dvdnav_t associated with this operation. | 475 * \param self Pointer to dvdnav_t associated with this operation. |
471 * \param pos Pointer to unsigned int to get the current position. | 476 * \param pos Pointer to unsigned int to get the current position. |
472 * \param len Pointer to unsinged int to hold the length of the current part. | 477 * \param len Pointer to unsinged int to hold the length of the current program. |
473 */ | 478 */ |
474 dvdnav_status_t dvdnav_get_position(dvdnav_t *self, unsigned int *pos, | 479 dvdnav_status_t dvdnav_get_position(dvdnav_t *self, unsigned int *pos, |
475 unsigned int *len); | 480 unsigned int *len); |
476 | 481 |
477 /** | 482 /** |
478 * Return the current position (in blocks) within the current | 483 * Return the current position (in blocks) within the current |
479 * title and the length (in blocks) of said title. | 484 * title and the length (in blocks) of said title. |
480 * | 485 * |
486 * \par Note: | |
487 * Current implementation is wrong and likely to behave unpredictably. | |
488 * Use is discouraged. | |
489 * | |
481 * \param self Pointer to dvdnav_t associated with this operation. | 490 * \param self Pointer to dvdnav_t associated with this operation. |
482 * \param pos Pointer to unsigned int to get the current position. | 491 * \param pos Pointer to unsigned int to get the current position. |
483 * \param len Pointer to unsinged int to hold the length of the current title. | 492 * \param len Pointer to unsinged int to hold the length of the current title. |
484 */ | 493 */ |
485 dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *self, | 494 dvdnav_status_t dvdnav_get_position_in_title(dvdnav_t *self, |